overwrite files

See all posts See thread Reply

Re: overwrite files new!
by colin, 16 years, 10 months ago
Does it have the same behaviour on a second server? It may be a problem of uname.

I tried here to upload one file, and to process it three time, overwriting the first file twice. The only file remaining is the last one, so the overwriting worked both times. See the excerpt of my log:
source is an uploaded file
[...]
- no auto_rename if same filename exists
- destination file details
    file_dst_name         : abcdef1.jpg
    file_dst_pathname     : ./test/abcdef1.jpg
- no overwrite checking
[...]
- no auto_rename if same filename exists
- destination file details
    file_dst_name         : abcdef1.jpg
    file_dst_pathname     : ./test/abcdef1.jpg
- no overwrite checking
[...]
- no auto_rename if same filename exists
- destination file details
    file_dst_name         : abcdef1.jpg
    file_dst_pathname     : ./test/abcdef1.jpg
- no overwrite checking

Is it what you do: upload one image, and overwrite it several times, calling process() several times? Can you paste here your resulting log? Do you have any errors (PHP errors when attempting to overwrite)?Reply