Return error message for read-only files.
Deciphered - April 20, 2009 - 04:31
| Project: | Imagefield Import |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | wulff |
| Status: | closed |
Jump to:
Description
Hi,
I've been testing this module on a Windows XAMPP environment and had a few files that weren't being moved.
As I wasn't getting any error I wasn't entirely sure why they weren't being moved.
After further examination I discovered that all the files where marked as read-only and once I unset that status they were imported without further issue.
While it's only a minor thing, it probably couldn't hurt to put a check for that and report an error if it is the case.
Cheers,
Deciphered.

#1
This would be fairly easy to implement, and the status of the individual files could be marked on the import form. In addition I'm thinking of adding an admin setting to decide whether the images should be deleted after they have been imported (it would be nice to be able to turn that off while testing).
#2
I have added writable/non-writable labels to the files in the import form.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.