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

Steps to reproduce:

  1. Connect to the server being locally at "Root level". Switch synchronized browsing on.
  2. Upload the directory structure to server.
  3. Browse to Directory 2.1
  4. 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"
  5. Go up to "Root level"
  6. Login to the server via SSH and remove your remote Directory 2.
  7. Refresh the view in Filezilla. Directory 2 disappears.
  8. Upload the whole "Directory 2" again via Filezilla.
  9. 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.

Change History (0)

Note: See TracTickets for help on using tickets.