Possibility to add files that already exist on server to attachment

Vladekk - March 29, 2006 - 17:14
Project:Attachment
Version:HEAD
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

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.

#1

Julien PHAM - May 30, 2006 - 06:22

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

#2

txcrew - January 11, 2007 - 00:30

Just wondering if this feature was ever added?

Thanks,
txcrew

#3

dman - January 11, 2007 - 00:34

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.

#4

dirkgently - August 27, 2007 - 15:43

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.

AttachmentSize
ftp-upload.patch 6.03 KB

#5

telcontar - September 13, 2007 - 22:01
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.

#6

Deciphered - December 12, 2007 - 03:21

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.

 
 

Drupal is a registered trademark of Dries Buytaert.