FTP - not fully copied files
Moderators: Hacker, petermad, Stefan2, white
FTP - not fully copied files
I've a problem with FTP.
For several months (surely in TC7 - I can't remember if it happened also in earlier versions) when I upload files it SOMETIMES happens that the file is uploaded not completely. For example I send a file of 776 197 bytes and TC copies only 766 660 or 768 000 bytes. There is of course no error messages so I must check it every time if it's fully copied.
I can retry copying but it doesn't help, the amount of bytes changes but the file is never copied properly.
When I restart TC it copies the files correctly at once.
It's not a problem of the quality of connection.
First I'd thought that it happens when I first connect to one server and then try to send files to another server but tit happens even if it's my first connection.
Unfortunately it doesn't happen always (but enough often to be annoying).
My wcx_ftp.ini settings:
[General]
ConnectRetries=50
WaitDelay=5
transfermode=X
LogFile=%COMMANDER_PATH%\tcftp.log
FtpInBackground=1
e-mail=a
ModeZ=0
ASCII=*.txt *.htm *.html *.pas *.c *.cpp *.h *.bas *.tex
ttciniwritable=79855
AutoResume=30
MDTM=3
UploadBlockSize=32768
[MY SERWER]
host=myserwer.adres
username=me
password=XYXYXYXYXYYXYXY
pasvmode=1
Any ideas? Does it happen to anyone else?
For several months (surely in TC7 - I can't remember if it happened also in earlier versions) when I upload files it SOMETIMES happens that the file is uploaded not completely. For example I send a file of 776 197 bytes and TC copies only 766 660 or 768 000 bytes. There is of course no error messages so I must check it every time if it's fully copied.
I can retry copying but it doesn't help, the amount of bytes changes but the file is never copied properly.
When I restart TC it copies the files correctly at once.
It's not a problem of the quality of connection.
First I'd thought that it happens when I first connect to one server and then try to send files to another server but tit happens even if it's my first connection.
Unfortunately it doesn't happen always (but enough often to be annoying).
My wcx_ftp.ini settings:
[General]
ConnectRetries=50
WaitDelay=5
transfermode=X
LogFile=%COMMANDER_PATH%\tcftp.log
FtpInBackground=1
e-mail=a
ModeZ=0
ASCII=*.txt *.htm *.html *.pas *.c *.cpp *.h *.bas *.tex
ttciniwritable=79855
AutoResume=30
MDTM=3
UploadBlockSize=32768
[MY SERWER]
host=myserwer.adres
username=me
password=XYXYXYXYXYYXYXY
pasvmode=1
Any ideas? Does it happen to anyone else?
What if you try to upload the same file in Binary mode instead of autodetect?
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
No problem here with dozens of different ftp servers! Can you give me a test account on the problematic server, please?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I'm still waiting for some feedback from you, since no one else seems to have this problem...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Any news on that? TC always waits for the "transfer complete" notification from the server before sending the next file...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
2djk
TC 7.02 is now verifying the upload and download sizes via the SIZE command. Can you try with your server whether it detects incomplete downloads now, please?
TC 7.02 is now verifying the upload and download sizes via the SIZE command. Can you try with your server whether it detects incomplete downloads now, please?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
It happened again but this time I've got the warning that the size mismatch and TC asked if I want to continue. As before resending didn't help until I restarted TC.
So the problem still exists but now I know that the target file is wrong so I know I must restart TC and resend the files.
Thanks for the changes.
So the problem still exists but now I know that the target file is wrong so I know I must restart TC and resend the files.
Thanks for the changes.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Ah, that's good news! If only I knew what is causing the problem...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 4
- Joined: 2007-12-23, 22:08 UTC
- Location: Slovakia
the same problem
WinXP32, no antivirus, no firewall, only router without firewall.
I try upload file as active or as passive, real size is 12650 Bytes, but circa 1 of 10 transfer is only good. Restart TC 7.02a help me only sometimes.
FTP Downloading is OK.
1) bad
TYPE I
200 Type set to I
PORT 192,168,147,111,4,78
200 PORT command successful
STOR bush.jpg
150 Opening BINARY mode data connection for bush.jpg
Upload
450 Transfer aborted. Link to file server lost.
SIZE bush.jpg
213 9728
Upload size mismatch!
Copied (23.12.2007 23:16:04): c:\bush.jpg -> ftp://tp.???.sk/miluno/bush.jpg 12 650 bytes, 46.9 kbytes/s
transfer failled -> yes/no
2) bad
TYPE I
200 Type set to I
PORT 192,168,147,111,5,1
200 PORT command successful
STOR bush.jpg
150 Opening BINARY mode data connection for bush.jpg
Upload
450 Transfer aborted. Link to file server lost.
SIZE bush.jpg
213 11264
Upload size mismatch!
Copied (23.12.2007 23:24:58): c:\bush.jpg -> ftp://tp.???.sk/miluno/bush.jpg 12 650 bytes, 49.8 kbytes/s
transfer failled -> yes/no
3) good
TYPE I
200 Type set to I
PORT 192,168,147,111,5,41
200 PORT command successful
STOR bush.jpg
150 Opening BINARY mode data connection for bush.jpg
Upload
226 Transfer complete.
SIZE bush.jpg
213 12650
Copied (23.12.2007 23:30:57): c:\bush.jpg -> ftp://tp.???.sk/miluno/bush.jpg 12 650 bytes, 43.9 kbytes/s
Get directory
TYPE A
200 Type set to A
PORT 192,168,147,111,5,42
200 PORT command successful
LIST
150 Opening ASCII mode data connection for file list
Download
Waiting for server...
226 Transfer complete.
____
Now I am using TC 6.57. No problems with ftp uploading. Maybe this information is helpfull for You.
Ľubo, Slovakia
I try upload file as active or as passive, real size is 12650 Bytes, but circa 1 of 10 transfer is only good. Restart TC 7.02a help me only sometimes.
FTP Downloading is OK.
1) bad
TYPE I
200 Type set to I
PORT 192,168,147,111,4,78
200 PORT command successful
STOR bush.jpg
150 Opening BINARY mode data connection for bush.jpg
Upload
450 Transfer aborted. Link to file server lost.
SIZE bush.jpg
213 9728
Upload size mismatch!
Copied (23.12.2007 23:16:04): c:\bush.jpg -> ftp://tp.???.sk/miluno/bush.jpg 12 650 bytes, 46.9 kbytes/s
transfer failled -> yes/no
2) bad
TYPE I
200 Type set to I
PORT 192,168,147,111,5,1
200 PORT command successful
STOR bush.jpg
150 Opening BINARY mode data connection for bush.jpg
Upload
450 Transfer aborted. Link to file server lost.
SIZE bush.jpg
213 11264
Upload size mismatch!
Copied (23.12.2007 23:24:58): c:\bush.jpg -> ftp://tp.???.sk/miluno/bush.jpg 12 650 bytes, 49.8 kbytes/s
transfer failled -> yes/no
3) good
TYPE I
200 Type set to I
PORT 192,168,147,111,5,41
200 PORT command successful
STOR bush.jpg
150 Opening BINARY mode data connection for bush.jpg
Upload
226 Transfer complete.
SIZE bush.jpg
213 12650
Copied (23.12.2007 23:30:57): c:\bush.jpg -> ftp://tp.???.sk/miluno/bush.jpg 12 650 bytes, 43.9 kbytes/s
Get directory
TYPE A
200 Type set to A
PORT 192,168,147,111,5,42
200 PORT command successful
LIST
150 Opening ASCII mode data connection for file list
Download
Waiting for server...
226 Transfer complete.
____
Now I am using TC 6.57. No problems with ftp uploading. Maybe this information is helpfull for You.
Ľubo, Slovakia