Opened 11 years ago

Last modified 5 years ago

#3654 closed Bug report

A file...has been changed: upload? no. still does!

Reported by: agentforte Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc: agentforte, Tim Kosse
Component version: Operating system type:
Operating system version:

Description

I am finding random files in my web directories, and I found a problem.

When I download a file, open it, edit it, and hit "save", the following prompt shows up:

A file previously opened has been changed:
C:\Documents and Settings\FRANKF\My Documents\website\new_site\public_html\style\layoutFluid.css
Upload this file to server?

(There is also a check box for "continue editing" which I leave unchecked)

I will click “no” and the file will uploads anyway to a random directory (not even the one that I originally downloaded the file from)

The last time it happened it was in a folder called "dev" and it uploaded to a subfolder (under dev) called "downloads".
The time before I downloaded and edited a file from "style" and when I clicked "no" it uploaded to "testcart" (both directories on the same level)

I am using FileZilla Version 3.1.0.1 – most recent version at this time.

I am using Microsoft Windows XP Professional
Operating System Version 5.1.2600

This is a bit scarry, because I am not sure if any "index" files or other files that have the same name in different directories might be overwritten when this happens.

Attachments (1)

filezilla_log.txt (8.6 KB) - added by agentforte 11 years ago.
Log of bug in FileZilla - uploads when it shouldn't

Download all attachments as: .zip

Change History (6)

comment:1 Changed 11 years ago by agentforte

Note:
The last time it happened (and it happens to me often) I did the following:
1) download a file
2) change the file with a text editor and hit save. (ctrl+s)
3) click on filezilla window (since I plan to drag the new file back onto the web folder)
4) an "error" sound plays because I just clicked outside the prompt box (it poped up right before I clicked)
5) I click "no", then the file uploads to a random directory (which might be a subdirectory of the original location, or above, or on the same level)

Also, it asks if I want to replace a file if there is a file in the random directory it chooses with the same name.

Changed 11 years ago by agentforte

Attachment: filezilla_log.txt added

Log of bug in FileZilla - uploads when it shouldn't

comment:2 Changed 11 years ago by agentforte

Attached are the logs. Note the following lines:

14:57:51 Trace: CFtpControlSocket::ChangeDirSend()
14:57:51 Command: CWD /public_html/dev/template
14:57:51 Trace: CFtpControlSocket::OnReceive()
14:57:51 Response: 250 OK. Current directory is /public_html/dev/template

hopefully someone can find the bug that allows the program to upload a file to a random directory (in this case "/public_html/dev/template", even though the original file was in "public_html/dev/js"

File Added: filezilla_log.txt

comment:3 Changed 11 years ago by agentforte

to be a bit more specific with number 3 and 4:

3) click on the target file in the folder on my computer in the filezilla window
and about to start dragging it into the folder in the web directory.
4) an "error" sound plays and the prompt box pops up before any dragging occurs.

comment:4 Changed 11 years ago by Tim Kosse

I cannot reproduce this. Can you please describe again more slowly what you were doing? You need to say exactly when and where you click or which keys you press.

You said:

1) download a file
2) change the file with a text editor and hit save. (ctrl+s)

For example you didn't say how you opened the editor. Download the file, edit local file? Choose edit on remote file? Just two of the possibilities.

comment:5 Changed 11 years ago by sf-robot

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

Note: See TracTickets for help on using tickets.