Opened 6 years ago
Closed 6 years ago
#11813 closed Bug report (wontfix)
Wrong path at "File has changed" alert
Reported by: | Ignacio Llorente | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | FileZilla Client |
Keywords: | path File has changed | Cc: | |
Component version: | 3.39.0 | Operating system type: | Windows |
Operating system version: | 10 |
Description
When editing a file by double-clic (using Notepad++), after saving changes and switch to FileZilla, it displays a wrong path and uses that wrong path to upload the file.
e.g.
Local path C:\wamp64\www\cloud\i\bibliotecas\181224\plantillas\tienda\.producto(product-detail).php
Correct remote path:
/var/www/i/bibliotecas/181224/plantillas/tienda/.producto(product-detail).php
Incorrect remote path
/var/www/i/bibliotecas/.producto(product-detail).php
Attachments (4)
Change History (7)
by , 6 years ago
Attachment: | 1_originally_equal.png added |
---|
follow-up: 2 comment:1 by , 6 years ago
Status: | new → moreinfo |
---|
Which remote directory was active when you first double-clicked the file?
comment:2 by , 6 years ago
Status: | moreinfo → new |
---|
Thanks for the hint! These are the steps to reproduce the weird behaviour:
- Open FileZilla
- Note that Synchronized Browsing is off
- JFYI my base local folder is C:\wamp64\www\cloud\ and my base remote folder is /var/www/
- Go to a local folder (e.g. C:\wamp64\www\cloud\i\bibliotecas\181229b\one\)
- Go to a remote folder that is not the Synchronized one (e.g. /var/www/i/bibliotecas/181229b/two)
- Double click at one local file (e.g. C:\wamp64\www\cloud\i\bibliotecas\181229b\one\myfile.txt) it opens Notepad++ editing the file
- At FileZilla go to the remote folder that is the Synchronized one (e.g. /var/www/i/bibliotecas/181229b/one)
- Activate Synchronized Browsing
- At FileZilla go to another folder (e.g. /var/www/i/bibliotecas/181229b/three)
- At Notepad++ modify and save the file (in this example: C:\wamp64\www\cloud\i\bibliotecas\181229b\one\myfile.txt)
- Switch into FileZilla again.
- FileZilla detects the file’s change and suggest an upload… to the remote folder that was active when I start editing the file . In this example: /var/www/i/bibliotecas/181229b/two/myfile.txt
I would prefer this behavior:
a. When synchronized, compute paths using relative path:
When FileZilla detects a "File has changed": If Synchronized Browsing is ON, remote path (of the "File has changed dialog") would be the computed synchronized one . As in this example:
- "File has changed dialog"'s local path is C:\wamp64\www\cloud\i\bibliotecas\181229b\one\myfile.txt
- Present local path is C:\wamp64\www\cloud\i\bibliotecas\181229b\three
- Present remote path is /var/www/i/bibliotecas/181229b/three
- Synchronized Browsing is ON
- So the relative path of the changed file is ../one/myfile.txt
- So ... "File has changed dialog"'s remote path would be /var/www/i/bibliotecas/181229b/three/../one/myfile.txt , so /var/www/i/bibliotecas/181229b/one/myfile.txt would be the remote path I expected.
b. Let FileZilla keep "Synchronized browsing" status on Startup:
Edit > Settings > Interface > on Startup of FileZilla > Restore tabs, restore "Synchronized browsing status" and reconnect
Replying to Tim Kosse:
Which remote directory was active when you first double-clicked the file?
comment:3 by , 6 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Functionality is working as intended.
Original paths