Topic "Timeout when moving 1000s of files"

Author Message
takeos
[View user's profile]

Joined: 2010-10-20
Posts: 5
I am testing WinSCP 4.2.9.938 to move folders with large numbers (at least 50,000) of small files from a remote FreeBSD FTP server to the local Windows (2008 or 7) system.

With the default timeout settings ("Server response timeout" = 15 seconds) there will be a timeout before the directory listing is available (when browsing in the right pane). But this is easy to fix, by simply increasing the timeout value to 60 or 120 seconds.

What I can't seem to solve is the subsequent timeout when actually trying to move the files. I tried both selecting the entire range of files and moving them, and moving the single directory from the higher leve. I tried setting timeout values that are a multiple of the timeout that is normally sufficient for listing purposes, but seems to have no effect. Is there perhaps an independent timeout that is used for the move process?

Also, thinking about these folders with so many files, is there perhaps a more efficient way to enumerate and move items? For example, if it were possible to list and move one file at a time, deleting it immediately after a successful move, then the system would not time out because it doesn't need to work on more than one file at a time, would it?

Thanks!

Log follows.

. 2010-10-22 02:58:04.866 --------------------------------------------------------------------------
. 2010-10-22 02:58:04.866 WinSCP Version 4.2.9 (Build 938) (OS 6.0.6002 Service Pack 2)
. 2010-10-22 02:58:04.866 Login time: Friday, October 22, 2010 02:58:04
. 2010-10-22 02:58:04.866 --------------------------------------------------------------------------
. 2010-10-22 02:58:04.866 Session name: ftp.example.com
. 2010-10-22 02:58:04.866 Host name: ftp.example.com (Port: 21)
. 2010-10-22 02:58:04.866 User name: myname (Password: Yes, Key file: No)
. 2010-10-22 02:58:04.866 Tunnel: No
. 2010-10-22 02:58:04.866 Transfer Protocol: FTP
. 2010-10-22 02:58:04.866 Ping type: C, Ping interval: 30 sec; Timeout: 240 sec
. 2010-10-22 02:58:04.866 Proxy: none
. 2010-10-22 02:58:04.866 FTP: FTPS: None; Passive: Yes [Force IP: No]
. 2010-10-22 02:58:04.866 Local directory: c:\download, Remote directory: home, Update: No, Cache: No
. 2010-10-22 02:58:04.866 Cache directory changes: No, Permanent: Yes
. 2010-10-22 02:58:04.866 DST mode: 1
. 2010-10-22 02:58:04.866 --------------------------------------------------------------------------
. 2010-10-22 02:58:04.928 Connecting to ftp.example.com ...
. 2010-10-22 02:58:04.975 Connected with ftp.example.com. Waiting for welcome message...
< 2010-10-22 02:58:05.100 220 FTP Service
> 2010-10-22 02:58:05.100 USER myname
< 2010-10-22 02:58:05.162 331 Password required for myname.
> 2010-10-22 02:58:05.162 PASS *********
< 2010-10-22 02:58:05.240 230 User myname logged in.
> 2010-10-22 02:58:05.240 SYST
< 2010-10-22 02:58:05.303 215 UNIX Type: L8
> 2010-10-22 02:58:05.303 FEAT
< 2010-10-22 02:58:05.350 211-Features:
< 2010-10-22 02:58:05.350 MDTM
< 2010-10-22 02:58:05.365 REST STREAM
< 2010-10-22 02:58:05.365 SIZE
< 2010-10-22 02:58:05.365 211 End
. 2010-10-22 02:58:05.365 Connected
. 2010-10-22 02:58:05.365 --------------------------------------------------------------------------
. 2010-10-22 02:58:05.365 Using FTP protocol.
. 2010-10-22 02:58:05.365 Doing startup conversation with host.
> 2010-10-22 02:58:05.365 PWD
< 2010-10-22 02:58:05.412 257 "/" is current directory.
. 2010-10-22 02:58:05.412 Getting current directory name.
. 2010-10-22 02:58:05.412 Retrieving directory listing...
> 2010-10-22 02:58:05.412 TYPE A
< 2010-10-22 02:58:05.474 200 Type set to A
> 2010-10-22 02:58:05.474 PASV
< 2010-10-22 02:58:05.537 227 Entering Passive Mode (1,2,3,4,117,240).
> 2010-10-22 02:58:05.537 LIST -a
< 2010-10-22 02:58:05.662 150 Opening ASCII mode data connection for file list
< 2010-10-22 02:58:05.724 226 Transfer complete.
. 2010-10-22 02:58:05.724 Directory listing successful
. 2010-10-22 02:58:05.724 Startup conversation with host finished.
. 2010-10-22 02:58:12.354 Changing directory to "fatdir".
> 2010-10-22 02:58:12.354 CWD fatdir
< 2010-10-22 02:58:12.416 250 CWD command successful
. 2010-10-22 02:58:12.416 Getting current directory name.
> 2010-10-22 02:58:12.416 PWD
< 2010-10-22 02:58:12.479 257 "/fatdir" is current directory.
. 2010-10-22 02:58:12.479 Retrieving directory listing...
> 2010-10-22 02:58:12.479 TYPE A
< 2010-10-22 02:58:12.806 200 Type set to A
> 2010-10-22 02:58:12.806 PASV
< 2010-10-22 02:58:12.869 227 Entering Passive Mode (1,2,3,4,117,67).
> 2010-10-22 02:58:12.869 LIST -a
< 2010-10-22 02:58:12.994 150 Opening ASCII mode data connection for file list
< 2010-10-22 03:03:50.780 226 Transfer complete.
. 2010-10-22 03:03:50.796 Directory listing successful
> 2010-10-22 03:04:26.333 TYPE I
< 2010-10-22 03:04:26.333 200 Type set to I
> 2010-10-22 03:04:50.700 PWD
< 2010-10-22 03:04:50.700 257 "/fatdir" is current directory.
> 2010-10-22 03:05:21.370 TYPE I
< 2010-10-22 03:05:21.370 200 Type set to I
> 2010-10-22 03:05:50.713 TYPE I
< 2010-10-22 03:05:50.713 200 Type set to I
. 2010-10-22 03:05:51.743 Retrieving directory listing...
> 2010-10-22 03:05:51.790 TYPE A
< 2010-10-22 03:05:51.899 200 Type set to A
> 2010-10-22 03:05:51.899 PASV
< 2010-10-22 03:05:52.055 227 Entering Passive Mode (1,2,3,4,117,97).
> 2010-10-22 03:05:52.055 LIST -a
< 2010-10-22 03:05:52.195 150 Opening ASCII mode data connection for file list
. 2010-10-22 03:09:52.638 Timeout detected.
. 2010-10-22 03:09:52.638 Could not retrieve directory listing
* 2010-10-22 03:09:52.716 (ESshFatal) Lost connection.
* 2010-10-22 03:09:52.716 Timeout detected.
* 2010-10-22 03:09:52.716 Could not retrieve directory listing
* 2010-10-22 03:09:52.716 Opening ASCII mode data connection for file list
. 2010-10-22 03:09:57.833 Connecting to ftp.example.com ...
. 2010-10-22 03:09:57.864 Connected with ftp.example.com. Waiting for welcome message...
< 2010-10-22 03:09:57.973 220 FTP Service
> 2010-10-22 03:09:57.973 USER myname
< 2010-10-22 03:09:58.051 331 Password required for myname.
> 2010-10-22 03:09:58.051 PASS *********
< 2010-10-22 03:09:58.114 230 User myname logged in.
> 2010-10-22 03:09:58.114 SYST
< 2010-10-22 03:09:58.160 215 UNIX Type: L8
> 2010-10-22 03:09:58.160 FEAT
< 2010-10-22 03:09:58.207 211-Features:
< 2010-10-22 03:09:58.207 MDTM
< 2010-10-22 03:09:58.207 REST STREAM
< 2010-10-22 03:09:58.207 SIZE
< 2010-10-22 03:09:58.207 211 End
. 2010-10-22 03:09:58.207 Connected
. 2010-10-22 03:09:58.207 Doing startup conversation with host.
. 2010-10-22 03:09:58.207 Changing directory to "/fatdir".
. 2010-10-22 03:09:58.207 Synchronizing current directory "/fatdir".
> 2010-10-22 03:09:58.207 CWD /fatdir
< 2010-10-22 03:09:58.270 250 CWD command successful
> 2010-10-22 03:09:58.270 CWD /fatdir
< 2010-10-22 03:09:58.316 250 CWD command successful
. 2010-10-22 03:09:58.316 Getting current directory name.
> 2010-10-22 03:09:58.316 PWD
< 2010-10-22 03:09:58.363 257 "/fatdir" is current directory.
. 2010-10-22 03:09:58.363 Retrieving directory listing...
> 2010-10-22 03:09:58.363 TYPE A
< 2010-10-22 03:09:58.410 200 Type set to A
> 2010-10-22 03:09:58.410 PASV
< 2010-10-22 03:09:58.457 227 Entering Passive Mode (1,2,3,4,117,214).
> 2010-10-22 03:09:58.457 LIST -a
< 2010-10-22 03:09:58.582 150 Opening ASCII mode data connection for file list
< 2010-10-22 03:16:48.924 226 Transfer complete.
. 2010-10-22 03:16:48.924 Directory listing successful
. 2010-10-22 03:18:21.307 Startup conversation with host finished.
> 2010-10-22 03:18:21.370 PWD
< 2010-10-22 03:18:21.370 257 "/fatdir" is current directory.
> 2010-10-22 03:18:21.370 TYPE A
< 2010-10-22 03:18:21.370 200 Type set to A
> 2010-10-22 03:18:21.370 TYPE A
< 2010-10-22 03:18:21.370 200 Type set to A
> 2010-10-22 03:18:49.481 TYPE I
< 2010-10-22 03:18:49.481 200 Type set to I
. 2010-10-22 03:18:49.996 Retrieving directory listing...
> 2010-10-22 03:18:50.042 TYPE A
< 2010-10-22 03:18:50.136 200 Type set to A
> 2010-10-22 03:18:50.136 PASV
< 2010-10-22 03:18:50.261 227 Entering Passive Mode (1,2,3,4,117,72).
> 2010-10-22 03:18:50.261 LIST -a
< 2010-10-22 03:18:50.401 150 Opening ASCII mode data connection for file list
. 2010-10-22 03:22:50.376 Timeout detected.
. 2010-10-22 03:22:50.376 Could not retrieve directory listing
* 2010-10-22 03:22:50.438 (ESshFatal) Lost connection.
* 2010-10-22 03:22:50.438 Timeout detected.
* 2010-10-22 03:22:50.438 Could not retrieve directory listing
* 2010-10-22 03:22:50.438 Opening ASCII mode data connection for file list
. 2010-10-22 03:22:55.571 Connecting to ftp.example.com ...
. 2010-10-22 03:22:55.618 Connected with ftp.example.com. Waiting for welcome message...
< 2010-10-22 03:22:55.696 220 FTP Service
> 2010-10-22 03:22:55.696 USER myname
< 2010-10-22 03:22:55.758 331 Password required for myname.
> 2010-10-22 03:22:55.758 PASS *********
< 2010-10-22 03:22:55.867 230 User myname logged in.
> 2010-10-22 03:22:55.867 SYST
< 2010-10-22 03:22:55.930 215 UNIX Type: L8
> 2010-10-22 03:22:55.930 FEAT
< 2010-10-22 03:22:55.976 211-Features:
< 2010-10-22 03:22:55.976 MDTM
< 2010-10-22 03:22:55.976 REST STREAM
< 2010-10-22 03:22:55.976 SIZE
< 2010-10-22 03:22:55.976 211 End
. 2010-10-22 03:22:55.976 Connected
. 2010-10-22 03:22:55.976 Doing startup conversation with host.
. 2010-10-22 03:22:55.976 Changing directory to "/fatdir".
. 2010-10-22 03:22:55.976 Synchronizing current directory "/fatdir".
> 2010-10-22 03:22:55.976 CWD /fatdir
< 2010-10-22 03:22:56.039 250 CWD command successful
> 2010-10-22 03:22:56.039 CWD /fatdir
< 2010-10-22 03:22:56.086 250 CWD command successful
. 2010-10-22 03:22:56.086 Getting current directory name.
> 2010-10-22 03:22:56.086 PWD
< 2010-10-22 03:22:56.148 257 "/fatdir" is current directory.
. 2010-10-22 03:22:56.148 Retrieving directory listing...
> 2010-10-22 03:22:56.148 TYPE A
< 2010-10-22 03:22:56.195 200 Type set to A
> 2010-10-22 03:22:56.195 PASV
< 2010-10-22 03:22:56.257 227 Entering Passive Mode (1,2,3,4,117,211).
> 2010-10-22 03:22:56.257 LIST -a
< 2010-10-22 03:22:56.351 150 Opening ASCII mode data connection for file list
. 2010-10-22 03:29:31.920 Timeout detected.
. 2010-10-22 03:29:31.920 Could not retrieve directory listing
* 2010-10-22 03:30:13.915 (ESshFatal) Lost connection.
* 2010-10-22 03:30:13.915 Timeout detected.
* 2010-10-22 03:30:13.915 Could not retrieve directory listing
* 2010-10-22 03:30:13.915 Opening ASCII mode data connection for file list
* 2010-10-22 03:30:13.915 Error listing directory '/fatdir'.
. 2010-10-22 03:30:19.001 Connecting to ftp.example.com ...
. 2010-10-22 03:30:19.063 Connected with ftp.example.com. Waiting for welcome message...
< 2010-10-22 03:30:19.157 220 FTP Service
> 2010-10-22 03:30:19.157 USER myname
< 2010-10-22 03:30:19.204 331 Password required for myname.
> 2010-10-22 03:30:19.204 PASS *********
< 2010-10-22 03:30:19.282 230 User myname logged in.
> 2010-10-22 03:30:19.282 SYST
< 2010-10-22 03:30:19.344 215 UNIX Type: L8
> 2010-10-22 03:30:19.344 FEAT
< 2010-10-22 03:30:19.406 211-Features:
< 2010-10-22 03:30:19.406 MDTM
< 2010-10-22 03:30:19.406 REST STREAM
< 2010-10-22 03:30:19.406 SIZE
< 2010-10-22 03:30:19.406 211 End
. 2010-10-22 03:30:19.406 Connected
. 2010-10-22 03:30:19.406 Doing startup conversation with host.
. 2010-10-22 03:30:19.406 Changing directory to "/fatdir".
. 2010-10-22 03:30:19.406 Synchronizing current directory "/fatdir".
> 2010-10-22 03:30:19.406 CWD /fatdir
< 2010-10-22 03:30:19.469 250 CWD command successful
> 2010-10-22 03:30:19.469 CWD /fatdir
< 2010-10-22 03:30:19.531 250 CWD command successful
. 2010-10-22 03:30:19.531 Getting current directory name.
> 2010-10-22 03:30:19.531 PWD
< 2010-10-22 03:30:19.594 257 "/fatdir" is current directory.
. 2010-10-22 03:30:19.594 Retrieving directory listing...
> 2010-10-22 03:30:19.594 TYPE A
< 2010-10-22 03:30:19.656 200 Type set to A
> 2010-10-22 03:30:19.656 PASV
< 2010-10-22 03:30:19.718 227 Entering Passive Mode (1,2,3,4,117,207).
> 2010-10-22 03:30:19.718 LIST -a
< 2010-10-22 03:30:19.812 150 Opening ASCII mode data connection for file list
. 2010-10-22 03:37:23.430 Timeout detected.
. 2010-10-22 03:37:23.430 Could not retrieve directory listing
* 2010-10-22 03:37:23.430 (ESshFatal) Lost connection.
* 2010-10-22 03:37:23.430 Timeout detected.
* 2010-10-22 03:37:23.430 Could not retrieve directory listing
* 2010-10-22 03:37:23.430 Opening ASCII mode data connection for file list
* 2010-10-22 03:37:23.430 Error listing directory '/fatdir'.
. 2010-10-22 03:37:28.531 Connecting to ftp.example.com ...
. 2010-10-22 03:37:28.562 Connected with ftp.example.com. Waiting for welcome message...
< 2010-10-22 03:37:28.656 220 FTP Service
> 2010-10-22 03:37:28.656 USER myname
< 2010-10-22 03:37:28.734 331 Password required for myname.
> 2010-10-22 03:37:28.734 PASS *********
< 2010-10-22 03:37:28.828 230 User myname logged in.
> 2010-10-22 03:37:28.828 SYST
< 2010-10-22 03:37:28.890 215 UNIX Type: L8
> 2010-10-22 03:37:28.890 FEAT
< 2010-10-22 03:37:28.937 211-Features:
< 2010-10-22 03:37:28.937 MDTM
< 2010-10-22 03:37:28.937 REST STREAM
< 2010-10-22 03:37:28.937 SIZE
< 2010-10-22 03:37:28.937 211 End
. 2010-10-22 03:37:28.937 Connected
. 2010-10-22 03:37:28.937 Doing startup conversation with host.
. 2010-10-22 03:37:28.952 Changing directory to "/fatdir".
. 2010-10-22 03:37:28.952 Synchronizing current directory "/fatdir".
> 2010-10-22 03:37:28.952 CWD /fatdir
< 2010-10-22 03:37:28.999 250 CWD command successful
> 2010-10-22 03:37:28.999 CWD /fatdir
< 2010-10-22 03:37:29.062 250 CWD command successful
. 2010-10-22 03:37:29.062 Getting current directory name.
> 2010-10-22 03:37:29.062 PWD
< 2010-10-22 03:37:29.124 257 "/fatdir" is current directory.
. 2010-10-22 03:37:29.124 Retrieving directory listing...
> 2010-10-22 03:37:29.124 TYPE A
< 2010-10-22 03:37:29.186 200 Type set to A
> 2010-10-22 03:37:29.186 PASV
< 2010-10-22 03:37:29.233 227 Entering Passive Mode (1,2,3,4,117,174).
> 2010-10-22 03:37:29.233 LIST -a
< 2010-10-22 03:37:29.342 150 Opening ASCII mode data connection for file list
. 2010-10-22 03:43:47.736 Timeout detected.
. 2010-10-22 03:43:47.736 Could not retrieve directory listing
* 2010-10-22 03:43:47.736 (ESshFatal) Lost connection.
* 2010-10-22 03:43:47.736 Timeout detected.
* 2010-10-22 03:43:47.736 Could not retrieve directory listing
* 2010-10-22 03:43:47.736 Opening ASCII mode data connection for file list
* 2010-10-22 03:43:47.736 Error listing directory '/fatdir'.
. 2010-10-22 03:43:52.837 Connecting to ftp.example.com ...
. 2010-10-22 03:43:52.868 Connected with ftp.example.com. Waiting for welcome message...
< 2010-10-22 03:43:52.962 220 FTP Service
> 2010-10-22 03:43:52.962 USER myname
< 2010-10-22 03:43:53.024 331 Password required for myname.
> 2010-10-22 03:43:53.024 PASS *********
< 2010-10-22 03:43:53.134 230 User myname logged in.
> 2010-10-22 03:43:53.134 SYST
< 2010-10-22 03:43:53.180 215 UNIX Type: L8
> 2010-10-22 03:43:53.180 FEAT
< 2010-10-22 03:43:53.227 211-Features:
< 2010-10-22 03:43:53.227 MDTM
< 2010-10-22 03:43:53.227 REST STREAM
< 2010-10-22 03:43:53.227 SIZE
< 2010-10-22 03:43:53.227 211 End
. 2010-10-22 03:43:53.227 Connected
. 2010-10-22 03:43:53.227 Doing startup conversation with host.
. 2010-10-22 03:43:53.227 Changing directory to "/fatdir".
. 2010-10-22 03:43:53.227 Synchronizing current directory "/fatdir".
> 2010-10-22 03:43:53.227 CWD /fatdir
< 2010-10-22 03:43:53.290 250 CWD command successful
> 2010-10-22 03:43:53.290 CWD /fatdir
< 2010-10-22 03:43:53.336 250 CWD command successful
. 2010-10-22 03:43:53.336 Getting current directory name.
> 2010-10-22 03:43:53.336 PWD
< 2010-10-22 03:43:53.383 257 "/fatdir" is current directory.
. 2010-10-22 03:43:53.383 Retrieving directory listing...
> 2010-10-22 03:43:53.383 TYPE A
< 2010-10-22 03:43:53.430 200 Type set to A
> 2010-10-22 03:43:53.430 PASV
< 2010-10-22 03:43:53.477 227 Entering Passive Mode (1,2,3,4,117,176).
> 2010-10-22 03:43:53.477 LIST -a
< 2010-10-22 03:43:53.586 150 Opening ASCII mode data connection for file list
. 2010-10-22 03:51:24.052 Timeout detected.
. 2010-10-22 03:51:24.052 Could not retrieve directory listing
* 2010-10-22 03:51:24.067 (ESshFatal) Lost connection.
* 2010-10-22 03:51:24.067 Timeout detected.
* 2010-10-22 03:51:24.067 Could not retrieve directory listing
* 2010-10-22 03:51:24.067 Opening ASCII mode data connection for file list
* 2010-10-22 03:51:24.067 Error listing directory '/fatdir'.
. 2010-10-22 03:51:29.153 Connecting to ftp.example.com ...
. 2010-10-22 03:51:29.200 Connected with ftp.example.com. Waiting for welcome message...
< 2010-10-22 03:51:29.356 220 FTP Service
> 2010-10-22 03:51:29.356 USER myname
< 2010-10-22 03:51:29.418 331 Password required for myname.
> 2010-10-22 03:51:29.418 PASS *********
< 2010-10-22 03:51:29.512 230 User myname logged in.
> 2010-10-22 03:51:29.512 SYST
< 2010-10-22 03:51:29.574 215 UNIX Type: L8
> 2010-10-22 03:51:29.574 FEAT
< 2010-10-22 03:51:29.636 211-Features:
< 2010-10-22 03:51:29.636 MDTM
< 2010-10-22 03:51:29.636 REST STREAM
< 2010-10-22 03:51:29.636 SIZE
< 2010-10-22 03:51:29.636 211 End
. 2010-10-22 03:51:29.636 Connected
. 2010-10-22 03:51:29.636 Doing startup conversation with host.
. 2010-10-22 03:51:29.636 Changing directory to "/fatdir".
. 2010-10-22 03:51:29.636 Synchronizing current directory "/fatdir".
> 2010-10-22 03:51:29.636 CWD /fatdir
< 2010-10-22 03:51:29.699 250 CWD command successful
> 2010-10-22 03:51:29.699 CWD /fatdir
< 2010-10-22 03:51:29.761 250 CWD command successful
. 2010-10-22 03:51:29.761 Getting current directory name.
> 2010-10-22 03:51:29.761 PWD
< 2010-10-22 03:51:29.808 257 "/fatdir" is current directory.
. 2010-10-22 03:51:29.824 Retrieving directory listing...
> 2010-10-22 03:51:29.824 TYPE A
< 2010-10-22 03:51:29.870 200 Type set to A
> 2010-10-22 03:51:29.870 PASV
< 2010-10-22 03:51:29.917 227 Entering Passive Mode (1,2,3,4,117,136).
> 2010-10-22 03:51:29.917 LIST -a
< 2010-10-22 03:51:30.042 150 Opening ASCII mode data connection for file list
< 2010-10-22 03:55:04.402 226 Transfer complete.
. 2010-10-22 03:55:04.402 Directory listing successful
. 2010-10-22 03:55:38.269 Startup conversation with host finished.
> 2010-10-22 03:55:38.332 PWD
< 2010-10-22 03:55:38.332 257 "/fatdir" is current directory.
> 2010-10-22 03:56:05.304 REST 0
< 2010-10-22 03:56:05.304 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
> 2010-10-22 03:56:34.460 PWD
< 2010-10-22 03:56:34.975 257 "/fatdir" is current directory.
> 2010-10-22 03:57:04.756 REST 0
< 2010-10-22 03:57:05.270 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
. 2010-10-22 03:57:05.270 Retrieving directory listing...
> 2010-10-22 03:57:05.317 TYPE A
< 2010-10-22 03:57:05.426 200 Type set to A
> 2010-10-22 03:57:05.426 PASV
< 2010-10-22 03:57:05.551 227 Entering Passive Mode (1,2,3,4,117,127).
> 2010-10-22 03:57:05.551 LIST -a
< 2010-10-22 03:57:05.692 150 Opening ASCII mode data connection for file list
. 2010-10-22 04:01:05.074 Timeout detected.
. 2010-10-22 04:01:05.074 Could not retrieve directory listing
* 2010-10-22 04:01:05.152 (ESshFatal) Lost connection.
* 2010-10-22 04:01:05.152 Timeout detected.
* 2010-10-22 04:01:05.152 Could not retrieve directory listing
* 2010-10-22 04:01:05.152 Opening ASCII mode data connection for file list
. 2010-10-22 04:01:10.268 Connecting to ftp.example.com ...
. 2010-10-22 04:01:10.315 Connected with ftp.example.com. Waiting for welcome message...
< 2010-10-22 04:01:10.721 220 FTP Service
> 2010-10-22 04:01:10.721 USER myname
< 2010-10-22 04:01:10.783 331 Password required for myname.
> 2010-10-22 04:01:10.783 PASS *********
< 2010-10-22 04:01:10.877 230 User myname logged in.
> 2010-10-22 04:01:10.877 SYST
< 2010-10-22 04:01:10.924 215 UNIX Type: L8
> 2010-10-22 04:01:10.924 FEAT
< 2010-10-22 04:01:10.986 211-Features:
< 2010-10-22 04:01:10.986 MDTM
< 2010-10-22 04:01:10.986 REST STREAM
< 2010-10-22 04:01:10.986 SIZE
< 2010-10-22 04:01:10.986 211 End
. 2010-10-22 04:01:10.986 Connected
. 2010-10-22 04:01:10.986 Doing startup conversation with host.
. 2010-10-22 04:01:10.986 Changing directory to "/fatdir".
. 2010-10-22 04:01:10.986 Synchronizing current directory "/fatdir".
> 2010-10-22 04:01:10.986 CWD /fatdir
< 2010-10-22 04:01:11.048 250 CWD command successful
> 2010-10-22 04:01:11.048 CWD /fatdir
< 2010-10-22 04:01:11.111 250 CWD command successful
. 2010-10-22 04:01:11.111 Getting current directory name.
> 2010-10-22 04:01:11.111 PWD
< 2010-10-22 04:01:11.158 257 "/fatdir" is current directory.
. 2010-10-22 04:01:11.158 Retrieving directory listing...
> 2010-10-22 04:01:11.158 TYPE A
< 2010-10-22 04:01:11.220 200 Type set to A
> 2010-10-22 04:01:11.220 PASV
< 2010-10-22 04:01:11.267 227 Entering Passive Mode (1,2,3,4,117,173).
> 2010-10-22 04:01:11.267 LIST -a
< 2010-10-22 04:01:11.392 150 Opening ASCII mode data connection for file list
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
The timeouts I see in the log file, all happen after 4 minutes (240 seconds) or more. Are you sure the event you refer to is indeed recorded in the log file as posted?
_________________
Martin Prikryl
takeos
[View user's profile]

Joined: 2010-10-20
Posts: 5
prikryl wrote:
The timeouts I see in the log file, all happen after 4 minutes (240 seconds) or more. Are you sure the event you refer to is indeed recorded in the log file as posted?


Yes, I had probably set the timeout to 240 for this test. No matter whether I set the timeout to 240 seconds, or 480, it will still time out when trying to begin the move. For listing purposes (view only, no move), 120 seconds is enough on the same directory.

So part of my question was: if it was enough to list the files, and I could select them in the right pane, why does it time out when simply sending the move commands, which are now based on well-known file names? It doesn't need to do anything that takes as long as enumerating the files again, does it?

It also times out when selecting a single directory with lots of files in it. So I was wondering in my other part of the question whether there could perhaps be a more efficient strategy to enumerate/list and move only a few files at a time, so that it doesn't time out. I am sorry, I am not really an expert in what can be done with FTP Smile

Thanks!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Actually I do not see any file moving in the log file. Maybe the log file was truncated? Can you try posting shorter log file again? Or send it to me by an email.
_________________
Martin Prikryl
takeos
[View user's profile]

Joined: 2010-10-20
Posts: 5
prikryl wrote:
Actually I do not see any file moving in the log file. Maybe the log file was truncated? Can you try posting shorter log file again? Or send it to me by an email.


This is correct: not a single file was moved. I thought that maybe it timed out trying to enumerate the files again?
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