After PWD : "Timeout (600 seconds), exiting Core FTP&qu

Core FTP client questions and answers
Locked
jonny
Posts: 5
Joined: Wed Dec 09, 2009 3:03 pm

After PWD : "Timeout (600 seconds), exiting Core FTP&qu

Post by jonny »

Someone with an idea which cause this ? Every day at the same time I have scheduled an upload via a commandline. Sometimes (not often) I received the following log. The server is online and I can connect, but it seems it is stuck.

------
10/07/13 13:33 (1778)
Looking up host "xxx.xx.xxx.xx"
Connecting to xxx.xx.xxx.xx port 1970
Server version: SSH-2.0-OpenSSH_4.3
Using SSH protocol version 2
Version: SSH-2.0-PuTTY_Local:_Jun_24_2013_11:12:31
Diffie-Hellman group exchange
Diffie-Hellman key exchange SHA-1
ssh-rsa 2048 a1:a2:a3:a4:b1:b2:b3:b4:c1:c2:c3:c4:d1:d2:d3:d4
AES-256 SDCTR client->server
HMAC-SHA1 client->server
AES-256 SDCTR server->client
HMAC-SHA1 server->client
Reading private key file "C:\Keys\key.ppk"
Offered public key
Remote debug message: Pty allocation disabled.
Offer of public key accepted
Sent public key signature
Remote debug message: Pty allocation disabled.
Access granted
Opened channel for session
Started a shell/command
PWD

Timeout (600 seconds), exiting Core FTP
------
ForumAdmin
Site Admin
Posts: 1004
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

means the connection is being dropped or terminated.

What's the value being returned in %ERRORLEVEL%?

(Recommend using corecmd.exe to get accurate exit code).
jonny
Posts: 5
Joined: Wed Dec 09, 2009 3:03 pm

Post by jonny »

Problem solved...I'm using now corecmd.exe with parameters in the script instead of calling coreftp.exe. Since these change I never have had any timeouts. The script has called 2 times the coreftp.exe. Once to upload and again to download a list of the uploaded files. Perhaps the first call still wasn't finalized.
Locked