Topic "99% file drop"

Author Message
Luigi

Guest


Hello, I am having a problem when I try to put files to my ftp server. It gets up to 99% then for some reason the connection drops and it gives me this erroe message:
"Timeout dected. Copying files to remote side failed. Opening BINARY mode dataconnection for "file name here"".
It happens with every file that I try to put on, I would like to know if anyone has an solution to this.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
What is your FTP server?
_________________
Martin Prikryl
mrhuge
[View user's profile]

Joined: 2011-11-24
Posts: 4
Hi, Martin!

I have the same issue on one of my ftp servers.

When I download large files from server (for example more 60 MB), when download comes to 99%, winscp hangs then shows this:

Lost connection.
Timeout detected.
Copying files from remote side failed.
Opening BINARY mode data connection for file.zip (77644380 bytes)

And then winscp reconnects by itself and finishes download. File size on hard drive seems to have the same size as on server. Buy I don't know for sure if downloading was completed or not.

Is it safe to use site backup archives, which are downloaded through such reconnect? Is such download finished?

Here's session log:

Code:
--------------------------------------------------------------------------
WinSCP Version 4.3.5 (Build 1463) (OS 5.1.2600 Service Pack 3)
Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
Local account: ANDREY\Admin
Login time: 24 Ноябрь 2011 г. 16:41:36
--------------------------------------------------------------------------
Session name: v002261@v2.fastvps.ru (Stored session)
Host name: v2.fastvps.ru (Port: 21)
User name: v002261 (Password: Yes, Key file: No)
Tunnel: No
Transfer Protocol: FTP
Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
Proxy: none
FTP: FTPS: None; Passive: Yes [Force IP: No]
Local directory: default, Remote directory: home, Update: No, Cache: Yes
Cache directory changes: Yes, Permanent: Yes
DST mode: 1
--------------------------------------------------------------------------
Connecting to v2.fastvps.ru ...
Connected with v2.fastvps.ru. Waiting for welcome message...
220 213.239.201.135 FTP server ready
USER v002261
331 Password required for v002261
PASS **********
230 User v002261 logged in
SYST
215 UNIX Type: L8
FEAT
211-Features:
 LANG en
 MDTM
 UTF8
 REST STREAM
 SIZE
211 End
OPTS UTF8 ON
200 UTF8 set to on
Connected
--------------------------------------------------------------------------
Using FTP protocol.
Doing startup conversation with host.
PWD
257 "/" is the current directory
Getting current directory name.
Retrieving directory listing...
TYPE A
200 Type set to A
PASV
227 Entering Passive Mode (213,239,201,135,93,95).
LIST -a
150 Opening ASCII mode data connection for file list
226 Transfer complete
Directory listing successful
Reading symlink "public_html".
Reading symlink "tmp".
Startup conversation with host finished.
Cached directory change via "www" to "/www".
Getting current directory name.
Retrieving directory listing...
CWD /www/
250 CWD command successful
PWD
257 "/www" is the current directory
TYPE A
200 Type set to A
PASV
227 Entering Passive Mode (213,239,201,135,228,136).
LIST -a
150 Opening ASCII mode data connection for file list
226 Transfer complete
Directory listing successful
Cached directory change via "muzalliance.ru" to "/www/muzalliance.ru".
Getting current directory name.
Retrieving directory listing...
CWD /www/muzalliance.ru/
250 CWD command successful
PWD
257 "/www/muzalliance.ru" is the current directory
TYPE A
200 Type set to A
PASV
227 Entering Passive Mode (213,239,201,135,96,109).
LIST -a
150 Opening ASCII mode data connection for file list
226 Transfer complete
Directory listing successful
Cached directory change via "administrator" to "/www/muzalliance.ru/administrator".
Getting current directory name.
Retrieving directory listing...
CWD /www/muzalliance.ru/administrator/
250 CWD command successful
PWD
257 "/www/muzalliance.ru/administrator" is the current directory
TYPE A
200 Type set to A
PASV
227 Entering Passive Mode (213,239,201,135,135,63).
LIST -a
150 Opening ASCII mode data connection for file list
226 Transfer complete
Directory listing successful
Cached directory change via "components" to "/www/muzalliance.ru/administrator/components".
Getting current directory name.
Retrieving directory listing...
CWD /www/muzalliance.ru/administrator/components/
250 CWD command successful
PWD
257 "/www/muzalliance.ru/administrator/components" is the current directory
TYPE A
200 Type set to A
PASV
227 Entering Passive Mode (213,239,201,135,138,46).
LIST -a
150 Opening ASCII mode data connection for file list
226 Transfer complete
Directory listing successful
Cached directory change via "com_akeeba" to "/www/muzalliance.ru/administrator/components/com_akeeba".
Getting current directory name.
Retrieving directory listing...
CWD /www/muzalliance.ru/administrator/components/com_akeeba/
250 CWD command successful
PWD
257 "/www/muzalliance.ru/administrator/components/com_akeeba" is the current directory
TYPE A
200 Type set to A
PASV
227 Entering Passive Mode (213,239,201,135,72,161).
LIST -a
150 Opening ASCII mode data connection for file list
226 Transfer complete
Directory listing successful
Cached directory change via "backup" to "/www/muzalliance.ru/administrator/components/com_akeeba/backup".
Getting current directory name.
Retrieving directory listing...
CWD /www/muzalliance.ru/administrator/components/com_akeeba/backup/
250 CWD command successful
PWD
257 "/www/muzalliance.ru/administrator/components/com_akeeba/backup" is the current directory
TYPE A
200 Type set to A
PASV
227 Entering Passive Mode (213,239,201,135,176,206).
LIST -a
150 Opening ASCII mode data connection for file list
226 Transfer complete
Directory listing successful
File: "/www/muzalliance.ru/administrator/components/com_akeeba/backup/site-muzalliance.ru-20111124-115747.zip"
Copying "/www/muzalliance.ru/administrator/components/com_akeeba/backup/site-muzalliance.ru-20111124-115747.zip" to local directory started.
Binary transfer mode selected.
Starting download of /www/muzalliance.ru/administrator/components/com_akeeba/backup/site-muzalliance.ru-20111124-115747.zip
TYPE I
200 Type set to I
PASV
227 Entering Passive Mode (213,239,201,135,177,156).
RETR site-muzalliance.ru-20111124-115747.zip
150 Opening BINARY mode data connection for site-muzalliance.ru-20111124-115747.zip (77644380 bytes)
Timeout detected.
Copying files from remote side failed.
Connection was lost, asking what to do.
Asking user:
Lost connection. ("Timeout detected.","Copying files from remote side failed.","Opening BINARY mode data connection for site-muzalliance.ru-20111124-115747.zip (77644380 bytes)")
Connecting to v2.fastvps.ru ...
Connected with v2.fastvps.ru. Waiting for welcome message...
220 213.239.201.135 FTP server ready
USER v002261
331 Password required for v002261
PASS **********
230 User v002261 logged in
SYST
215 UNIX Type: L8
FEAT
211-Features:
 LANG en
 MDTM
 UTF8
 REST STREAM
 SIZE
211 End
OPTS UTF8 ON
200 UTF8 set to on
Connected
Doing startup conversation with host.
PWD
257 "/" is the current directory
Changing directory to "/www/muzalliance.ru/administrator/components/com_akeeba/backup".
CWD /www/muzalliance.ru/administrator/components/com_akeeba/backup
250 CWD command successful
Getting current directory name.
PWD
257 "/www/muzalliance.ru/administrator/components/com_akeeba/backup" is the current directory
Startup conversation with host finished.
File: "/www/muzalliance.ru/administrator/components/com_akeeba/backup/site-muzalliance.ru-20111124-115747.zip"
Copying "/www/muzalliance.ru/administrator/components/com_akeeba/backup/site-muzalliance.ru-20111124-115747.zip" to local directory started.
Binary transfer mode selected.
Starting download of /www/muzalliance.ru/administrator/components/com_akeeba/backup/site-muzalliance.ru-20111124-115747.zip
TYPE A
200 Type set to A
PASV
227 Entering Passive Mode (213,239,201,135,178,141).
LIST -a
150 Opening ASCII mode data connection for file list
226 Transfer complete
TYPE I
200 Type set to I
PASV
227 Entering Passive Mode (213,239,201,135,105,160).
REST 77644380
350 Restarting at 77644380. Send STORE or RETRIEVE to initiate transfer
RETR site-muzalliance.ru-20111124-115747.zip
150 Opening BINARY mode data connection for site-muzalliance.ru-20111124-115747.zip
226 Transfer complete
Download successful


-Andrey
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Any chance of having a test account on your server?
Also have you tried increasing server response timeout?
_________________
Martin Prikryl
mrhuge
[View user's profile]

Joined: 2011-11-24
Posts: 4
Hi, Martin.

You mean me to give you server, login and password for ftp on my server? Yes I can send it in private.

Honestly, I don't know where to change this server response.
mrhuge
[View user's profile]

Joined: 2011-11-24
Posts: 4
Sent you account info to your e-mail from your profile.
mrhuge
[View user's profile]

Joined: 2011-11-24
Posts: 4
Martin had no problems downloading my big file, but I still have. Maybe it's because of my russian internet provider or wifi router. My hosting-provider and winscp developer believe it is safe to use such dropped/reconnected files, so I will use them.

Thanks Martin for his great program.
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