It will be neat, if somebody can modify attachement module so, that it become possible to add just url to the existing files on drupal installation server (possibly any other place link? external?)

It is important because large files is hard to upload by HTTP. Http upload do not display progress bar, can easily break, and cannot be resumed.

CommentFileSizeAuthor
#4 ftp-upload.patch6.03 KBdirkgently

Comments

Julien PHAM’s picture

Yes I think it would be fine to add this feature...

Anonymous’s picture

Just wondering if this feature was ever added?

Thanks,
txcrew

dman’s picture

it was hard to work around the built-in file management routines, but I ended up trying it myself
http://coders.co.nz/drupal_development/?q=node/544

.dan.

dirkgently’s picture

StatusFileSize
new6.03 KB

I have been looking at this scenario for a client who needs to be able to upload large files to a Drupal site on a shared server (no possibility of altering post_max_size and upload_max_filesize).

My idea is to specify an FTP 'drop box' to upload files into which can then be added as attachments.
At the minute I've got a proof of concept going (see attached patch file). I've added another section to the attachment admin settings form to enable the patch and set the drop box path, and modified the upload form to allow local file additions if the patch is enabled.

Please bear in mind that this is my first Drupal site, and my first contribution. The patch will need a little more work to make it user-friendly before it's ready (maybe show drop box files as a dropdown or list, or have a pop-up browser similar to imce), but I thought I'd share it here to see if I'm on the right lines, and if there would be any chance of having this patch accepted when complete.

Any feedback would be appreciated.
Paul.

telcontar’s picture

Status: Active » Needs review

I think a dropdown would be nice. It's rather cumbersome to enter the full path to the file.
I give it a +1, though I haven't really looked at the patch ;-) I think it's a good idea.

deciphered’s picture

Dirk,

Patch worked perfectly, did exactly what you'd expect it to.
As you said some usability features would be nice such as the ability to select the file from a list, but other than that it seems great, I'm surprised it hasn't been committed.