Is anyone aware of a plugin or modified upload plugin that allows an admin to manualy attach files to a node? As in the file is to large to upload with php, and needs to be uploaded with ftp. I have many files to attach, and dont want to have to manualy add the entries to the database.

I've already started to code the plugin, however I'd like to know if something like this already exists before I dig in to deep!

Thanks!

Comments

francoud’s picture

I've some (large) file, uploaded and attached to a node, and I just want to "move" this attachment to another node, without deleting the attachment from the 1st node and uploading it again attached to the 2nd node. Who can help me doing this - without working directly in the database?

Thaaaaaaaaaaaanks! :-)

ChrisKennedy’s picture

I'd be interested in such a module as well, thanks for taking a look at this problem. You might consider whether the problem would be better addressed by adding this feature to an existing file upload module though (since people already have to download so many modules to get a working drupal installation).

ranavaibhav’s picture

There is one cheat you can play... Here are the steps:

1) Create a bogus file with the exact same name and ext as the large file you have. I.E. file1.flv
2) Create the node and upload the bogus file (which is 0 bytes file)
3) Upload your real file at the same location your node attachments are going. I.E. /files folder. And make sure your override your real file with the bogus one.
4) That is all...

NOTE: During the node creation, new entries for file information will be created in database. It is very important that your keep the bogus file and real files name same. And make sure you override the bogus file with the real one..

Hope this helps! No additional module required...:)

Jackie Rana

Jackie R

francoud’s picture

For a very good advanced management of uploaded files, I'm currently using the WebFM module:

http://drupal.org/project/webfm

I suggest to give it a try :)