Post "TC8.0 bug" and "TC8.5 bug" joined:
Only after posting for 8.01 I noticed I'm using an old version of TC. However, the bug also applies to 8.51a (64bit):
I have two directories, "1" and "2":
\1\A\A1.txt
\1\A\A2.txt
\1\A\A3.txt
\1\A\A4.txt
\1\A\A5.txt
\1\A\A6.txt
\1\A\A7.txt
\1\A\A8.txt
\2\X\X1.txt
\2\X\X2.txt
\2\X\X3.txt
\2\X\X4.txt
\2\X\X5.txt
\2\X\X6.txt
\2\X\X7.txt
\2\X\X8.txt
I FTP upload "1" in the background. While the upload is running, I start uploading "2" in the foreground.
When both uploads are finished, I have the following directory structure on the FTP site:
\1
\X8.txt
\1\A
\1\A\2
\1\A\A1.txt
\1\A\A2.txt
\1\A\2\X
\1\A\2\X\A3.txt
\1\A\2\X\A4.txt
\1\A\2\X\A5.txt
\1\A\2\X\A6.txt
\1\A\2\X\A7.txt
\1\A\2\X\A8.txt
\1\A\2\X\X1.txt
\1\A\2\X\X2.txt
\1\A\2\X\X3.txt
\1\A\2\X\X4.txt
\1\A\2\X\X5.txt
\1\A\2\X\X6.txt
\1\A\2\X\X7.txt
Total Commander's FTP protocol shows it's not a problem of the FTP server, but that the upload itself was mangled:
Connect to: (15.03.2015 13:32:02)
hostname=localhost
username=user
startdir=
localhost=127.0.0.1
220 Service ready for new user.
USER user
331 User name okay, need password for user.
PASS ***********
230 User logged in, proceed.
SYST
215 UNIX Type: Apache FtpServer
FEAT
211-Extensions supported
SIZE
MDTM
REST STREAM
LANG en;zh-tw;ja;is
MLST Size;Modify;Type;Perm
AUTH SSL
AUTH TLS
MODE Z
UTF8
TVFS
MD5
MMD5
MFMT
211 End
OPTS MLST Size;Modify;Type;Perm;
200 Command OPTS okay.
OPTS UTF8 ON
200 Command OPTS okay.
Connect ok!
PWD
257 "/" is current directory.
Get directory
TYPE A
200 Command TYPE okay.
PORT 127,0,0,1,237,143
200 Command PORT okay.
MLSD
150 File status okay; about to open data connection.
Herunterladen
Waiting for server...
226 Closing data connection.
BG:Copied (15.03.2015 13:32:15): e:\georg\zeugs\down\1\A\A1.txt -> ftp://localhost/1/A/A1.txt 2.840 Bytes, 0 bytes/s
MKD 2
257 "/1/A/2" created.
CWD 2
250 Directory changed to /1/A/2
PWD
257 "/1/A/2" is current directory.
Get directory
PORT 127,0,0,1,237,154
200 Command PORT okay.
MLSD
150 File status okay; about to open data connection.
Herunterladen
Waiting for server...
226 Closing data connection.
MKD X
257 "/1/A/2/X" created.
CWD X
250 Directory changed to /1/A/2/X
PWD
257 "/1/A/2/X" is current directory.
Get directory
PORT 127,0,0,1,237,156
200 Command PORT okay.
MLSD
150 File status okay; about to open data connection.
Herunterladen
Waiting for server...
226 Closing data connection.
TYPE I
200 Command TYPE okay.
PORT 127,0,0,1,237,158
200 Command PORT okay.
STOR X1.txt
150 File status okay; about to open data connection.
Senden: 2.840 Bytes
BG:Copied (15.03.2015 13:32:20): e:\georg\zeugs\down\1\A\A2.txt -> ftp://localhost/1/A/A2.txt 1.043 Bytes, 0 bytes/s
226 Transfer complete.
MFMT 20140317223652 X1.txt
213 ModifyTime=20140317223652; X1.txt
SIZE X1.txt
213 2840
Copied (15.03.2015 13:32:21): e:\georg\zeugs\down\2\X\X1.txt -> ftp://localhost/1/A/2/X/X1.txt 2.840 Bytes, 0 bytes/s
PORT 127,0,0,1,237,162
200 Command PORT okay.
STOR X2.txt
150 File status okay; about to open data connection.
Senden: 1.043 Bytes
BG:Copied (15.03.2015 13:32:25): e:\georg\zeugs\down\1\A\A3.txt -> ftp://localhost/1/A/A3.txt 4.640 Bytes, 0 bytes/s
226 Transfer complete.
MFMT 20140317223652 X2.txt
213 ModifyTime=20140317223652; X2.txt
SIZE X2.txt
213 1043
Copied (15.03.2015 13:32:26): e:\georg\zeugs\down\2\X\X2.txt -> ftp://localhost/1/A/2/X/X2.txt 1.043 Bytes, 0 bytes/s
PORT 127,0,0,1,237,166
200 Command PORT okay.
STOR X3.txt
150 File status okay; about to open data connection.
Senden: 4.640 Bytes
BG:Copied (15.03.2015 13:32:30): e:\georg\zeugs\down\1\A\A4.txt -> ftp://localhost/1/A/A4.txt 7.038 Bytes, 0 kbytes/s
226 Transfer complete.
MFMT 20140317223652 X3.txt
213 ModifyTime=20140317223652; X3.txt
SIZE X3.txt
213 4640
Copied (15.03.2015 13:32:31): e:\georg\zeugs\down\2\X\X3.txt -> ftp://localhost/1/A/2/X/X3.txt 4.640 Bytes, 0 bytes/s
PORT 127,0,0,1,237,170
200 Command PORT okay.
STOR X4.txt
150 File status okay; about to open data connection.
Senden: 7.038 Bytes
BG:Copied (15.03.2015 13:32:35): e:\georg\zeugs\down\1\A\A5.txt -> ftp://localhost/1/A/A5.txt 46 Bytes, 0 bytes/s
226 Transfer complete.
MFMT 20140317223652 X4.txt
213 ModifyTime=20140317223652; X4.txt
SIZE X4.txt
213 7038
Copied (15.03.2015 13:32:36): e:\georg\zeugs\down\2\X\X4.txt -> ftp://localhost/1/A/2/X/X4.txt 7.038 Bytes, 0 kbytes/s
PORT 127,0,0,1,237,174
200 Command PORT okay.
STOR X5.txt
150 File status okay; about to open data connection.
Senden: 46 Bytes
BG:Copied (15.03.2015 13:32:40): e:\georg\zeugs\down\1\A\A6.txt -> ftp://localhost/1/A/A6.txt 827 Bytes, 0 bytes/s
226 Transfer complete.
MFMT 20140317223652 X5.txt
213 ModifyTime=20140317223652; X5.txt
SIZE X5.txt
213 46
Copied (15.03.2015 13:32:42): e:\georg\zeugs\down\2\X\X5.txt -> ftp://localhost/1/A/2/X/X5.txt 46 Bytes, 0 bytes/s
PORT 127,0,0,1,237,178
200 Command PORT okay.
STOR X6.txt
150 File status okay; about to open data connection.
Senden: 827 Bytes
BG:Copied (15.03.2015 13:32:45): e:\georg\zeugs\down\1\A\A7.txt -> ftp://localhost/1/A/A7.txt 6.108 Bytes, 0 kbytes/s
226 Transfer complete.
MFMT 20140317223652 X6.txt
213 ModifyTime=20140317223652; X6.txt
SIZE X6.txt
213 827
Copied (15.03.2015 13:32:47): e:\georg\zeugs\down\2\X\X6.txt -> ftp://localhost/1/A/2/X/X6.txt 827 Bytes, 0 bytes/s
PORT 127,0,0,1,237,182
200 Command PORT okay.
STOR X7.txt
150 File status okay; about to open data connection.
Senden: 6.108 Bytes
BG:Copied (15.03.2015 13:32:50): e:\georg\zeugs\down\1\A\A8.txt -> ftp://localhost/1/A/A8.txt 12.808 Bytes, 1 kbytes/s
226 Transfer complete.
MFMT 20140317223652 X7.txt
550 File missing X7.txt
SIZE X7.txt
550 /X7.txt: No such file or directory.
Copied (15.03.2015 13:32:52): e:\georg\zeugs\down\2\X\X7.txt -> ftp://localhost/1/A/2/X/X7.txt 6.108 Bytes, 0 kbytes/s
PORT 127,0,0,1,237,184
200 Command PORT okay.
STOR X8.txt
150 File status okay; about to open data connection.
Senden: 12.808 Bytes, 1.335 kbytes/s
226 Transfer complete.
MFMT 20140317223652 X8.txt
213 ModifyTime=20140317223652; X8.txt
SIZE X8.txt
213 12808
Copied (15.03.2015 13:32:57): e:\georg\zeugs\down\2\X\X8.txt -> ftp://localhost/1/A/2/X/X8.txt 12.808 Bytes, 1 kbytes/s
CWD /1/A/2
250 Directory changed to /1/A/2
CWD /
250 Directory changed to /
PWD
257 "/" is current directory.
Get directory
TYPE A
200 Command TYPE okay.
PORT 127,0,0,1,237,186
200 Command PORT okay.
MLSD
150 File status okay; about to open data connection.
Herunterladen
Waiting for server...
226 Closing data connection.
FTP uploads to incorrect directories with parallel upload
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50923
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I have just tried this with uploading to ghisler.com, but it all worked correctly. It sounds like your server is maintaining only one current directory for all sessions. This would confuse TC because it works with uploads to current directory, not uploads to full path.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com