Upload fails - is SIZE to blame?

SmartErnie

2009-12-14 20:17:57

I've been using SmartFTP for some time with great success. Now I can't get it to complete a file upload. Version 3.0.1037.0 was working fine under Vista, but fails under Win7. I updated to 4.0.1072.0 but the problem persists. I even installed it, same ver., on an XP machine, but the problem is there too, now.

I'm uploading a large file - 700mb. Part way through, the transfer dies and retries from the start. The log shows a 550 error - Can't find the file, along about the time of transfer recycle.

In searching this forum, I see some mentions of 550 problems and "SIZE" problems. I'm thinking that if I can get the client to NOT send a SIZE command to the server, the transfer won't break. But, that's just a guess.

I'm stuck. I need for SmartFTP to work. I can't find a solution on my own. Help!

Ernie

mb

2009-12-14 20:20:26

Post the log of the transfer. To get it double click the file in the transfer queue window.

SmartErnie

2009-12-14 20:32:43

Ha! You're too fast for me. I just went and got part of that log, and as I come here to post, I see your suggestion. Thanks!
Here's part of the log, showing a few recycles. Part way through, I think, I changed that Favorite to specify Passive Mode (PASV). That might account for a few log entries. Otherwise, it just ran.

[11:12:11] Remote file exist check: "DellE6400-SI-13.GHO".
[11:12:11] SIZE DellE6400-SI-13.GHO
[11:12:11] 550 DellE6400-SI-13.GHO: The system cannot find the file specified.
[11:12:11] File exist check failed. File not found or permission denied.
[11:12:11] PASV
[11:12:11] 227 Entering Passive Mode (xxx.xxx.xxx.xxx).
[11:12:11] Opening data connection to xxx.xxx.xxx.xxx Port: 1139
[11:12:11] STOR DellE6400-SI-13.GHO
[11:12:11] 125 Data connection already open; Transfer starting.
[11:15:37] Socket send buffer set to 16384 bytes.
[11:15:38] Socket send buffer set to 32768 bytes.
[11:38:42] An existing connection was forcibly closed by the remote host.
[11:38:42] 192872448 bytes transferred. (118 KB/s) (00:26:31)
[11:38:42] 426 Connection closed; transfer aborted.
[11:38:42] MDTM 20091119000346 DellE6400-SI-13.GHO
[11:38:42] 550 20091119000346 DellE6400-SI-13.GHO: The system cannot find the file specified.
[11:38:42] MFMT 20091119000346 DellE6400-SI-13.GHO
[11:38:42] 500 'MFMT 20091119000346 DellE6400-SI-13.GHO': command not understood
[11:38:42] SITE UTIME DellE6400-SI-13.GHO 20091119000346 20091119000346 20091119000346 UTC
[11:38:42] 500 'SITE UTIME DellE6400-SI-13.GHO 20091119000346 20091119000346 20091119000346 UTC': command not understood
[11:38:42] SITE UTIME 20091119000346 DellE6400-SI-13.GHO
[11:38:42] 500 'SITE UTIME 20091119000346 DellE6400-SI-13.GHO': command not understood
[11:38:42] Transfer failed.
[11:38:42] Operation End
[11:38:42] Operation Begin
[11:38:42] Remote file exist check: "DellE6400-SI-13.GHO".
[11:38:42] SIZE DellE6400-SI-13.GHO
[11:38:42] 550 DellE6400-SI-13.GHO: The system cannot find the file specified.
[11:38:42] File exist check failed. File not found or permission denied.
[11:38:42] PASV
[11:38:42] 227 Entering Passive Mode (xxx.xxx.xxx.xxx).
[11:38:42] Opening data connection to xxx.xxx.xxx.xxx Port: 1147
[11:38:42] STOR DellE6400-SI-13.GHO
[11:38:42] 125 Data connection already open; Transfer starting.
[11:38:44] Socket send buffer set to 16384 bytes.
[11:59:41] An existing connection was forcibly closed by the remote host.
[11:59:41] 192880640 bytes transferred. (149 KB/s) (00:20:58)
[11:59:41] 426 Connection closed; transfer aborted.
[11:59:41] Transfer failed.
[11:59:41] Operation End
[11:59:41] Operation Begin
[11:59:41] Remote file exist check: "DellE6400-SI-13.GHO".
[11:59:41] SIZE DellE6400-SI-13.GHO
[11:59:41] 213 192831488
[11:59:41] MDTM DellE6400-SI-13.GHO
[11:59:41] 550 DellE6400-SI-13.GHO: Access is denied.
[11:59:41] STAT DellE6400-SI-13.GHO
[11:59:41] 213-status of DellE6400-SI-13.GHO:
[11:59:41] 213 End of status.
[11:59:41] Obtaining file information (size/date) from directory listing.
[11:59:41] TYPE A
[11:59:41] 200 Type set to A.
[11:59:41] PASV
[11:59:41] 227 Entering Passive Mode (xxx.xxx.xxx.xxx).
[11:59:41] Opening data connection to xxx.xxx.xxx.xxx Port: 1150
[11:59:41] LIST -aL
[11:59:42] 125 Data connection already open; Transfer starting.
[11:59:42] 103 bytes transferred. (2.18 KB/s) (46 ms)
[11:59:42] 226 Transfer complete.
[11:59:42] File "DellE6400-SI-13.GHO" not found in directory listing.
[11:59:42] TYPE I
[11:59:42] 200 Type set to I.
[11:59:42] PASV
[11:59:42] 227 Entering Passive Mode (xxx.xxx.xxx.xxx).
[11:59:42] Opening data connection to xxx.xxx.xxx.xxx Port: 1151
[11:59:42] STOR DellE6400-SI-13.GHO
[11:59:42] 125 Data connection already open; Transfer starting.
[11:59:43] Socket send buffer set to 16384 bytes.
[12:20:23] An existing connection was forcibly closed by the remote host.
[12:20:23] 192847872 bytes transferred. (151 KB/s) (00:20:41)
[12:20:23] 426 Connection closed; transfer aborted.
[12:20:23] Transfer failed.
[12:20:23] Operation End
[12:20:23] Operation Begin

mb

2009-12-14 21:03:38

Your server aborts the transfer after a while:
[11:38:42] An existing connection was forcibly closed by the remote host.
[11:38:42] 192872448 bytes transferred. (118 KB/s) (00:26:31)
[11:38:42] 426 Connection closed; transfer aborted.

And then when SmartFTP tries to resume the transfer, the server says the file does not exist and therefore the client is unable to resume the transfer and restarts it from zero:
[11:38:42] SIZE DellE6400-SI-13.GHO
[11:38:42] 550 DellE6400-SI-13.GHO: The system cannot find the file specified.

Regards,
Mat

SmartErnie

2009-12-14 21:04:30

To show why I think the SIZE command is somehow involved, here's excerpts from the two logs, for the file, and overall. Notice that the log pane listing shows only NOOP commands, until it does a SIZE. It is at that moment that the remote host forcibly closes the connection.

----file transfer queue log---
[12:20:23] Operation Begin
[12:20:23] Remote file exist check: "DellE6400-SI-13.GHO".
[12:20:23] SIZE DellE6400-SI-13.GHO
[12:20:23] 550 DellE6400-SI-13.GHO: The system cannot find the file specified.
[12:20:23] File exist check failed. File not found or permission denied.
[12:20:23] PASV
[12:20:23] 227 Entering Passive Mode (xxx.xxx.xxx.xxx).
[12:20:23] Opening data connection to xxx.xxx.xxx.xxx Port: 1158
[12:20:23] STOR DellE6400-SI-13.GHO
[12:20:24] 125 Data connection already open; Transfer starting.
[12:20:25] Socket send buffer set to 16384 bytes.
[12:22:13] Socket send buffer set to 32768 bytes.
[12:42:28] An existing connection was forcibly closed by the remote host.
[12:42:28] 192872448 bytes transferred. (142 KB/s) (00:22:04)
[12:42:28] 426 Connection closed; transfer aborted.
[12:42:28] Transfer failed.
[12:42:28] Operation End
[12:42:28] Operation Begin

---log pane---
[12:41:28] NOOP
[12:41:29] 200 NOOP command successful.
[12:41:59] NOOP
[12:41:59] 200 NOOP command successful.
[12:42:28] SIZE DellE6400-SI-13.GHO
[12:42:28] 550 DellE6400-SI-13.GHO: The system cannot find the file specified.
[12:42:58] NOOP
[12:42:58] 200 NOOP command successful.
[12:43:28] NOOP
[12:43:29] 200 NOOP command successful.

SmartErnie

2009-12-14 21:10:25

Thanks, Mat. You think that the problem is that the remote host does not respond properly to the SIZE command? In other words, the xfer fails, then a SIZE command is sent to the remote server and that fails, so SmartFTP starts over from the start? If that is the case, what caused the initial transfer failure? Is SIZE the cause or the effect?

Does this show a problem with the SIZE command? Maybe the remote server does not handle it well?

What is my recourse? I've been uploading this type of file to this server quite a bit, always with success. The last time was several months ago, so there could be a change on the server side.

Any ideas?

mb

2009-12-14 21:18:00

>wthat is the case, what caused the initial transfer failure?
All I can see from the log is that the server closes the connection. This might be a router/firewall as well.

>SIZE
Your server does not seem to support it all. In conclusion you are not able to resume any broken transfers.

Try to contact the server administrator. Maybe they will reconsider offering you a server product that works better.

Regards,
Mat

SmartErnie

2009-12-14 21:32:29

Thanks, Mat. I'm in contact with the server folks now.