Opened 16 years ago

Last modified 10 years ago

#3358 closed Bug report

Remote-to-Local File Overwrites not Overwriting Correctly

Reported by: thelocust Owned by:
Priority: normal Component: Other
Keywords: Cc: thelocust, Tim Kosse
Component version: Operating system type:
Operating system version:

Description

FZ Forum Post: http://forum.filezilla-project.org/viewtopic.php?f=2&t=5313

Here's the scenario:

  1. File TEST.ASP has 1 paragraph of text in it.
  2. TEST.ASP is uploaded from LOCAL to a REMOTE Windows-based FTP server
  3. TEST.ASP is edited to now have 5 paragraphs of text in it, and it is uploaded to the REMOTE, overwriting.
  4. TEST.ASP is changed remotely down to 1 paragraph (either via the right-click View/Edit functionality or otherwise).

Up to this point, things work fine.

  1. The Remote TEST.ASP is then transferred from REMOTE to LOCAL, and "Overwrite" is chosen.

Keep in mind that the REMOTE is only one paragraph, and the local is 5. This is where things get strange.

The resulting LOCAL file is 5 paragraphs long, but with the content of the 1 paragraph file overwriting from the beginning of the file, like so:

Quote:
REDMOND, WA—In what CEO Bill Gates called "an unfortunate but necessary step to protect our intellectual property from theft and exploitation by competitors," the Microsoft Corporation patented the numbers one and zero Monday.orem tellus, convallis vitae, condimentum sit amet, rhoncus at, leo. Integer a risus et justo fringilla condimentum. Nullam vel nisl. Duis ante nisl, volutpat eu, sagittis nec, hendrerit non, nunc. Integer libero arcu, aliquam ac, viverra at, dignissim et, odio. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean ut massa.

Praesent pulvinar. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nunc vehicula tortor et magna. Vivamus adipiscing accumsan sem. Donec sit amet sem at velit malesuada suscipit. Suspendisse gravida nisl. Nulla velit nulla, ullamcorper non, pulvinar vel, iaculis ac, massa. Pellentesque vitae eros eget lectus vehicula condimentum. Cras luctus. Etiam dapibus, pede eu viverra rutrum, sapien purus varius nibh, at convallis lorem quam ut orci.

So, it would appear to me that files transferred from REMOTE to LOCAL and overwritten are not being deleted and/or "cleared out" before the overwrite happens.

My transfer setting is "Auto", and I've reproduced this on two different Windows FTP servers. I'm currently using FileZIlla 3.0.4.1.

Attachments (4)

thelocust-log.txt (5.0 KB ) - added by thelocust 16 years ago.
Log of transaction of Step 5 from summary
test-1paragraph.txt (225 bytes ) - added by thelocust 16 years ago.
One paragraph file from scenario
test-5paragraphs.txt (2.7 KB ) - added by thelocust 16 years ago.
Five paragraph file from scenario
test-result.txt (2.7 KB ) - added by thelocust 16 years ago.
Resulting file from scenario

Download all attachments as: .zip

Change History (11)

comment:1 by Tim Kosse, 16 years ago

Please attach some logs showing the problematic behaviour.

The logs should be made using debug level 3 which can be enabled
on the debug page in the settings dialog of FileZilla.

The logs have to be complete and unmodified. Do not attempt to
remove or obfuscate any information you might find irrelevant.

If you are worried about posting IP addresses or other
confidential information, mark the tracker item as private.

by thelocust, 16 years ago

Attachment: thelocust-log.txt added

Log of transaction of Step 5 from summary

comment:2 by thelocust, 16 years ago

Log attached
File Added: thelocust-log.txt

by thelocust, 16 years ago

Attachment: test-1paragraph.txt added

One paragraph file from scenario

comment:3 by thelocust, 16 years ago

File Added: test-1paragraph.txt

by thelocust, 16 years ago

Attachment: test-5paragraphs.txt added

Five paragraph file from scenario

comment:4 by thelocust, 16 years ago

File Added: test-5paragraphs.txt

by thelocust, 16 years ago

Attachment: test-result.txt added

Resulting file from scenario

comment:5 by thelocust, 16 years ago

File Added: test-result.txt

comment:6 by Tim Kosse, 16 years ago

Are you using any virus scanners?

What happens if you uninstall it? (Only safe way to fully disable them)

comment:7 by sf-robot, 16 years ago

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.