Opened 10 years ago
#9962 new Bug report
"Upload existing files if source is newer or size is different" does not consider deleted directory tree as a change
Reported by: | Ville Mattila | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | FileZilla Client |
Keywords: | Cc: | ||
Component version: | Operating system type: | Windows | |
Operating system version: |
Description
Consider following directory structure (as an example):
Root level
- Directory 1
- Directory 1.1
- Directory 2
- Directory 2.1
- File 2.1.A
- File 2.1.B
- Directory 2.1
Steps to reproduce:
- Connect to the server being locally at "Root level". Switch synchronized browsing on.
- Upload the directory structure to server.
- Browse to Directory 2.1
- Make modifications locally to Files 2.1.A and 2.1.B. Upload them to the server. At this point Filezilla asks what to do with the already existing files: select "replace if source is newer or size is different"
- Go up to "Root level"
- Login to the server via SSH and remove your remote Directory 2.
- Refresh the view in Filezilla. Directory 2 disappears.
- Upload the whole "Directory 2" again via Filezilla.
- Browse to Directory 2.1.
You will see that Files 2.1.A and 2.1.B are not uploaded.
Expected behavior would be that Files are uploaded. This seems to happen because Filezilla does not clear its file/directory information cache for the deleted directory tree (even it notices the change at step 6), thus thinking that Files are not changed -> no need to upload the files.
Directories are created properly, as well as files that were changed between directory removal and re-upload.
Note:
See TracTickets
for help on using tickets.