Closed (works as designed)
Project:
FileField Sources
Version:
6.x-1.4
Component:
Source: Attach (FTP)
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2011 at 17:53 UTC
Updated:
26 Mar 2013 at 05:41 UTC
Comments
Comment #1
quicksketchHm, this seems like a possibly good idea but I'm afraid it would lead to confusion when files of the "incorrect" type were uploaded into the attach directory. Say I uploaded an MP3 file into the attach directory, but only AAC files were allowed, I'd be puzzled as to why my file wasn't showing up in the list. As it is now, the MP3 file shows up in the list anyway, and then when you attempt to attach the file, you get an appropriate error telling you what the problem is. I think for the sake of avoiding this confusion, the current behavior will probably stay.
Comment #2
quicksketchComment #3
charos commentedThe only problem is that once the file is attached, if Drupal for any reason does not accept to save the node, the file will be either moved or copied (depends from the options set in content type) without being linked to the node. Especially if you use the move option and Drupal rejects to save the node and you delete the attachment, the file is lost! So in case of permitted file extensions this can cause an issue for the non informed end user. Just my opinion of course.