Topic "(ExtException) **Copying files from remote side failed.**"

Author Message
jessey316
[View user's profile]

Joined: 2015-10-21
Posts: 5
Hi

Hope someone can help. Odd issue i am having, i have created a scheduled task to connect and download files each morning

My download file is this:

# skip errors
option batch continue
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect using a Site
open FTPSite
# Force binary mode transfer
option transfer binary
# Download file to the local directory d:\
get -resume * "D:\Data Storage\0. My Data\Downloaded_Data\" -preservetime
# Disconnect
close
# Exit WinSCP
exit



All files and folders download except one or two files in a certain folder. Everyday its the same files in the same folder, 230 folders all together.

i get this error:

< 2015-10-28 10:00:13.975 250 CWD successful. "/ttttttt_Oooooooooooooooooooo Vvvvvv_3" is current directory.
> 2015-10-28 10:00:13.975 PWD
< 2015-10-28 10:00:14.024 257 "/ttttttt_Oooooooooooooooooooo Vvvvvv_3" is current directory.
> 2015-10-28 10:00:14.024 TYPE A
< 2015-10-28 10:00:14.072 200 Type set to A
> 2015-10-28 10:00:14.072 PASV
< 2015-10-28 10:00:14.121 227 Entering Passive Mode (195,7,83,73,223,185)
> 2015-10-28 10:00:14.121 MLSD
. 2015-10-28 10:00:14.121 Connecting to 195.7.83.73:57273 ...
< 2015-10-28 10:00:14.224 150 Opening data channel for directory listing of "/ttttttt_Oooooooooooooooooooo Vvvvvv_3"
< 2015-10-28 10:00:14.224 226 Successfully transferred "/ttttttt_Oooooooooooooooooooo Vvvvvv_3"
. 2015-10-28 10:00:14.225 type=file;modify=20151027091550;size=1336; ttttttt_Oooooooooooooooooooo Vvvvvv_3Sat. 24 Oct. 2015 - Mon. 26 Oct. 2015.csv
. 2015-10-28 10:00:14.225 type=file;modify=20151028090916;size=1336; ttttttt_Oooooooooooooooooooo Vvvvvv_3Sun. 25 Oct. 2015 - Tue. 27 Oct. 2015.csv
. 2015-10-28 10:00:14.225 Directory listing successful
. 2015-10-28 10:00:14.225 ..;D;0;1899-12-30T00:00:00.000Z;"" [0];"" [0];---------;0
. 2015-10-28 10:00:14.225 ttttttt_Oooooooooooooooooooo Vvvvvv_3Sat. 24 Oct. 2015 - Mon. 26 Oct. 2015.csv;-;1336;2015-10-27T09:15:50.000Z;"" [0];"" [0];---------;0
. 2015-10-28 10:00:14.225 ttttttt_Oooooooooooooooooooo Vvvvvv_3Sun. 25 Oct. 2015 - Tue. 27 Oct. 2015.csv;-;1336;2015-10-28T09:09:16.000Z;"" [0];"" [0];---------;0
. 2015-10-28 10:00:14.225 File: '/ttttttt_Oooooooooooooooooooo Vvvvvv_3/ttttttt_Oooooooooooooooooooo Vvvvvv_3Sat. 24 Oct. 2015 - Mon. 26 Oct. 2015.csv' [2015-10-27T09:15:50.000Z] [1336]
. 2015-10-28 10:00:14.225 Copying "/ttttttt_Oooooooooooooooooooo Vvvvvv_3/ttttttt_Oooooooooooooooooooo Vvvvvv_3Sat. 24 Oct. 2015 - Mon. 26 Oct. 2015.csv" to local directory started.
. 2015-10-28 10:00:14.226 Binary transfer mode selected.
. 2015-10-28 10:00:14.226 Starting download of /ttttttt_Oooooooooooooooooooo Vvvvvv_3/ttttttt_Oooooooooooooooooooo Vvvvvv_3Sat. 24 Oct. 2015 - Mon. 26 Oct. 2015.csv
> 2015-10-28 10:00:14.227 TYPE I
< 2015-10-28 10:00:14.282 200 Type set to I
> 2015-10-28 10:00:14.282 PASV
< 2015-10-28 10:00:14.331 227 Entering Passive Mode (195,7,83,73,223,187)
> 2015-10-28 10:00:14.331 RETR ttttttt_Oooooooooooooooooooo Vvvvvv_3Sat. 24 Oct. 2015 - Mon. 26 Oct. 2015.csv
< 2015-10-28 10:00:14.393 550 File not found
. 2015-10-28 10:00:14.393 Copying files from remote side failed.
* 2015-10-28 10:00:14.393 (ExtException) **Copying files from remote side failed.**
* 2015-10-28 10:00:14.393 File not found
. 2015-10-28 10:00:14.393 Asking user:
. 2015-10-28 10:00:14.394 Error transferring file '/ttttttt_Oooooooooooooooooooo Vvvvvv_3/ttttttt_Oooooooooooooooooooo Vvvvvv_3Sat. 24 Oct. 2015 - Mon. 26 Oct. 2015.csv'. ("Copying files from remote side failed.","File not found")
< 2015-10-28 10:00:14.394 Script: Error transferring file '/ttttttt_Oooooooooooooooooooo Vvvvvv_3/ttttttt_Oooooooooooooooooooo Vvvvvv_3Sat. 24 Oct. 2015 - Mon. 26 Oct. 2015.csv'.
< 2015-10-28 10:00:14.394 Script: Copying files from remote side failed.< 2015-10-28 10:00:14.394 File not found


I tried to download the same file using the winscp console but got the same error. I tried with filezilla, no special settings and it works without issues but as i want to automate the download i wish to use winscp
Advertisements
jessey316
[View user's profile]

Joined: 2015-10-21
Posts: 5
any help? ive searched around net and forum but not having much luck. really odd issue, i tried different settings but still not luck. are there any special characters that winscp doesnt like?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Show us the log file from FileZilla (a real log file, not the message log from the GUI).
Guest




This is the logs from filezilla

2015-11-02 14:02:12 4792 1 Status: Resolving address of ftp.site.com
2015-11-02 14:02:13 4792 1 Status: Connecting to 195.7.83.73:21...
2015-11-02 14:02:13 4792 1 Status: Connection established, waiting for welcome message...
2015-11-02 14:02:13 4792 1 Response: 220 This is a private system and not a public service. All access is logged.
2015-11-02 14:02:13 4792 1 Command: AUTH TLS
2015-11-02 14:02:13 4792 1 Response: 502 SSL/TLS authentication not allowed
2015-11-02 14:02:13 4792 1 Command: AUTH SSL
2015-11-02 14:02:13 4792 1 Response: 502 SSL/TLS authentication not allowed
2015-11-02 14:02:13 4792 1 Status: Insecure server, it does not support FTP over TLS.
2015-11-02 14:02:13 4792 1 Command: USER User_Name
2015-11-02 14:02:13 4792 1 Response: 331 Password required for User_Name
2015-11-02 14:02:13 4792 1 Command: PASS *********
2015-11-02 14:02:13 4792 1 Response: 230 Logged on
2015-11-02 14:02:13 4792 1 Command: SYST
2015-11-02 14:02:13 4792 1 Response: 215 UNIX emulated by FileZilla
2015-11-02 14:02:13 4792 1 Command: FEAT
2015-11-02 14:02:13 4792 1 Response: 211-Features:
2015-11-02 14:02:13 4792 1 Response: MDTM
2015-11-02 14:02:13 4792 1 Response: REST STREAM
2015-11-02 14:02:13 4792 1 Response: SIZE
2015-11-02 14:02:13 4792 1 Response: MLST type*;size*;modify*;
2015-11-02 14:02:13 4792 1 Response: MLSD
2015-11-02 14:02:13 4792 1 Response: UTF8
2015-11-02 14:02:13 4792 1 Response: CLNT
2015-11-02 14:02:13 4792 1 Response: MFMT
2015-11-02 14:02:13 4792 1 Response: EPSV
2015-11-02 14:02:13 4792 1 Response: EPRT
2015-11-02 14:02:13 4792 1 Response: 211 End
2015-11-02 14:02:13 4792 1 Status: Connected
2015-11-02 14:02:13 4792 1 Status: Retrieving directory listing...
2015-11-02 14:02:13 4792 1 Command: PWD
2015-11-02 14:02:13 4792 1 Response: 257 "/" is current directory.
2015-11-02 14:02:13 4792 1 Command: TYPE I
2015-11-02 14:02:13 4792 1 Response: 200 Type set to I
2015-11-02 14:02:13 4792 1 Command: PASV
2015-11-02 14:02:13 4792 1 Response: 227 Entering Passive Mode (195,7,83,73,223,23)
2015-11-02 14:02:13 4792 1 Command: MLSD
2015-11-02 14:02:13 4792 1 Response: 150 Opening data channel for directory listing of "/"
2015-11-02 14:02:13 4792 1 Response: 226 Successfully transferred "/"
2015-11-02 14:02:13 4792 1 Status: Directory listing of "/" successful
2015-11-02 14:02:44 4792 1 Status: Retrieving directory listing of "/ttttttt_Oooooooooooooooooooo Vvvvvv_3"...
2015-11-02 14:02:44 4792 1 Command: CWD /ttttttt_Oooooooooooooooooooo Vvvvvv_3
2015-11-02 14:02:44 4792 1 Response: 250 CWD successful. "/ttttttt_Oooooooooooooooooooo Vvvvvv_3" is current directory.
2015-11-02 14:02:44 4792 1 Command: PWD
2015-11-02 14:02:44 4792 1 Response: 257 "/ttttttt_Oooooooooooooooooooo Vvvvvv_3" is current directory.
2015-11-02 14:02:44 4792 1 Command: PASV
2015-11-02 14:02:44 4792 1 Response: 227 Entering Passive Mode (195,7,83,73,223,25)
2015-11-02 14:02:44 4792 1 Command: MLSD
2015-11-02 14:02:44 4792 1 Response: 150 Opening data channel for directory listing of "/ttttttt_Oooooooooooooooooooo Vvvvvv_3"
2015-11-02 14:02:44 4792 1 Response: 226 Successfully transferred "/ttttttt_Oooooooooooooooooooo Vvvvvv_3"
2015-11-02 14:02:44 4792 1 Status: Directory listing of "/ttttttt_Oooooooooooooooooooo Vvvvvv_3" successful
2015-11-02 14:02:54 4792 3 Status: Resolving address of ftp.site.com
2015-11-02 14:02:54 4792 3 Status: Connecting to 195.7.83.73:21...
2015-11-02 14:02:54 4792 3 Status: Connection established, waiting for welcome message...
2015-11-02 14:02:54 4792 3 Response: 220 This is a private system and not a public service. All access is logged.
2015-11-02 14:02:54 4792 3 Command: AUTH TLS
2015-11-02 14:02:54 4792 3 Response: 502 SSL/TLS authentication not allowed
2015-11-02 14:02:54 4792 3 Command: AUTH SSL
2015-11-02 14:02:54 4792 3 Response: 502 SSL/TLS authentication not allowed
2015-11-02 14:02:54 4792 3 Status: Insecure server, it does not support FTP over TLS.
2015-11-02 14:02:54 4792 3 Command: USER User_Name
2015-11-02 14:02:54 4792 3 Response: 331 Password required for User_Name
2015-11-02 14:02:54 4792 3 Command: PASS *********
2015-11-02 14:02:55 4792 3 Response: 230 Logged on
2015-11-02 14:02:55 4792 3 Status: Connected
2015-11-02 14:02:55 4792 3 Status: Starting download of /ttttttt_Oooooooooooooooooooo Vvvvvv_3/ ttttttt_Oooooooooooooooooooo Vvvvvv_3Fri. 30 Oct. 2015 - Sun. 1 Nov. 2015.csv
2015-11-02 14:02:55 4792 3 Command: CWD /ttttttt_Oooooooooooooooooooo Vvvvvv_3
2015-11-02 14:02:55 4792 3 Response: 250 CWD successful. "/ttttttt_Oooooooooooooooooooo Vvvvvv_3" is current directory.
2015-11-02 14:02:55 4792 3 Command: TYPE I
2015-11-02 14:02:55 4792 3 Response: 200 Type set to I
2015-11-02 14:02:55 4792 3 Command: PASV
2015-11-02 14:02:55 4792 3 Response: 227 Entering Passive Mode (195,7,83,73,223,2Cool
2015-11-02 14:02:55 4792 3 Command: RETR ttttttt_Oooooooooooooooooooo Vvvvvv_3Fri. 30 Oct. 2015 - Sun. 1 Nov. 2015.csv
2015-11-02 14:02:55 4792 3 Response: 150 Opening data channel for file download from server of "/ttttttt_Oooooooooooooooooooo Vvvvvv_3/ ttttttt_Oooooooooooooooooooo Vvvvvv_3Fri. 30 Oct. 2015 - Sun. 1 Nov. 2015.csv"
2015-11-02 14:02:55 4792 3 Response: 226 Successfully transferred "/ttttttt_Oooooooooooooooooooo Vvvvvv_3/ ttttttt_Oooooooooooooooooooo Vvvvvv_3Fri. 30 Oct. 2015 - Sun. 1 Nov. 2015.csv"
2015-11-02 14:02:55 4792 3 Status: File transfer successful, transferred 1,341 bytes in 1 second
jessey316
[View user's profile]

Joined: 2015-10-21
Posts: 5
Not sure why that came up as Guest but I pasted the logs there
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
The filename starts with a space. WinSCP has problems with that. I'll look into it. Meanwhile, remove the space if possible.
jessey316
[View user's profile]

Joined: 2015-10-21
Posts: 5
Great, that appears to have done the trick when i did a test...This runs every morning so i have informed the up-loaders and i shall check again in the morning
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
This issue is tracked here:
http://winscp.net/tracker/show_bug.cgi?id=26
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