Files Being Corrupted As They Are Uploaded

First, I'd like to say that I really love the fact that the new version uses the transfer queue exclusively. That's really nice!

I ran into something today, though, that was pretty distressing. Sometimes the files I upload are being corrupted. Here's an example:

[codebox] 'Do the final writes outside of the Recordset

'Write the last content line
Grid.SideClass = arrInterpreterSideClass(CurrentLineIndex)
Grid.FirstText = arrInterpreterFirstText(CurrentLineIndex)
Grid.LastText = arrInterpreterLastText(CurrentLineIndex)
Grid.WriteThisLine

'Write any blank lines (at the end)
For k = CurrentLineIndex + 1 to uBound(arrInterpreterID) - 2
Grid.SideClass = arrInterpreterSideClass(k)
Grid.FirstText = arrInterpreterFirstText(k)
Grid.LastText = arrInterpreterLastText(k)
Grid.WriteThisLine
Next



'Render The Whole Grid
Grid.CompileGrid
Set Grid = Nothing

End Sub
%>he Whole Grid
Grid.CompileGrid
Set Grid = Nothing

End Sub
%>x)
Grid.LastText = arrInterpreterLastText(CurrentLineIndex)
Grid.WriteThisLine

'Write any blank lines (at the end)
For k = CurrentLineIndex + 1 to uBound(arrInterpreterID) - 2
Grid.SideClass = arrInterpreterSideClass(k)
Grid.FirstText = arrInterpreterFirstText(k)
Grid.LastText = arrInterpreterLastText(k)
Grid.WriteThisLine
Next



'Render The Whole Grid
Grid.CompileGrid
Set Grid = Nothing

End Sub
%>[/codebox]

It's taking the last 401 characters of the file and repeating them on the end of the file. The first "End Sub %>" should be the end. I uploaded to the latest version of the software and am still having the intermittement problem. Any ideas?


[codebox]+- System -----------------------------
Microsoft Windows Vista Business Edition
(Build 6000)

CPU Speed : 2613 MHz
Total Memory : 2045 MB
Free Memory : 946 MB

+- SmartFTP ---------------------------
Version : 3.0.1014.7
Time Stamp : 2008-04-28 13:51:03
Platform : x86
Id : 400021946
Days in use : 273

+- Application DLL --------------------
sfFTPLib.dll : 1.5.13.14
sfFavorites.dll : 1.0.10.7
sfFavoritesShellExtension.dll : 1.0.1.9
sfTransferQueue.dll : 1.0.7.7
sfFTPShellExtension.dll : 1.0.5.7

+- Language ---------------------------
SmartFTP.exe : 3.0.1014.7

+- Internet Explorer ------------------
Version : 7.0.6000.16643

+- Winsock ----------------------------
Winsock : 2.2[/codebox]

Post the log from the Transfer Queue.

How do you upload the file? Edit? Drag&Drop each time? In what intervals? Do you click on the Overwrite dialog?

I drag and drop the file from the local browser to the remote browser. It goes into the transfer queue and then goes through it's process and uploads. I have just 1 worker running. I often upload quite frequently. Sometimes within 10 or 15 seconds of each other. I have the Overwrite set up to be automatic in all cases. I always want to overwrite what's on the server with what I am uploading.

Sometimes when I am making very small changes to files it seems like the changes don't take and I have to delete the file on the server and re-upload. Then it will work.

[codebox][10:50:21] Resolving host name "gridcheck.com"
[10:50:21] Connecting to 209.210.60.37 Port: 21
[10:50:21] Connected to gridcheck.com.
[10:50:21] 220 Microsoft FTP Service
[10:50:21] USER gridcheck
[10:50:21] 331 Password required for gridcheck.
[10:50:21] PASS (hidden)
[10:50:21] 230 User gridcheck logged in.
[10:50:21] SYST
[10:50:21] 215 Windows_NT
[10:50:21] Detected Server Type: Windows NT
[10:50:21] FEAT
[10:50:21] 211-FEAT
[10:50:21] SIZE
[10:50:21] MDTM
[10:50:21] 211 END
[10:50:21] TYPE I
[10:50:22] 200 Type set to I.
[10:50:22] REST 0
[10:50:22] 350 Restarting at 0.
[10:50:22] PWD
[10:50:22] 257 "/" is current directory.
[10:50:22] Remote file exist check: "interpreterInvoice.asp".
[10:50:22] STAT interpreterInvoice.asp
[10:50:22] 213-status of interpreterInvoice.asp:
[10:50:22] 04-30-08 10:33AM 21911 interpreterInvoice.asp
[10:50:22] 213 End of status.
[10:50:22] MDTM interpreterInvoice.asp
[10:50:22] 213 20080430163335
[10:50:22] Source File: Size=21911, SizeUnit=Byte, Time=2008-04-30T06:34:46, TimeFormat=Exact
[10:50:22] Destination File: Size=21911, SizeUnit=Byte, Time=2008-04-30T16:33:35, TimeFormat=Exact
[10:50:22] RecentTime=2008-04-30T16:50:22
[10:50:22] Rule "IF Destination Time=Newer AND Size=Equal AND Transfer=No Matter THEN Overwrite" matched. Action="Overwrite".
[10:50:22] PORT 192,168,0,103,200,218
[10:50:22] 200 PORT command successful.
[10:50:22] STOR interpreterInvoice.asp
[10:50:22] 150 Opening BINARY mode data connection for interpreterInvoice.asp.
[10:50:23] 21911 bytes transferred. (56.7 KB/s) (377 ms)
[10:50:23] 226 Transfer complete.
[10:50:23] MDTM 20080430063446 interpreterInvoice.asp
[10:50:23] 550 20080430063446 interpreterInvoice.asp: The system cannot find the file specified.
[10:50:23] MFMT 20080430063446 interpreterInvoice.asp
[10:50:23] 500 'MFMT 20080430063446 interpreterInvoice.asp': command not understood
[10:50:23] SITE UTIME interpreterInvoice.asp 20080430063446 20080430063446 20080430063446 UTC
[10:50:23] 500 'SITE UTIME interpreterInvoice.asp 20080430063446 20080430063446 20080430063446 UTC': command not understood
[10:50:23] SITE UTIME 20080430063446 interpreterInvoice.asp
[10:50:23] 500 'SITE UTIME 20080430063446 interpreterInvoice.asp': command not understood
[10:50:23] STAT interpreterInvoice.asp
[10:50:23] 213-status of interpreterInvoice.asp:
[10:50:24] 04-30-08 10:50AM 21911 interpreterInvoice.asp
[10:50:24] 213 End of status.
[/codebox]

You need to change the file exist rules in the favorite settings (Transfer->File Exist) to force the item be overwritten each time. Basically remove all rules and set the default action to overwrite.

Regards,
Mat

You need to change the file exist rules in the favorite settings (Transfer->File Exist) to force the item be overwritten each time. Basically remove all rules and set the default action to overwrite.

Regards,
Mat

Thank you. I've taken your suggestion and haven't had any further trouble. Let's hope that solves it.