#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:
- Connect to server A.
- Download file X from server A to a local folder.
- Edit the file X (right-click it in the local folder and select Edit).
- Do some edits, save the file, close the editor and return to FileZilla.
- You are prompted to upload modified file back to remote server A (so far so good).
- Select ‘No’ to close the prompt.
- Connect to server B.
- Download file X from the server B to the same local folder as in step 2.
- Open the new file X in your editor.
- Do some edits, save the file, close the editor and return to FileZilla.
- 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 by , 6 years ago
Resolution: | → rejected |
---|---|
Status: | new → closed |
comment:2 by , 6 years ago
I can't agree. A file should be always uploaded to where it was downloaded from.
This is intentional.
To edit different local files with the same name, save them in different local directories.