UPLOAD an existant file (overwrite a file)

Hi!
I have a problem with the new version of SMARTFTP (Version : 3.0.1012.17)
When i modify a file more times and i upload it, it results corrupted and the page shows some tags.

I just uninstall and re-install the program but the problem persists.

Thanks for the help.
Bye

Denis V.

How do you edit the file? With the Remote Edit function?

Regards,
Mat

How do you edit the file? With the Remote Edit function?

Regards,
Mat

No, i edit the file in local machine

Please post the complete log from the Transfer Queue (item).

In what interval do you upload the file? Less than 30 seconds?

Regards,
Mat

I have upgrade the beta version but the problem persists.

[09:37:47] SmartFTP v3.0.1013.0
[09:37:47] Risoluzione nome host "www.website.xxx"
[09:37:47] Connessione a xxx.xx.xxx.xxx Porta: 21
[09:37:47] Connesso con www.website.xxx.
[09:37:47] 220 ProFTPD 1.2.10 Server (Ftp Server) [xxx.xx.xxx.xxx]
[09:37:47] USER www365
[09:37:47] 331 Password required for USERID.
[09:37:47] PASS (nascosto)
[09:37:47] 230 User USERID logged in.
[09:37:47] SYST
[09:37:47] 215 UNIX Type: L8
[09:37:47] Rilevato Tipo di Server: UNIX
[09:37:47] FEAT
[09:37:48] 211-Features:
[09:37:48] MDTM
[09:37:48] REST STREAM
[09:37:48] SIZE
[09:37:48] 211 End
[09:37:48] PWD
[09:37:48] 257 "/" is current directory.
[09:37:48] PROT P
[09:37:48] 500 PROT not understood
[09:37:48] CCC
[09:37:48] 500 CCC not understood
[09:37:48] TYPE A
[09:37:48] 200 Type set to A
[09:37:48] PASV
[09:37:48] 227 Entering Passive Mode (xxx,xx,xxx,xxx,xxx,xx)
[09:37:48] Apertura connessione dati con xxx.xx.xxx.xxx Porta: 37983
[09:37:48] LIST -aL
[09:37:48] 150 Opening ASCII mode data connection for file list
[09:37:48] 7529 byte trasferiti. (67,4 KB/s) (109 ms)
[09:37:48] 226 Transfer complete.
[09:38:18] The operation has been added to the Transfer Queue. Check the Transfer Queue for the status.
[09:38:21] STAT denis.html
[09:38:21] 211-Status of denis.html:
[09:38:21] -rw-r--r-- 1 USERID USERID 7913 Apr 16 07:38 denis.html
[09:38:21] 211 End of Status
[09:38:21] MDTM denis.html
[09:38:21] 213 20080416073814
[09:39:11] NOOP
[09:39:11] 200 NOOP command successful
[09:40:01] NOOP
[09:40:01] 200 NOOP command successful
[09:40:51] NOOP
[09:40:51] 200 NOOP command successful
[09:41:41] NOOP
[09:41:41] 200 NOOP command successful
[09:42:31] NOOP
[09:42:31] 200 NOOP command successful
[09:43:04] The operation has been added to the Transfer Queue. Check the Transfer Queue for the status.
[09:43:12] The operation has been added to the Transfer Queue. Check the Transfer Queue for the status.
[09:43:21] NOOP
[09:43:21] 200 NOOP command successful
[09:43:27] The operation has been added to the Transfer Queue. Check the Transfer Queue for the status.
[09:43:29] STAT denis.html
[09:43:29] 211-Status of denis.html:
[09:43:29] -rw-r--r-- 1 USERID USERID 7911 Apr 16 07:43 denis.html
[09:43:29] 211 End of Status
[09:43:29] MDTM denis.html
[09:43:29] 213 20080416074322
[09:43:32] The operation has been added to the Transfer Queue. Check the Transfer Queue for the status.
[09:43:33] STAT denis.html
[09:43:33] 211-Status of denis.html:
[09:43:33] -rw-r--r-- 1 USERID USERID 7911 Apr 16 07:43 denis.html
[09:43:33] 211 End of Status
[09:43:33] MDTM denis.html
[09:43:33] 213 20080416074326

Yes, i upload the file on 30 second range.

Sorry for my bad english...
Thank you
Denis V.

This is the log from the Remote Browser. Please post the one from the Transfer Queue.

But I think I know what you are doing and why you shouldn't do that. You have set the file exist action to "Use Rules". Therefore SmartFTP tries to figure out if it should resume/skip the file. Since your FTP server doesn't support anything that helps SmartFTP to decide whether the file is never or not it probably resumes the file (instead of overwriting it).

You have a couple ways to do it the right way:
1. Use the Edit function in SmartFTP. This way SmartFTP will always overwrite the file since it knows you are editing the file.
2. Change the file exist rules in the favorite settings (Transfer->File Exist) to overwrite the file if it exists.
3. Do not use the "Use Automatic Rules" option and select "Overwrite" in the file exist dialog.

Regards,
Mat

Sorry...

[10:42:50] Risoluzione nome host "www.website.xxx"
[10:42:50] Connessione a XXX.XX.XXX.XXX Porta: 21
[10:42:50] Connesso con www.website.xxx.
[10:42:50] 220 ProFTPD 1.2.10 Server (Ftp Server) [XXX.XX.XXX.XXX]
[10:42:50] USER USERID
[10:42:50] 331 Password required for USERID.
[10:42:50] PASS (nascosto)
[10:42:50] 230 User USERID logged in.
[10:42:50] SYST
[10:42:50] 215 UNIX Type: L8
[10:42:50] Rilevato Tipo di Server: UNIX
[10:42:50] FEAT
[10:42:50] 211-Features:
[10:42:50] MDTM
[10:42:50] REST STREAM
[10:42:50] SIZE
[10:42:50] 211 End
[10:42:50] PWD
[10:42:50] 257 "/" is current directory.
[10:42:50] Controllo esistenza file remoto: "denis.html".
[10:42:50] STAT denis.html
[10:42:50] 211-Status of denis.html:
[10:42:51] -rw-r--r-- 1 USERID USERID 7911 Apr 16 07:43 denis.html
[10:42:51] 211 End of Status
[10:42:51] MDTM denis.html
[10:42:51] 213 20080416074326
[10:42:51] File di Origine: Dim.=7742, Unità Misura=Byte, Ora=2008-04-16T08:42:44, Formato Ora=Exact
[10:42:51] File di Destinazione: Dim.=7911, Unità Misura=Byte, Ora=2008-04-16T07:43:26, Formato Ora=Exact
[10:42:51] Ora Recente=2008-04-16T08:42:51
[10:42:51] Nessuna regola corrispondente. Azione Predefinita="Sovrascrivi".
[10:42:51] TYPE I
[10:42:51] 200 Type set to I
[10:42:51] PASV
[10:42:51] 227 Entering Passive Mode (193,58,239,121,214,188)
[10:42:51] Apertura connessione dati con XXX.XX.XXX.XXX Porta: 54972
[10:42:51] STOR denis.html
[10:42:51] 150 Opening BINARY mode data connection for denis.html
[10:42:51] 7742 byte trasferiti. (164 KB/s) (46 ms)
[10:42:51] 226 Transfer complete.
[10:42:51] STAT denis.html
[10:42:51] 211-Status of denis.html:
[10:42:51] -rw-r--r-- 1 USERID USERID 7742 Apr 16 08:42 denis.html
[10:42:51] 211 End of Status

The problem is "Sovrascrivi" (Overwrite), if i delete the file and upload it again, it works

If i use the 2.5 version (disable queue) it is ok.

Thank you
Denis V.

Overwrite shouldn't cause any problems. Unless you update/save the file in the exact same second when it is uploaded. Since we use a share write flag to open the file another application is allowed to write to the file that is currently uploaded.

If this is not the case and you are saying the file gets corruped in the log you posted the bug is very likely with the server.

Regards,
Mat

I have disabled the "Use Automatic Rules" and the overwriting is working. But I'am always been prompted about what I want to do even if I checked the "apply this to all uploads". Is there anything else I can do to apply my decision to every file?

Thank you
Denis V.

If you check the [x] apply this to all items you should not be asked again.

If you check the [x] apply this to all items you should not be asked again.

I have checked the [x] but it ask me again...

It asks you each time you upload but not for each file. If you want to overwrite the file each time without the prompt you need to change the file exist rules in the favorite settings (Transfer-File Exist dialog).

Regards,
Mat

It asks you each time you upload but not for each file. If you want to overwrite the file each time without the prompt you need to change the file exist rules in the favorite settings (Transfer-File Exist dialog).

Regards,
Mat

Thanks Mat... now it work right.
Best regards

Denis