Topic "Copying files from remote side failed"

Author Message
ckchinetworks
[View user's profile]

Joined: 2014-07-09
Posts: 11
I have a script that runs, does run and is able to copy files but fails on certain files and I can't figure out what is going on. Below is the last part of the log when it fails.

Code:

< 2014-07-04 18:05:16.789 200 Type set to I.
> 2014-07-04 18:05:16.789 PASV
< 2014-07-04 18:05:16.819 227 Entering Passive Mode (*,*,*,*,*,*).
. 2014-07-04 18:05:16.819 Can't open file 'g:\Documents\manager\manager\Narrative Appraisal\Vince\105 Schelter Update\old\https___lookingglass.streamlinx.com_FileServlet_filename=_apps_tomcat14_webapps_lgs_temp_1337101802133_7F1A3F920BB2B3939F67D759FC877406__05152012_01_10_PM_EngagementLetter_140501.pdf'.
. 2014-07-04 18:05:16.819 Copying files from remote side failed.
* 2014-07-04 18:05:16.820 (ExtException) **Can't open file 'g:\Documents\manager\manager\Narrative Appraisal\Vince\105 Schelter Update\old\https___lookingglass.streamlinx.com_FileServlet_filename=_apps_tomcat14_webapps_lgs_temp_1337101802133_7F1A3F920BB2B3939F67D759FC877406__05152012_01_10_PM_EngagementLetter_140501.pdf'.**
* 2014-07-04 18:05:16.820 Copying files from remote side failed.
. 2014-07-04 18:05:16.820 Asking user:
. 2014-07-04 18:05:16.820 Error transferring file '/Documents/manager/manager/Narrative Appraisal/Vince/105 Schelter Update/old/https___lookingglass.streamlinx.com_FileServlet_filename=_apps_tomcat14_webapps_lgs_temp_1337101802133_7F1A3F920BB2B3939F67D759FC877406__05152012_01_10_PM_EngagementLetter_140501.pdf'. ("Can't open file 'g:\Documents\manager\manager\Narrative Appraisal\Vince\105 Schelter Update\old\https___lookingglass.streamlinx.com_FileServlet_filename=_apps_tomcat14_webapps_lgs_temp_1337101802133_7F1A3F920BB2B3939F67D759FC877406__05152012_01_10_PM_EngagementLetter_140501.pdf'.","Copying files from remote side failed.")
< 2014-07-04 18:05:16.820 Script: Error transferring file '/Documents/manager/manager/Narrative Appraisal/Vince/105 Schelter Update/old/https___lookingglass.streamlinx.com_FileServlet_filename=_apps_tomcat14_webapps_lgs_temp_1337101802133_7F1A3F920BB2B3939F67D759FC877406__05152012_01_10_PM_EngagementLetter_140501.pdf'.
< 2014-07-04 18:05:16.820 Script: Can't open file 'g:\Documents\manager\manager\Narrative Appraisal\Vince\105 Schelter Update\old\https___lookingglass.streamlinx.com_FileServlet_filename=_apps_tomcat14_webapps_lgs_temp_1337101802133_7F1A3F920BB2B3939F67D759FC877406__05152012_01_10_PM_EngagementLetter_140501.pdf'.

< 2014-07-04 18:05:16.820 Copying files from remote side failed.
* 2014-07-04 18:05:16.821 (EScpSkipFile) Error transferring file '/Documents/manager/manager/Narrative Appraisal/Vince/105 Schelter Update/old/https___lookingglass.streamlinx.com_FileServlet_filename=_apps_tomcat14_webapps_lgs_temp_1337101802133_7F1A3F920BB2B3939F67D759FC877406__05152012_01_10_PM_EngagementLetter_140501.pdf'.
* 2014-07-04 18:05:16.821 Can't open file 'g:\Documents\manager\manager\Narrative Appraisal\Vince\105 Schelter Update\old\https___lookingglass.streamlinx.com_FileServlet_filename=_apps_tomcat14_webapps_lgs_temp_1337101802133_7F1A3F920BB2B3939F67D759FC877406__05152012_01_10_PM_EngagementLetter_140501.pdf'.
* 2014-07-04 18:05:16.821 Copying files from remote side failed.
. 2014-07-04 18:05:16.823 Script: Failed
. 2014-07-04 18:05:16.823 Script: Exit code: 1
. 2014-07-04 18:05:16.825 Disconnected from server
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24996
Location: Prague, Czechia
Aren't these files opened by another application?
_________________
Martin Prikryl
ckchinetworks
[View user's profile]

Joined: 2014-07-09
Posts: 11
prikryl wrote:
Aren't these files opened by another application?
I would have errors on files in a different directly if it was an application that had it open. Plus the last modified date is from 2012 I believe. The error of not opening a file is on the destination file not the source file.
ckchinetworks
[View user's profile]

Joined: 2014-07-09
Posts: 11
Is there a length limit to the file name? When I removed the file it kept going, the file name is "https___lookingglass.streamlinx.com_FileServlet_filename=_apps_tomcat14_webapps_lgs_temp_1337101802133_7F1A3F920BB2B3939F67D759FC877406__05152012_01_10_PM_EngagementLetter_140501.pdf"
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24996
Location: Prague, Czechia
That can be it. With FTP there might be a limit of 260 characters for file path.
_________________
Martin Prikryl
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