Opened 12 months ago

Closed 11 months ago

Last modified 11 months ago

#11769 closed Bug report (rejected)

"Watch locally edited files" feature does not update its link when the remote server is changed

Reported by: Airacobra Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc:
Component version: 3.37.4 Operating system type: Windows
Operating system version: Windows 10 Pro, build 1809

Description

When the Watch locally edited files and prompt to upload modifications feature is turned on, it does not update its links when the remote server is changed. This may lead to overwriting a wrong remote file.

Consider the following scenario:

  1. Connect to server A.
  2. Download file X from server A to a local folder.
  3. Edit the file X (right-click it in the local folder and select Edit).
  4. Do some edits, save the file, close the editor and return to FileZilla.
  5. You are prompted to upload modified file back to remote server A (so far so good).
  6. Select ‘No’ to close the prompt.
  7. Connect to server B.
  8. Download file X from the server B to the same local folder as in step 2.
  9. Open the new file X in your editor.
  10. Do some edits, save the file, close the editor and return to FileZilla.
  11. Now, you are prompted to upload modified file X back to remote server A!

That is wrong because the file was downloaded from server B and should be uploaded there. If you do not read the prompt carefully, you can easily overwrite the file at the wrong remote server. FileZilla should update its internal link when the monitored file is downloaded from a different location.

Change History (2)

comment:1 Changed 11 months ago by Tim Kosse

Resolution: rejected
Status: newclosed

This is intentional.

To edit different local files with the same name, save them in different local directories.

comment:2 Changed 11 months ago by Airacobra

I can't agree. A file should be always uploaded to where it was downloaded from.

Note: See TracTickets for help on using tickets.