Opened 19 years ago

Last modified 18 years ago

#898 closed Bug report

bad upload of file shorter than previous version

Reported by: koenc Owned by: Alexander Schuch
Priority: normal Component: FileZilla Client
Keywords: Cc: koenc, Alexander Schuch, rovf
Component version: Operating system type:
Operating system version:

Description

Hi there,

not sure this is a filezilla problem but I at least
want to report
it.

FTP client used: Filezilla 2.2.13c (WIN2000)
FTP server used: Serv-U FTP-Server v2.5i for WinSock

When I upload a file I've uploaded before, but that is
shorter than the version already on the server, I've now
2 times encountered that the chunk of text the old
file is larger, just got appended to the new file.

so schematically:

new file: (local)

a
b
c

old file: (remote)
w
x
y
z

results in new file (remote, after upload)
a
b
c
z

I've had 2 occurences of such file during one transfer
(in queue) of multiple files. When I reuploaded the
same/unchanged files (by drag&drop this time) the
problem was gone. PS: during manual upload filezilla
warned me
a file of the same file size was going to be
overwritten....

that's all
Koen.

Change History (4)

comment:1 by rovf, 19 years ago

Happens to me too very often. As I'm using a different FTP
server,
I guess the error is more related to FileZilla.

comment:2 by Alexander Schuch, 18 years ago

Can you please re-try with current FileZilla 2 or FileZilla
3 beta?

comment:3 by Alexander Schuch, 18 years ago

I cannot verify this problem with FileZilla 3 beta. If the
file gets overwritten, the file on the server gets deleted
first and then recreated with the new uploaded content. It
seems as if the FTP servers open the file for writing (the
file pointer stays at the beginning) and then writes all
incoming data into the file and closes it again, as soon as
the transfer connection terminates.

This would explain the observed behaviour. As of my
knowledge, there is no way for a FTP client to force
something like that, so it might be a problem with the FTP
server? Anyway, if you still observe that problem with
current FileZilla 2 or FileZilla 3 beta, please reply.

comment:4 by sf-robot, 18 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.