Latest Beta - Corrupting Files

Locked
vforums
Posts: 2
Joined: Wed Jan 14, 2009 9:50 am

Latest Beta - Corrupting Files

Post by vforums » Wed Jan 14, 2009 10:06 am

Hi,

I'm not sure how best to describe the issues I've been having with smart ftp but they are either numerous or all related to each other (in some way). Here is a recent scenario:

File uploaded with Smart FTP from machine A.
File then editted with Smart FTP using remote edit feature (still on machine A).
File then editted with another FTP program from machine B (this all uploads OK).
File attempted to be edited using Smart FTP from machine A (the same installation which created it). From this stage, one of two things tend to be happening...

1. This is not downloading the latest version from the server, it uses the copy it last editted it itself (so changes made from another machine do not show up). Cache is not enabled and I have tried clearing the cache.

2. The file opens but is corrpupted. This seems to be in the form of two merged files (the old copy it last editted itself and the correct version from the server.


If needed, here is the log from an attempt I just made. It resulted in a file consisting of the old version (the version it originally created) followed by the last 180 lines of the correct version (the version editted by machine .

[10:03:37] SmartFTP v3.0.1025.24
[10:03:38] Resolving host name "94.76.210.238"
[10:03:38] Connecting to 94.76.210.238 Port: 21
[10:03:38] Connected to 94.76.210.238.
[10:03:49] 220 ProFTPD 1.3.0 Server (Debian) [::ffff:94.76.210.238]
[10:03:49] USER ross
[10:03:49] 331 Password required for ross.
[10:03:49] PASS (hidden)
[10:03:49] 230 User ross logged in.
[10:03:49] SYST
[10:03:49] 215 UNIX Type: L8
[10:03:49] Detected Server Type: UNIX
[10:03:49] RTT: 28.550 ms
[10:03:49] FEAT
[10:03:49] 211-Features:
[10:03:49] MDTM
[10:03:49] REST STREAM
[10:03:49] SIZE
[10:03:49] 211 End
[10:03:49] PWD
[10:03:49] 257 "/" is current directory.
[10:03:49] CWD /var/www-home/static-pages
[10:03:49] 250 CWD command successful
[10:03:49] PWD
[10:03:49] 257 "/var/www-home/static-pages" is current directory.
[10:03:49] TYPE A
[10:03:49] 200 Type set to A
[10:03:49] PASV
[10:03:49] 227 Entering Passive Mode (94,76,210,238,156,150).
[10:03:49] Opening data connection to 94.76.210.238 Port: 40086
[10:03:49] LIST -aL
[10:03:49] 150 Opening ASCII mode data connection for file list
[10:03:49] 1309 bytes transferred. (20.6 KB/s) (62 ms)
[10:03:49] 226 Transfer complete.
[10:03:49] MDTM 404.html
[10:03:49] 213 20080919173002
[10:03:49] Timezone offset: 0 seconds (0.0 hours)
[10:03:52] The operation has been added to the Transfer Queue. Check the Transfer Queue for the status.
Last edited by vforums on Wed Jan 14, 2009 10:12 am, edited 1 time in total.

mb
Posts: 12030
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Latest Beta - Corrupting Files

Post by mb » Wed Jan 14, 2009 9:52 pm

Please post the logs from the transfer queue. To get it double click the file in the transfer queue.

mb
Posts: 12030
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Latest Beta - Corrupting Files

Post by mb » Thu Jan 15, 2009 12:08 am

Something else I noticed. The version of ProFTPd that is running on the server has a known bug with the MDTM command. I recommend you ask your web host to update ProFTPd to the latest stable version.

Regards,
Mat

vforums
Posts: 2
Joined: Wed Jan 14, 2009 9:50 am

Re: Latest Beta - Corrupting Files

Post by vforums » Thu Jan 15, 2009 12:09 am

Please post the logs from the transfer queue. To get it double click the file in the transfer queue.

Sure, I'll grab that when using that machine in the morning (it's in the office).

Just to note, a few other things I have noticed:
- It's happening on the "stable" version as well as the beta.
- It only happens when I choose "edit", choosing "view" displays the file as expected.

mb
Posts: 12030
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Latest Beta - Corrupting Files

Post by mb » Thu Jan 15, 2009 12:12 am

Hmm. Edit and View do the same thing. The only difference is that Edit monitors the file after it has been downloaded where View doesn't do that.

Locked