Copying files from remote side failed

Advertisement

ckchinetworks
Joined:
Posts:
11

Copying files from remote side failed

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.

< 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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,540
Location:
Prague, Czechia

Re: Copying files from remote side failed

Aren't these files opened by another application?
_________________
Martin Prikryl

Reply with quote

ckchinetworks
Joined:
Posts:
11

Re: Copying files from remote side failed

martin 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.

Reply with quote

ckchinetworks
Joined:
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"

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,540
Location:
Prague, Czechia

That can be it. With FTP there might be a limit of 260 characters for file path.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum