Topic "Timeout after one download"

Author Message
WilliamF

Guest


Hi,

I'm french so sorry for my probably bad English.

I'm on Windows 7 32 bits with WinSCP 5.1.4.

My script:

option batch abort
option confirm off
open ftp://user:mdp@server -timeout=500
option transfer binary
lcd C:\TEMP\
get /dump/*
close
exit

Example of /dump/ contents:

/dump/2013/02/18/18.48/myfile.zip
/dump/2013/03/02/17.45/myfile.zip
/dump/2012/04/18/13.28/myfile.zip

(One or more zip file per day)

I would like to download all zip files (with entire path) and delete them after successful download. The log file:

. 2013-03-04 11:55:15.057 --------------------------------------------------------------------------
. 2013-03-04 11:55:15.057 WinSCP Version 5.1.4 (Build 3020) (OS 6.1.7601 Service Pack 1)
. 2013-03-04 11:55:15.058 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2013-03-04 11:55:15.059 Local account: xxxxxxxx
. 2013-03-04 11:55:15.059 Working directory: C:\Windows\system32
. 2013-03-04 11:55:15.059 Command-line: "C:\Program Files\WinSCP\WinSCP.exe" /console /log=C:\TEMP\TRANSFERTS_FTP.log /script=C:\TEMP\COMMANDES.txt
. 2013-03-04 11:55:15.059 Time zone: Current: GMT+1, Standard: GMT+1, DST: GMT+2, DST Start: 31/03/2013, DST End: 27/10/2013
. 2013-03-04 11:55:15.059 Login time: lundi 4 mars 2013 11:55:15
. 2013-03-04 11:55:15.059 --------------------------------------------------------------------------
. 2013-03-04 11:55:15.059 Session name: xxxxxxxxxx (Modified stored session)
. 2013-03-04 11:55:15.059 Host name: xxxxxxx (Port: 21)
. 2013-03-04 11:55:15.059 User name: xxxxxxx (Password: Yes, Key file: No)
. 2013-03-04 11:55:15.059 Tunnel: No
. 2013-03-04 11:55:15.059 Transfer Protocol: FTP
. 2013-03-04 11:55:15.059 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2013-03-04 11:55:15.059 Proxy: none
. 2013-03-04 11:55:15.059 FTP: FTPS: None; Passive: Yes [Force IP: A]
. 2013-03-04 11:55:15.059 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2013-03-04 11:55:15.059 Cache directory changes: Yes, Permanent: Yes
. 2013-03-04 11:55:15.059 DST mode: 1; Timezone offset: 0h 0m
. 2013-03-04 11:55:15.059 --------------------------------------------------------------------------
. 2013-03-04 11:55:15.063 Connexion xxxx.
. 2013-03-04 11:55:15.398 Connect xxxx. En attente du message de bienvenue...
< 2013-03-04 11:55:15.718 220 server ready - login please
> 2013-03-04 11:55:15.719 USER xxxxx
< 2013-03-04 11:55:15.997 331 password required
> 2013-03-04 11:55:15.997 PASS ********
< 2013-03-04 11:55:16.340 230 login accepted
> 2013-03-04 11:55:16.340 SYST
< 2013-03-04 11:55:16.568 215 UNIX Type: L8
> 2013-03-04 11:55:16.568 FEAT
< 2013-03-04 11:55:16.851 211-feature list follows
< 2013-03-04 11:55:16.852 MDTM
< 2013-03-04 11:55:16.852 SIZE
< 2013-03-04 11:55:16.852 211 end
. 2013-03-04 11:55:16.853 Connect
. 2013-03-04 11:55:16.853 --------------------------------------------------------------------------
. 2013-03-04 11:55:16.853 Using FTP protocol.
. 2013-03-04 11:55:16.853 Doing startup conversation with host.
> 2013-03-04 11:55:16.853 PWD
< 2013-03-04 11:55:17.165 257 "/" is your current location
. 2013-03-04 11:55:17.166 Getting current directory name.
. 2013-03-04 11:55:17.166 Startup conversation with host finished.
< 2013-03-04 11:55:17.166 Script: Session active : [1] xxxxxxxxx
> 2013-03-04 11:55:17.167 Script: option transfer binary
< 2013-03-04 11:55:17.167 Script: transfer binary
> 2013-03-04 11:55:17.167 Script: lcd C:\TEMP\
< 2013-03-04 11:55:17.167 Script: C:\TEMP
> 2013-03-04 11:55:17.167 Script: get /dump/*
. 2013-03-04 11:55:17.168 Listage du rpertoire en cours...
> 2013-03-04 11:55:17.168 CWD /dump/
< 2013-03-04 11:55:17.485 250 OK. Current directory is /dump
> 2013-03-04 11:55:17.485 PWD
< 2013-03-04 11:55:17.790 257 "/dump" is your current location
> 2013-03-04 11:55:17.790 TYPE A
< 2013-03-04 11:55:18.115 200 TYPE is now ASCII
> 2013-03-04 11:55:18.116 PASV
< 2013-03-04 11:55:18.452 227 Entering Passive Mode (213,186,33,120,178,5Cool
> 2013-03-04 11:55:18.452 LIST -a
< 2013-03-04 11:55:19.137 150 Accepted data connection
< 2013-03-04 11:55:19.480 226 3 matches total
. 2013-03-04 11:55:21.127 drwxrwxrwx 3 100 100 3 Feb 20 16:25 .
. 2013-03-04 11:55:21.127 drwxr-xr-x 4 100 100 6 Feb 21 08:44 ..
. 2013-03-04 11:55:21.127 drwxrwxrwx 4 100 100 4 Mar 1 03:37 2013
. 2013-03-04 11:55:21.127 Listage du rpertoire russi
. 2013-03-04 11:55:21.170 File: "/dump/2013"
. 2013-03-04 11:55:21.180 Listage du rpertoire en cours...
> 2013-03-04 11:55:21.180 CWD /dump/2013/
< 2013-03-04 11:55:21.356 250 OK. Current directory is /dump/2013
> 2013-03-04 11:55:21.356 PWD
< 2013-03-04 11:55:21.522 257 "/dump/2013" is your current location
> 2013-03-04 11:55:21.522 TYPE A
< 2013-03-04 11:55:21.674 200 TYPE is now ASCII
> 2013-03-04 11:55:21.675 PASV
< 2013-03-04 11:55:21.837 227 Entering Passive Mode (213,186,33,120,178,62)
> 2013-03-04 11:55:21.837 LIST -a
< 2013-03-04 11:55:22.194 150 Accepted data connection
. 2013-03-04 11:55:22.195 drwxrwxrwx 4 100 100 4 Mar 1 03:37 .
. 2013-03-04 11:55:22.195 drwxrwxrwx 3 100 100 3 Feb 20 16:25 ..
. 2013-03-04 11:55:22.195 drwxrwxrwx 10 100 100 10 Feb 28 03:35 02
. 2013-03-04 11:55:22.195 drwxrwxrwx 6 100 100 6 Mar 4 04:23 03
< 2013-03-04 11:55:22.550 226 4 matches total
. 2013-03-04 11:55:22.550 Listage du rpertoire russi
. 2013-03-04 11:55:22.550 File: "/dump/2013/02"
. 2013-03-04 11:55:22.552 Listage du rpertoire en cours...
> 2013-03-04 11:55:22.552 CWD /dump/2013/02/
< 2013-03-04 11:55:22.715 250 OK. Current directory is /dump/2013/02
> 2013-03-04 11:55:22.715 PWD
< 2013-03-04 11:55:22.902 257 "/dump/2013/02" is your current location
> 2013-03-04 11:55:22.902 TYPE A
< 2013-03-04 11:55:23.060 200 TYPE is now ASCII
> 2013-03-04 11:55:23.060 PASV
< 2013-03-04 11:55:23.241 227 Entering Passive Mode (213,186,33,120,178,65)
> 2013-03-04 11:55:23.241 LIST -a
< 2013-03-04 11:55:23.595 150 Accepted data connection
. 2013-03-04 11:55:23.600 drwxrwxrwx 10 100 100 10 Feb 28 03:35 .
. 2013-03-04 11:55:23.600 drwxrwxrwx 4 100 100 4 Mar 1 03:37 ..
. 2013-03-04 11:55:23.600 drwxrwxrwx 3 100 100 3 Feb 21 17:15 21
. 2013-03-04 11:55:23.600 drwxrwxrwx 3 100 100 3 Feb 22 03:45 22
. 2013-03-04 11:55:23.600 drwxrwxrwx 3 100 100 3 Feb 23 03:33 23
. 2013-03-04 11:55:23.600 drwxrwxrwx 3 100 100 3 Feb 24 03:48 24
. 2013-03-04 11:55:23.600 drwxrwxrwx 3 100 100 3 Feb 25 03:39 25
. 2013-03-04 11:55:23.600 drwxrwxrwx 3 100 100 3 Feb 26 03:33 26
. 2013-03-04 11:55:23.600 drwxrwxrwx 3 100 100 3 Feb 27 04:04 27
. 2013-03-04 11:55:23.600 drwxrwxrwx 3 100 100 3 Feb 28 03:35 28
< 2013-03-04 11:55:23.964 226 10 matches total
. 2013-03-04 11:55:23.964 Listage du rpertoire russi
. 2013-03-04 11:55:23.965 File: "/dump/2013/02/21"
. 2013-03-04 11:55:24.000 Listage du rpertoire en cours...
> 2013-03-04 11:55:24.001 CWD /dump/2013/02/21/
< 2013-03-04 11:55:24.179 250 OK. Current directory is /dump/2013/02/21
> 2013-03-04 11:55:24.179 PWD
< 2013-03-04 11:55:24.374 257 "/dump/2013/02/21" is your current location
> 2013-03-04 11:55:24.374 TYPE A
< 2013-03-04 11:55:24.587 200 TYPE is now ASCII
> 2013-03-04 11:55:24.587 PASV
< 2013-03-04 11:55:24.802 227 Entering Passive Mode (213,186,33,120,178,69)
> 2013-03-04 11:55:24.802 LIST -a
< 2013-03-04 11:55:25.266 150 Accepted data connection
. 2013-03-04 11:55:25.266 drwxrwxrwx 3 100 100 3 Feb 21 17:15 .
. 2013-03-04 11:55:25.266 drwxrwxrwx 10 100 100 10 Feb 28 03:35 ..
. 2013-03-04 11:55:25.266 drwxrwxrwx 2 100 100 3 Feb 21 17:18 17.15
< 2013-03-04 11:55:25.736 226 3 matches total
. 2013-03-04 11:55:25.736 Listage du rpertoire russi
. 2013-03-04 11:55:25.736 File: "/dump/2013/02/21/17.15"
. 2013-03-04 11:55:25.737 Listage du rpertoire en cours...
> 2013-03-04 11:55:25.737 CWD /dump/2013/02/21/17.15/
< 2013-03-04 11:55:26.027 250 OK. Current directory is /dump/2013/02/21/17.15
> 2013-03-04 11:55:26.027 PWD
< 2013-03-04 11:55:26.318 257 "/dump/2013/02/21/17.15" is your current location
> 2013-03-04 11:55:26.318 TYPE A
< 2013-03-04 11:55:26.607 200 TYPE is now ASCII
> 2013-03-04 11:55:26.608 PASV
< 2013-03-04 11:55:26.898 227 Entering Passive Mode (213,186,33,120,178,72)
> 2013-03-04 11:55:26.898 LIST -a
< 2013-03-04 11:55:27.509 150 Accepted data connection
. 2013-03-04 11:55:27.511 drwxrwxrwx 2 100 100 3 Feb 21 17:18 .
. 2013-03-04 11:55:27.511 drwxrwxrwx 3 100 100 3 Feb 21 17:15 ..
. 2013-03-04 11:55:27.511 -rwxrwxrwx 1 100 100 134922080 Feb 21 17:18 myfile.zip.zip
< 2013-03-04 11:55:27.786 226 3 matches total
. 2013-03-04 11:55:27.786 Listage du rpertoire russi
. 2013-03-04 11:55:27.786 File: "/dump/2013/02/21/17.15/myfile.zip"
. 2013-03-04 11:55:27.786 Copying "/dump/2013/02/21/17.15/myfile.zip" to local directory started.
. 2013-03-04 11:55:27.786 Binary transfer mode selected.
. 2013-03-04 11:55:27.818 Dbut du tlchargement de /dump/2013/02/21/17.15/myfile.zip
> 2013-03-04 11:55:27.887 TYPE I
< 2013-03-04 11:55:28.013 200 TYPE is now 8-bit binary
> 2013-03-04 11:55:28.013 PASV
< 2013-03-04 11:55:28.304 227 Entering Passive Mode (213,186,33,120,178,76)
> 2013-03-04 11:55:28.305 RETR myfile.zip
< 2013-03-04 11:55:28.883 150 131759.8 kbytes to download
. 2013-03-04 12:13:36.363 Expiration du dlai dtecte !
. 2013-03-04 12:13:36.441 Copie des fichier depuis le rpertoire distant choue.
. 2013-03-04 12:13:36.505 Connection was lost, asking what to do.
. 2013-03-04 12:13:36.514 Asking user:
. 2013-03-04 12:13:36.515 Connexion perdue. ("Expiration du dlai dtecte !","Copie des fichier depuis le rpertoire distant choue.","131759.8 kbytes to download")
< 2013-03-04 12:13:36.525 Script: Connexion perdue.
< 2013-03-04 12:13:36.530 Script: Expiration du dlai dtecte !

< 2013-03-04 12:13:36.530 Copie des fichier depuis le rpertoire distant choue.

< 2013-03-04 12:13:36.530 131759.8 kbytes to download
< 2013-03-04 12:13:41.584 Script: Connexion xxxxx
. 2013-03-04 12:13:41.584 Connexion xxx...
< 2013-03-04 12:13:41.606 Script: Connect xxxx. En attente du message de bienvenue...
. 2013-03-04 12:13:41.606 Connect xxxx. En attente du message de bienvenue...
< 2013-03-04 12:13:41.630 220 server ready - login please
> 2013-03-04 12:13:41.630 USER xxxxx
< 2013-03-04 12:13:41.654 331 password required
> 2013-03-04 12:13:41.654 PASS ********
< 2013-03-04 12:13:41.837 230 login accepted
> 2013-03-04 12:13:41.837 SYST
< 2013-03-04 12:13:41.863 215 UNIX Type: L8
> 2013-03-04 12:13:41.863 FEAT
< 2013-03-04 12:13:41.891 211-feature list follows
< 2013-03-04 12:13:41.893 MDTM
< 2013-03-04 12:13:41.893 SIZE
< 2013-03-04 12:13:41.893 211 end
< 2013-03-04 12:13:41.893 Script: Connect
. 2013-03-04 12:13:41.893 Connect
. 2013-03-04 12:13:41.893 Doing startup conversation with host.
< 2013-03-04 12:13:41.893 Script: Dmarrage de la session...
> 2013-03-04 12:13:41.894 PWD
< 2013-03-04 12:13:41.915 257 "/" is your current location
< 2013-03-04 12:13:41.915 Script: Listage du rpertoire distant...
. 2013-03-04 12:13:41.915 Changing directory to "/".
> 2013-03-04 12:13:41.915 CWD /
< 2013-03-04 12:13:41.937 250 OK. Current directory is /
. 2013-03-04 12:13:41.937 Getting current directory name.
> 2013-03-04 12:13:41.937 PWD
< 2013-03-04 12:13:41.967 257 "/" is your current location
. 2013-03-04 12:13:41.967 Startup conversation with host finished.
< 2013-03-04 12:13:41.967 Script: Seesion dmarre.
. 2013-03-04 12:13:41.973 File: "/dump/2013/02/21/17.15/myfile.zip"
. 2013-03-04 12:13:41.974 Copying "/dump/2013/02/21/17.15/myfile.zip" to local directory started.
. 2013-03-04 12:13:41.974 Binary transfer mode selected.
. 2013-03-04 12:13:41.974 Dbut du tlchargement de /dump/2013/02/21/17.15/myfile.zip
> 2013-03-04 12:13:41.974 CWD /dump/2013/02/21/17.15/
< 2013-03-04 12:13:41.996 250 OK. Current directory is /dump/2013/02/21/17.15
> 2013-03-04 12:13:41.996 PWD
< 2013-03-04 12:13:42.018 257 "/dump/2013/02/21/17.15" is your current location
> 2013-03-04 12:13:42.022 TYPE A
< 2013-03-04 12:13:42.048 200 TYPE is now ASCII
> 2013-03-04 12:13:42.048 PASV
< 2013-03-04 12:13:42.072 227 Entering Passive Mode (213,186,33,120,92,175)
> 2013-03-04 12:13:42.072 LIST -a
< 2013-03-04 12:13:42.122 150 Accepted data connection
. 2013-03-04 12:13:42.124 drwxrwxrwx 2 100 100 3 Feb 21 17:18 .
. 2013-03-04 12:13:42.124 drwxrwxrwx 3 100 100 3 Feb 21 17:15 ..
. 2013-03-04 12:13:42.124 -rwxrwxrwx 1 100 100 134922080 Feb 21 17:18 myfile.zip
< 2013-03-04 12:13:42.343 226 3 matches total
. 2013-03-04 12:13:42.379 File transfer was completed before disconnect
. 2013-03-04 12:13:42.388 Tlchargement russi
. 2013-03-04 12:13:42.388 File: "/dump/2013/02/22"

After one file downloaded, WinSCP failed and show the window "Close or debug the program". Same issue with the GUI!

Thank you very much
Question Exclamation Question
Advertisements
WilliamF

Guest


Hi,

Nobody has encountered this problem?

Thank you
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
_________________
Martin Prikryl
WilliamF
[View user's profile]

Joined: 2013-03-07
Posts: 1
Location: FRANCE
I just sent you an email.

Thank you
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License