-problem with FTP connection
Moderators: Hacker, petermad, Stefan2, white
-problem with FTP connection
I start a previously saved FTP connection session. Password is required so I put it on. After a while the FTP connection dialogue disappears and nothing happens - no connection, no error or whatsoever message. Tried several times, still the same result. Two hours earlier it worked correctly! I mean - I was connected.
Using Total Commander 8.50 beta 15, WinXP Service Pack 3, 32 bit
Using Total Commander 8.50 beta 15, WinXP Service Pack 3, 32 bit
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Please turn on logging in Configuration - Options - FTP, then try to reproduce the problem and post the log here. You may replace sensitive names by others, but please do not delete anything.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
----------
Connect to: (19.01.2014 18:51:11)
hostname=kickaxe.wz.cz
username=kickaxe.wz.cz
startdir=
kickaxe.wz.cz=88.86.113.152
220 FTP Server ready.
USER kickaxe.wz.cz
331 Password required for kickaxe.wz.cz
PASS ***********
OFFLINE4, no reply
QUIT
----------
Connect to: (19.01.2014 18:52:22)
hostname=kickaxe.wz.cz
username=kickaxe.wz.cz
startdir=
kickaxe.wz.cz=88.86.113.152
220 FTP Server ready.
USER kickaxe.wz.cz
331 Password required for kickaxe.wz.cz
PASS ***********
OFFLINE4, no reply
QUIT
----------
Connect to: (19.01.2014 18:53:16)
hostname=kickaxe.wz.cz
username=kickaxe.wz.cz
startdir=
kickaxe.wz.cz=88.86.113.152
220 FTP Server ready.
USER kickaxe.wz.cz
331 Password required for kickaxe.wz.cz
PASS ***********
230 User kickaxe.wz.cz logged in.
SYST
215 UNIX Type: L8
FEAT
211-Features:
MDTM
MFMT
AUTH TLS
MFF modify;UNIX.group;UNIX.mode;
MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
PBSZ
PROT
REST STREAM
SIZE
211 End
OPTS UTF8 ON
500 OPTS UTF8 not understood
Connect ok!
PWD
257 "/" is the current directory
Složka
TYPE A
200 Type set to A
PORT 109,239,64,203,5,107
200 PORT command successful
MLSD
150 Opening ASCII mode data connection for MLSD
Stahování
Čekání na server...
226 Transfer complete
QUIT
221 Goodbye.
I discovered that this problem occurs when I have an USB stick connected to PC. Strange behaviour. When I disconnect the USB stick the FTP connection works again.
Connect to: (19.01.2014 18:51:11)
hostname=kickaxe.wz.cz
username=kickaxe.wz.cz
startdir=
kickaxe.wz.cz=88.86.113.152
220 FTP Server ready.
USER kickaxe.wz.cz
331 Password required for kickaxe.wz.cz
PASS ***********
OFFLINE4, no reply
QUIT
----------
Connect to: (19.01.2014 18:52:22)
hostname=kickaxe.wz.cz
username=kickaxe.wz.cz
startdir=
kickaxe.wz.cz=88.86.113.152
220 FTP Server ready.
USER kickaxe.wz.cz
331 Password required for kickaxe.wz.cz
PASS ***********
OFFLINE4, no reply
QUIT
----------
Connect to: (19.01.2014 18:53:16)
hostname=kickaxe.wz.cz
username=kickaxe.wz.cz
startdir=
kickaxe.wz.cz=88.86.113.152
220 FTP Server ready.
USER kickaxe.wz.cz
331 Password required for kickaxe.wz.cz
PASS ***********
230 User kickaxe.wz.cz logged in.
SYST
215 UNIX Type: L8
FEAT
211-Features:
MDTM
MFMT
AUTH TLS
MFF modify;UNIX.group;UNIX.mode;
MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
PBSZ
PROT
REST STREAM
SIZE
211 End
OPTS UTF8 ON
500 OPTS UTF8 not understood
Connect ok!
PWD
257 "/" is the current directory
Složka
TYPE A
200 Type set to A
PORT 109,239,64,203,5,107
200 PORT command successful
MLSD
150 Opening ASCII mode data connection for MLSD
Stahování
Čekání na server...
226 Transfer complete
QUIT
221 Goodbye.
I discovered that this problem occurs when I have an USB stick connected to PC. Strange behaviour. When I disconnect the USB stick the FTP connection works again.
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
OFFLINE4 is a connection timeout - TC 8.01 have a fixed timeout of 10 seconds.
Since you are using 8.50 beta, you can increase the timeout:
Please add the line
DataConnectTimeout=30
to the file wcx_ftp.ini, section [General]
You can edit the wcx_ftp.ini via Configuration - Change settings files directly. Make sure to add the line to the wcx_ftp.ini, not to the (also opened) file wincmd.ini.
Since you are using 8.50 beta, you can increase the timeout:
Please add the line
DataConnectTimeout=30
to the file wcx_ftp.ini, section [General]
You can edit the wcx_ftp.ini via Configuration - Change settings files directly. Make sure to add the line to the wcx_ftp.ini, not to the (also opened) file wincmd.ini.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I just checked my code - there was no timeout at all in TC 8.01 and older, so an ftp connection could hang forever. It has been set to 20 seconds in TC 8.5 for these calls, not 10. I have increased it to 30 seconds now (for the next beta) for calls during the connection phase. I don't want to remove it completely, so I can detect a hanging connection and try to reconnect automatically.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com