Script: Copying files to remote side failed Can't open data

Advertisement

EnT
Guest

Script: Copying files to remote side failed Can't open data

Hi,
I am running this command:

WinSCP.com /script=Cor.txt

which runs this script:

option confirm off
open xxx.xxx.net -passive=on
option transfer binary
lcd "t:\\Client reporting\Equi FTP HotFolder"
cd /
cd "Development/In/Client Reporting/Hot Folder"
put -delete *.*
exit

But it always fails (at different point/files) mid way through coping the files with this error:

...
futnfwds.pdf | 4144 KiB | 4099.4 KiB/s | binary | 100%
fx.pdf | 0 KiB | 1502.5 KiB/s | binary | 0%
Error transferring file 'fx.pdf'.
Copying files to remote side failed.
Can't open data connection.
(A)bort, (R)etry, (S)kip, Ski(p) all: Abort

Can you advise what the problem may be? Here is the log:
(I have changed some of the more company specific information)


. 2013-09-06 14:32:29.440 --------------------------------------------------------------------------
. 2013-09-06 14:32:29.440 WinSCP Version 5.1.7 (Build 3446) (OS 6.1.7601 Service Pack 1)
. 2013-09-06 14:32:29.440 Configuration: D:\Apps\Batch\Prod\Scheduled_Tasks\Miscellaneous\Cor\winscp517\WinSCP.ini
. 2013-09-06 14:32:29.471 Local account: AMI-LONDON\svr_dimenbatchprod
. 2013-09-06 14:32:29.471 Working directory: D:\Apps\Batch\Prod\Scheduled_Tasks\Miscellaneous\Cor\winscp517
. 2013-09-06 14:32:29.471 Process ID: 55416
. 2013-09-06 14:32:29.471 Command-line: "D:\Apps\Batch\Prod\Scheduled_Tasks\Miscellaneous\Cor\winscp517\WinSCP.exe" /console=517 /consoleinstance=_60972_403 "/script=Cor.txt" "/timeout=60"
. 2013-09-06 14:32:29.471 Time zone: Current: GMT+1, Standard: GMT+0, DST: GMT+1, DST Start: 31/03/2013, DST End: 27/10/2013
. 2013-09-06 14:32:29.471 Login time: 06 September 2013 14:32:29
. 2013-09-06 14:32:29.471 --------------------------------------------------------------------------
. 2013-09-06 14:32:29.471 Session name: xxx.xxx.net (Stored session)
. 2013-09-06 14:32:29.471 Host name: xxx.xxx.net (Port: 990)
. 2013-09-06 14:32:29.471 User name: xxxftp (Password: Yes, Key file: No)
. 2013-09-06 14:32:29.471 Tunnel: No
. 2013-09-06 14:32:29.471 Transfer Protocol: FTP
. 2013-09-06 14:32:29.471 Ping type: C, Ping interval: 30 sec; Timeout: 30 sec
. 2013-09-06 14:32:29.471 Proxy: none
. 2013-09-06 14:32:29.471 FTP: FTPS: Implicit SSL/TLS; Passive: Yes [Force IP: A]; List all: A
. 2013-09-06 14:32:29.471 Session reuse: Yes
. 2013-09-06 14:32:29.471 Local directory: default, Remote directory: /Production/In/Client Reporting/Hot Folder, Update: No, Cache: No
. 2013-09-06 14:32:29.471 Cache directory changes: No, Permanent: Yes
. 2013-09-06 14:32:29.471 DST mode: 1; Timezone offset: 0h 0m
. 2013-09-06 14:32:29.471 --------------------------------------------------------------------------
. 2013-09-06 14:32:29.643 Connecting to xxx.xxx.net:990 ...
. 2013-09-06 14:32:29.877 m_pSslLayer changed state from 0 to 1
. 2013-09-06 14:32:29.877 m_pSslLayer changed state from 1 to 2
. 2013-09-06 14:32:29.892 m_pSslLayer changed state from 2 to 4
. 2013-09-06 14:32:29.892 Connected with xxx.xxx.net:990, negotiating SSL connection...
. 2013-09-06 14:32:29.908 SSL_connect: SSLv3 read server hello A
. 2013-09-06 14:32:29.908 SSL_connect: SSLv3 read server certificate A
. 2013-09-06 14:32:29.908 SSL_connect: SSLv3 read server done A
. 2013-09-06 14:32:29.908 SSL_connect: SSLv3 write client key exchange A
. 2013-09-06 14:32:29.908 SSL_connect: SSLv3 write change cipher spec A
. 2013-09-06 14:32:29.908 SSL_connect: SSLv3 write finished A
. 2013-09-06 14:32:29.908 SSL_connect: SSLv3 flush data
. 2013-09-06 14:32:29.939 SSL_connect: SSLv3 read server session ticket A
. 2013-09-06 14:32:29.939 SSL_connect: SSLv3 read finished A
. 2013-09-06 14:32:29.939 Using TLSv1, cipher TLSv1/SSLv3: AES256-SHA, 1024 bit RSA
. 2013-09-06 14:32:29.939 SSL connection established. Waiting for welcome message...
< 2013-09-06 14:32:29.939 220-FileZilla Server version 0.9.41 beta
< 2013-09-06 14:32:29.939 220-written by Tim Kosse (Tim.Kosse@gmx.de)
< 2013-09-06 14:32:29.939 220 Please visit http://sourceforge.net/projects/filezilla/
> 2013-09-06 14:32:29.939 USER xxxftp
< 2013-09-06 14:32:29.939 331 Password required for xxxftp
> 2013-09-06 14:32:29.939 PASS *************
< 2013-09-06 14:32:29.955 230 Logged on
> 2013-09-06 14:32:29.955 SYST
< 2013-09-06 14:32:29.970 215 UNIX emulated by FileZilla
> 2013-09-06 14:32:29.970 FEAT
< 2013-09-06 14:32:29.986 211-Features:
< 2013-09-06 14:32:29.986 MDTM
< 2013-09-06 14:32:29.986 REST STREAM
< 2013-09-06 14:32:29.986 SIZE
< 2013-09-06 14:32:29.986 MLST type*;size*;modify*;
< 2013-09-06 14:32:29.986 MLSD
< 2013-09-06 14:32:29.986 AUTH SSL
< 2013-09-06 14:32:29.986 AUTH TLS
< 2013-09-06 14:32:29.986 PROT
< 2013-09-06 14:32:29.986 PBSZ
< 2013-09-06 14:32:29.986 UTF8
< 2013-09-06 14:32:29.986 CLNT
< 2013-09-06 14:32:29.986 MFMT
< 2013-09-06 14:32:29.986 211 End
> 2013-09-06 14:32:29.986 PBSZ 0
< 2013-09-06 14:32:29.986 200 PBSZ=0
> 2013-09-06 14:32:29.986 PROT P
< 2013-09-06 14:32:30.001 200 Protection level set to P
. 2013-09-06 14:32:30.001 Connected
. 2013-09-06 14:32:30.001 Got reply 1 to the command 1
. 2013-09-06 14:32:30.001 --------------------------------------------------------------------------
. 2013-09-06 14:32:30.001 Using FTP protocol.
. 2013-09-06 14:32:30.001 Doing startup conversation with host.
> 2013-09-06 14:32:30.001 PWD
< 2013-09-06 14:32:30.017 257 "/" is current directory.
. 2013-09-06 14:32:30.017 Got reply 1 to the command 16
. 2013-09-06 14:32:30.017 Changing directory to "/Production/In/Client Reporting/Hot Folder".
> 2013-09-06 14:32:30.017 CWD /Production/In/Client Reporting/Hot Folder
< 2013-09-06 14:32:30.017 250 CWD successful. "/Production/In/Client Reporting/Hot Folder" is current directory.
. 2013-09-06 14:32:30.017 Got reply 1 to the command 16
. 2013-09-06 14:32:30.017 Getting current directory name.
> 2013-09-06 14:32:30.017 PWD
< 2013-09-06 14:32:30.033 257 "/Production/In/Client Reporting/Hot Folder" is current directory.
. 2013-09-06 14:32:30.033 Got reply 1 to the command 16
. 2013-09-06 14:32:30.033 Startup conversation with host finished.
< 2013-09-06 14:32:30.033 Script: Active session: [1] xxxftp@xxx.xxx.net
. 2013-09-06 14:32:30.033 Session upkeep
> 2013-09-06 14:32:30.033 Script: option transfer binary
< 2013-09-06 14:32:30.033 Script: transfer binary
. 2013-09-06 14:32:30.033 Session upkeep
. 2013-09-06 14:32:30.033 Session upkeep
> 2013-09-06 14:32:30.033 Script: lcd "t:\\Client reporting\Equi FTP HotFolder"
< 2013-09-06 14:32:30.033 Script: t:\Client reporting\Equi FTP HotFolder
. 2013-09-06 14:32:30.033 Session upkeep
> 2013-09-06 14:32:30.033 Script: cd /
. 2013-09-06 14:32:30.033 Changing directory to "/".
> 2013-09-06 14:32:30.033 CWD /
< 2013-09-06 14:32:30.048 250 CWD successful. "/" is current directory.
. 2013-09-06 14:32:30.048 Got reply 1 to the command 16
. 2013-09-06 14:32:30.048 Getting current directory name.
> 2013-09-06 14:32:30.048 PWD
< 2013-09-06 14:32:30.064 257 "/" is current directory.
. 2013-09-06 14:32:30.064 Got reply 1 to the command 16
< 2013-09-06 14:32:30.064 Script: /
. 2013-09-06 14:32:30.064 Session upkeep
> 2013-09-06 14:32:30.064 Script: cd "Development/In/Client Reporting/Hot Folder"
. 2013-09-06 14:32:30.064 Changing directory to "Development/In/Client Reporting/Hot Folder".
> 2013-09-06 14:32:30.064 CWD Development/In/Client Reporting/Hot Folder
< 2013-09-06 14:32:30.079 250 CWD successful. "/Development/In/Client Reporting/Hot Folder" is current directory.
. 2013-09-06 14:32:30.079 Got reply 1 to the command 16
. 2013-09-06 14:32:30.079 Getting current directory name.
> 2013-09-06 14:32:30.079 PWD
< 2013-09-06 14:32:30.079 257 "/Development/In/Client Reporting/Hot Folder" is current directory.
. 2013-09-06 14:32:30.079 Got reply 1 to the command 16
< 2013-09-06 14:32:30.079 Script: /Development/In/Client Reporting/Hot Folder
. 2013-09-06 14:32:30.079 Session upkeep
> 2013-09-06 14:32:30.079 Script: put -delete *.*
. 2013-09-06 14:32:30.079 Copying 65 files/directories to remote directory "/Development/In/Client Reporting/Hot Folder"
. 2013-09-06 14:32:30.079 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (Yes); FnCs: N; RIC: 0100; Resume: Y (102400); CalcS: No; Mask:
. 2013-09-06 14:32:30.079 TM: B; ClAr: No; CPS: 0; InclM:
. 2013-09-06 14:32:30.079 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2013-09-06 14:32:30.079 File: "facmata.pdf"
. 2013-09-06 14:32:30.142 Copying "facmata.pdf" to remote directory started.
. 2013-09-06 14:32:30.142 Binary transfer mode selected.
. 2013-09-06 14:32:30.142 Starting upload of facmata.pdf
> 2013-09-06 14:32:30.142 TYPE A
< 2013-09-06 14:32:30.157 200 Type set to A
> 2013-09-06 14:32:30.157 PASV
< 2013-09-06 14:32:30.157 227 Entering Passive Mode (168,63,10,127,234,97)
> 2013-09-06 14:32:30.157 MLSD
. 2013-09-06 14:32:30.173 Trying reuse main SSL session ID
. 2013-09-06 14:32:30.173 m_pSslLayer changed state from 0 to 4
< 2013-09-06 14:32:30.189 150 Connection accepted
. 2013-09-06 14:32:30.189 Session ID reused
. 2013-09-06 14:32:30.189 SSL connection established
< 2013-09-06 14:32:30.204 226 Transfer OK
. 2013-09-06 14:32:30.204 m_pSslLayer changed state from 4 to 5
. 2013-09-06 14:32:30.204 type=file;modify=20130705120023;size=102912; 130630_0904FRR_MTD_SOURCE_TRANSACTIONS.xls
. 2013-09-06 14:32:30.204 type=file;modify=20120717093251;size=693485; cbuci52.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20120710051150;size=1511889; cdef.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20071011122135;size=2637841; cds.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20070828114119;size=1778526; cfd.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20110201134741;size=932069; chtavi49.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20110712120145;size=872428; chtavi50.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20120119151300;size=605194; chtavi51.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20120727092128;size=707917; chtavi52.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20120302094123;size=2469714; clientre.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20070620100655;size=4288395; climan.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20120113075826;size=3477747; collaadm.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20120516070830;size=476663; commseri.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20111202115533;size=1466278; commserv.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20100503065918;size=2594387; complmng.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20110816064857;size=2490169; composit.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20110322134607;size=2200482; corpact.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20130906111158;size=12560; CR_COMMENTARY_CLIENTCODE_31MAR2013.docx
. 2013-09-06 14:32:30.204 type=file;modify=20120710051420;size=1620789; csdef.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20120601134215;size=3344773; ctm.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20120228085640;size=448788; dataclup.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20070123161028;size=4632734; dataextr.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20120515101634;size=848495; equit.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20110224141157;size=2471166; euro.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20101230090113;size=5323248; faclm.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20121123154447;size=3210438; facma.pdf
. 2013-09-06 14:32:30.204 type=file;modify=20130906133030;size=294912; facmata.pdf
> 2013-09-06 14:32:30.204 TYPE I
< 2013-09-06 14:32:30.220 200 Type set to I
> 2013-09-06 14:32:30.220 PASV
< 2013-09-06 14:32:30.220 227 Entering Passive Mode (168,63,10,127,234,98)
> 2013-09-06 14:32:30.220 STOR facmata.pdf
< 2013-09-06 14:32:30.251 150 Connection accepted
. 2013-09-06 14:32:30.251 Trying reuse main SSL session ID
. 2013-09-06 14:32:30.251 m_pSslLayer changed state from 0 to 4
. 2013-09-06 14:32:30.267 Session ID reused
. 2013-09-06 14:32:30.267 SSL connection established
< 2013-09-06 14:32:30.797 226 Transfer OK
> 2013-09-06 14:32:30.797 MFMT 20091103191206 facmata.pdf
< 2013-09-06 14:32:30.797 213 modify=20091103191206; /Development/In/Client Reporting/Hot Folder/facmata.pdf
. 2013-09-06 14:32:30.797 Upload successful
. 2013-09-06 14:32:30.797 Got reply 1 to the command 4
. 2013-09-06 14:32:30.813 File: "fap.pdf"
. 2013-09-06 14:32:30.844 Copying "fap.pdf" to remote directory started.
. 2013-09-06 14:32:30.844 Binary transfer mode selected.
. 2013-09-06 14:32:30.844 Starting upload of fap.pdf
> 2013-09-06 14:32:30.844 TYPE I
< 2013-09-06 14:32:30.859 200 Type set to I
> 2013-09-06 14:32:30.859 PASV
< 2013-09-06 14:32:30.859 227 Entering Passive Mode (168,63,10,127,234,99)
> 2013-09-06 14:32:30.859 STOR fap.pdf
< 2013-09-06 14:32:30.891 150 Connection accepted
. 2013-09-06 14:32:30.891 Trying reuse main SSL session ID
. 2013-09-06 14:32:30.906 m_pSslLayer changed state from 0 to 4
. 2013-09-06 14:32:30.922 Session ID reused
. 2013-09-06 14:32:30.922 SSL connection established
< 2013-09-06 14:32:31.561 226 Transfer OK
> 2013-09-06 14:32:31.561 MFMT 20100705071417 fap.pdf
< 2013-09-06 14:32:31.577 213 modify=20100705071417; /Development/In/Client Reporting/Hot Folder/fap.pdf
. 2013-09-06 14:32:31.577 Upload successful
. 2013-09-06 14:32:31.577 Got reply 1 to the command 4
. 2013-09-06 14:32:31.593 File: "fndaccs.pdf"
. 2013-09-06 14:32:31.639 Copying "fndaccs.pdf" to remote directory started.
. 2013-09-06 14:32:31.639 Binary transfer mode selected.
. 2013-09-06 14:32:31.639 Starting upload of fndaccs.pdf
> 2013-09-06 14:32:31.639 TYPE I
< 2013-09-06 14:32:31.655 200 Type set to I
> 2013-09-06 14:32:31.655 PASV
< 2013-09-06 14:32:31.655 227 Entering Passive Mode (168,63,10,127,234,100)
> 2013-09-06 14:32:31.655 STOR fndaccs.pdf
< 2013-09-06 14:32:31.686 150 Connection accepted
. 2013-09-06 14:32:31.686 Trying reuse main SSL session ID
. 2013-09-06 14:32:31.686 m_pSslLayer changed state from 0 to 4
. 2013-09-06 14:32:31.702 Session ID reused
. 2013-09-06 14:32:31.702 SSL connection established
< 2013-09-06 14:32:32.185 226 Transfer OK
> 2013-09-06 14:32:32.185 MFMT 20120430105719 fndaccs.pdf
< 2013-09-06 14:32:32.201 213 modify=20120430105719; /Development/In/Client Reporting/Hot Folder/fndaccs.pdf
. 2013-09-06 14:32:32.201 Upload successful
. 2013-09-06 14:32:32.201 Got reply 1 to the command 4
. 2013-09-06 14:32:32.248 File: "fundadms.pdf"
. 2013-09-06 14:32:32.295 Copying "fundadms.pdf" to remote directory started.
. 2013-09-06 14:32:32.310 Binary transfer mode selected.
. 2013-09-06 14:32:32.310 Starting upload of fundadms.pdf
> 2013-09-06 14:32:32.310 TYPE I
< 2013-09-06 14:32:32.310 200 Type set to I
> 2013-09-06 14:32:32.310 PASV
< 2013-09-06 14:32:32.326 227 Entering Passive Mode (168,63,10,127,234,101)
> 2013-09-06 14:32:32.326 STOR fundadms.pdf
< 2013-09-06 14:32:32.357 150 Connection accepted
. 2013-09-06 14:32:32.357 Trying reuse main SSL session ID
. 2013-09-06 14:32:32.357 m_pSslLayer changed state from 0 to 4
. 2013-09-06 14:32:32.373 Session ID reused
. 2013-09-06 14:32:32.373 SSL connection established
< 2013-09-06 14:32:33.059 226 Transfer OK
> 2013-09-06 14:32:33.059 MFMT 20120425124119 fundadms.pdf
< 2013-09-06 14:32:33.075 213 modify=20120425124119; /Development/In/Client Reporting/Hot Folder/fundadms.pdf
. 2013-09-06 14:32:33.075 Upload successful
. 2013-09-06 14:32:33.075 Got reply 1 to the command 4
. 2013-09-06 14:32:33.122 File: "fundcert.pdf"
. 2013-09-06 14:32:33.137 Copying "fundcert.pdf" to remote directory started.
. 2013-09-06 14:32:33.137 Binary transfer mode selected.
. 2013-09-06 14:32:33.153 Starting upload of fundcert.pdf
> 2013-09-06 14:32:33.153 TYPE I
< 2013-09-06 14:32:33.153 200 Type set to I
> 2013-09-06 14:32:33.153 PASV
< 2013-09-06 14:32:33.168 227 Entering Passive Mode (168,63,10,127,234,102)
> 2013-09-06 14:32:33.168 STOR fundcert.pdf
< 2013-09-06 14:32:33.200 150 Connection accepted
. 2013-09-06 14:32:33.200 Trying reuse main SSL session ID
. 2013-09-06 14:32:33.200 m_pSslLayer changed state from 0 to 4
. 2013-09-06 14:32:33.200 Session ID reused
. 2013-09-06 14:32:33.200 SSL connection established
< 2013-09-06 14:32:34.089 226 Transfer OK
> 2013-09-06 14:32:34.104 MFMT 20100518122012 fundcert.pdf
< 2013-09-06 14:32:34.104 213 modify=20100518122012; /Development/In/Client Reporting/Hot Folder/fundcert.pdf
. 2013-09-06 14:32:34.104 Upload successful
. 2013-09-06 14:32:34.104 Got reply 1 to the command 4
. 2013-09-06 14:32:34.136 File: "fundops.pdf"
. 2013-09-06 14:32:34.182 Copying "fundops.pdf" to remote directory started.
. 2013-09-06 14:32:34.182 Binary transfer mode selected.
. 2013-09-06 14:32:34.182 Starting upload of fundops.pdf
> 2013-09-06 14:32:34.182 TYPE I
< 2013-09-06 14:32:34.198 200 Type set to I
> 2013-09-06 14:32:34.198 PASV
< 2013-09-06 14:32:34.198 227 Entering Passive Mode (168,63,10,127,234,103)
> 2013-09-06 14:32:34.198 STOR fundops.pdf
< 2013-09-06 14:32:34.229 150 Connection accepted
. 2013-09-06 14:32:34.229 Trying reuse main SSL session ID
. 2013-09-06 14:32:34.229 m_pSslLayer changed state from 0 to 4
. 2013-09-06 14:32:34.245 Session ID reused
. 2013-09-06 14:32:34.245 SSL connection established
< 2013-09-06 14:32:35.087 226 Transfer OK
> 2013-09-06 14:32:35.087 MFMT 20120423113750 fundops.pdf
< 2013-09-06 14:32:35.103 213 modify=20120423113750; /Development/In/Client Reporting/Hot Folder/fundops.pdf
. 2013-09-06 14:32:35.103 Upload successful
. 2013-09-06 14:32:35.103 Got reply 1 to the command 4
. 2013-09-06 14:32:35.150 File: "futnfwds.pdf"
. 2013-09-06 14:32:35.196 Copying "futnfwds.pdf" to remote directory started.
. 2013-09-06 14:32:35.196 Binary transfer mode selected.
. 2013-09-06 14:32:35.196 Starting upload of futnfwds.pdf
> 2013-09-06 14:32:35.212 TYPE I
< 2013-09-06 14:32:35.212 200 Type set to I
> 2013-09-06 14:32:35.212 PASV
< 2013-09-06 14:32:35.228 227 Entering Passive Mode (168,63,10,127,234,104)
> 2013-09-06 14:32:35.228 STOR futnfwds.pdf
< 2013-09-06 14:32:35.259 150 Connection accepted
. 2013-09-06 14:32:35.259 Trying reuse main SSL session ID
. 2013-09-06 14:32:35.259 m_pSslLayer changed state from 0 to 4
. 2013-09-06 14:32:35.259 Session ID reused
. 2013-09-06 14:32:35.259 SSL connection established
< 2013-09-06 14:32:36.273 226 Transfer OK
> 2013-09-06 14:32:36.273 MFMT 20110510075650 futnfwds.pdf
< 2013-09-06 14:32:36.288 213 modify=20110510075650; /Development/In/Client Reporting/Hot Folder/futnfwds.pdf
. 2013-09-06 14:32:36.288 Upload successful
. 2013-09-06 14:32:36.288 Got reply 1 to the command 4
. 2013-09-06 14:32:36.335 File: "fx.pdf"
. 2013-09-06 14:32:36.351 Copying "fx.pdf" to remote directory started.
. 2013-09-06 14:32:36.351 Binary transfer mode selected.
. 2013-09-06 14:32:36.351 Starting upload of fx.pdf
> 2013-09-06 14:32:36.351 TYPE I
< 2013-09-06 14:32:36.366 200 Type set to I
> 2013-09-06 14:32:36.366 PASV
< 2013-09-06 14:32:36.382 227 Entering Passive Mode (168,63,10,127,234,96)
> 2013-09-06 14:32:36.382 STOR fx.pdf
< 2013-09-06 14:32:46.850 425 Can't open data connection.
. 2013-09-06 14:32:46.850 Copying files to remote side failed.
. 2013-09-06 14:32:46.850 Got reply 4 to the command 4
* 2013-09-06 14:32:46.850 (ExtException) Copying files to remote side failed.
* 2013-09-06 14:32:46.850 Can't open data connection.
. 2013-09-06 14:32:46.850 Asking user:
. 2013-09-06 14:32:46.850 Error transferring file 'fx.pdf'. ("Copying files to remote side failed.","Can't open data connection.")
< 2013-09-06 14:32:46.850 Script: Error transferring file 'fx.pdf'.
< 2013-09-06 14:32:46.850 Script: Copying files to remote side failed.

< 2013-09-06 14:32:46.850 Can't open data connection.
* 2013-09-06 14:45:11.462 (EScpSkipFile) Error transferring file 'fx.pdf'.
* 2013-09-06 14:45:11.462 Copying files to remote side failed.
* 2013-09-06 14:45:11.462 Can't open data connection.
. 2013-09-06 14:45:11.462 Script: Failed
. 2013-09-06 14:45:11.462 Session upkeep
> 2013-09-06 14:45:11.462 TYPE I
< 2013-09-06 14:45:11.462 200 Type set to I
> 2013-09-06 14:45:11.462 TYPE I
< 2013-09-06 14:45:11.462 200 Type set to I
> 2013-09-06 14:45:11.462 TYPE A
< 2013-09-06 14:45:11.462 200 Type set to A
> 2013-09-06 14:45:11.462 TYPE I
< 2013-09-06 14:45:11.462 200 Type set to I
> 2013-09-06 14:45:11.462 TYPE A
< 2013-09-06 14:45:11.462 200 Type set to A
> 2013-09-06 14:45:11.462 TYPE A
< 2013-09-06 14:45:11.462 200 Type set to A
> 2013-09-06 14:45:11.462 REST 0
< 2013-09-06 14:45:11.462 350 Rest supported. Restarting at 0
> 2013-09-06 14:45:11.462 REST 0
< 2013-09-06 14:45:11.462 350 Rest supported. Restarting at 0
> 2013-09-06 14:45:11.462 TYPE I
< 2013-09-06 14:45:11.462 200 Type set to I
> 2013-09-06 14:45:11.462 TYPE I
< 2013-09-06 14:45:11.462 200 Type set to I
> 2013-09-06 14:45:11.462 REST 0
< 2013-09-06 14:45:11.462 350 Rest supported. Restarting at 0
> 2013-09-06 14:45:11.462 TYPE I
< 2013-09-06 14:45:11.462 200 Type set to I
> 2013-09-06 14:45:11.462 TYPE I
< 2013-09-06 14:45:11.462 200 Type set to I
> 2013-09-06 14:45:11.462 TYPE I
< 2013-09-06 14:45:11.462 200 Type set to I
> 2013-09-06 14:45:11.462 PWD
< 2013-09-06 14:45:11.462 257 "/Development/In/Client Reporting/Hot Folder" is current directory.
> 2013-09-06 14:45:11.462 TYPE A
< 2013-09-06 14:45:11.462 200 Type set to A
> 2013-09-06 14:45:11.462 REST 0
< 2013-09-06 14:45:11.462 350 Rest supported. Restarting at 0
> 2013-09-06 14:45:11.462 TYPE A
< 2013-09-06 14:45:11.462 200 Type set to A
> 2013-09-06 14:45:11.462 REST 0
< 2013-09-06 14:45:11.462 350 Rest supported. Restarting at 0
> 2013-09-06 14:45:11.462 TYPE I
< 2013-09-06 14:45:11.462 200 Type set to I
< 2013-09-06 14:45:11.462 421 No-transfer-time exceeded. Closing control connection.
. 2013-09-06 14:45:11.462 m_pSslLayer changed state from 4 to 5
. 2013-09-06 14:45:11.462 Disconnected from server
. 2013-09-06 14:45:11.462 Got reply 1000 to the command 0
. 2013-09-06 14:45:11.462 Script: Failed
< 2013-09-06 14:45:11.462 Script: Lost connection.
< 2013-09-06 14:45:11.462 Script: Disconnected from server

< 2013-09-06 14:45:11.462 No-transfer-time exceeded. Closing control connection.
. 2013-09-06 14:45:11.462 Script: Exit code: 1

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,517
Location:
Prague, Czechia

Re: Script: Copying files to remote side failed Can't open data

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.

Reply with quote

Advertisement

You can post new topics in this forum