Copying files from remote side failed.

Advertisement

socko2@...
Guest

Copying files from remote side failed.

I'm pretty sure my issues is that the file is busy when tried to be copied but is there something in the output that tells me the file is locked or busy? All I see is:

> 2014-02-26 22:47:07.650 TYPE I
< 2014-02-26 22:47:07.650 200 Type set to I
> 2014-02-26 22:47:07.650 PORT 10,100,2,242,232,126
< 2014-02-26 22:47:07.650 200 Port command successful
> 2014-02-26 22:47:07.650 RETR 961C6022EC5D7C922A1DFA1BC810922A.cache.html
< 2014-02-26 22:47:07.650 150 Opening data channel for file transfer.
. 2014-02-26 22:47:07.650 SSL connection established
< 2014-02-26 22:47:08.540 226 Transfer OK
. 2014-02-26 22:47:08.603 Copying files from remote side failed.
* 2014-02-26 22:47:08.603 (ExtException) type=file;modify=20140225134753;size=34; .scmignore
* 2014-02-26 22:47:08.603 type=file;modify=20140225134921;size=2236; 0326AF455425F6065C00E0361659A798.cache.png
* 2014-02-26 22:47:08.603 type=file;modify=20140225135026;size=692241; 03F7967FEEEA8BBBC11D270C4C48462C.cache.html

I included the entire file
Description: Output from run

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,809
Location:
Prague, Czechia

Re: Copying files from remote side failed.

Can you please attach a log file using the latest version of WinSCP?
_________________
Martin Prikryl

Reply with quote

Rkamath3
Guest

Get an exception while transferring files

Hello,

I have been reading all the threads in WinSCP about ExtException. It seems that its still an issue.

I have a setup to transfer files from LAN to DMZ through 2 firewalls. WinSCP failes often with (EScpSkipFile) Error.

I am using exclusive transfer , there is no chance that 2 instances are trying to access the same file.


> 2014-03-04 05:39:31.508 TYPE I
< 2014-03-04 05:39:31.508 200 Type set to I.
> 2014-03-04 05:39:31.508 PASV
< 2014-03-04 05:39:31.508 227 Entering Passive Mode (10,146,81,140,20,231).
> 2014-03-04 05:39:31.508 STOR Realisations_FilterNameFilterValuePosition50Max647PagingSize10.htm
< 2014-03-04 05:39:31.508 550 The process cannot access the file because it is being used by another process. 
. 2014-03-04 05:39:31.508 Copying files to remote side failed.
* 2014-03-04 05:39:31.508 (ExtException) **Copying files to remote side failed.**
* 2014-03-04 05:39:31.508 The process cannot access the file because it is being used by another process. 
. 2014-03-04 05:39:31.508 Asking user:
. 2014-03-04 05:39:31.508 Error transferring file 'D:\calyon_en_publish\Realisations_FilterNameFilterValuePosition50Max647PagingSize10.htm'. ("Copying files to remote side failed.","The process cannot access the file because it is being used by another process. ")
< 2014-03-04 05:39:31.508 Script: Error transferring file 'D:\calyon_en_publish\Realisations_FilterNameFilterValuePosition50Max647PagingSize10.htm'.
< 2014-03-04 05:39:31.508 Script: Copying files to remote side failed.

< 2014-03-04 05:39:31.508 The process cannot access the file because it is being used by another process.
* 2014-03-04 05:39:31.508 (EScpSkipFile) Error transferring file 'D:\calyon_en_publish\Realisations_FilterNameFilterValuePosition50Max647PagingSize10.htm'.
* 2014-03-04 05:39:31.508 Copying files to remote side failed.
* 2014-03-04 05:39:31.508 The process cannot access the file because it is being used by another process. 
. 2014-03-04 05:39:31.508 Script: Failed


Please help me in setting up FTPS transfer.I am sure I need to play with Background option under Transfer in preference window, but no cobination is yeilding result.

And also I would like to know, is it normal that script takes around 12 mins to transfer 60 MB content ?

Am using PASSIVE mode with implicit SSL. WinSCP 5.5.1


Thanks

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,809
Location:
Prague, Czechia

Re: Get an exception while transferring files

Rkamath3 wrote:

550 The process cannot access the file because it is being used by another process.
The error comes from your server.
I cannot help you further without knowing some context.
Are you getting this for any upload or randomly? Any information helps.
_________________
Martin Prikryl

Reply with quote

rkamath3
Guest

hello prikryl,

Thanks for your response.

This error is not related to system , I am sure about this part. No process uses this file.

My set up is LAN server->Filerewall 1->firewall 2-> WebServer(IIS ftp site)

It works well many times, but ends in error few times. Hence this is our corporate website I can not afford this failure.

Below is the error which I received today.

FTP site will not alow partial file transfer, and firewall has 30 sec timeout.

. 2014-03-10 11:59:41.503 04-23-2013  01:32PM       <DIR>          Sifr
. 2014-03-10 11:59:41.503 03-07-2014  10:36AM               336172 Sitemap.xml
. 2014-03-10 11:59:41.503 10-17-2012  06:46PM                  756 TuketiciVerileri.xml
. 2014-03-10 11:59:41.503 06-12-2013  08:26PM                10693 web.config
. 2014-03-10 11:59:41.503 05-22-2012  11:28AM                10393 Web.config.20121107
. 2014-03-10 11:59:41.503 10-15-2012  10:00AM                  496 Web.config_LCO
. 2014-03-10 11:59:41.503 03-07-2014  10:36AM                 8120 webtvdata.xml
. 2014-03-10 11:59:41.503 10-17-2013  11:08AM                 6098 Youtube_test.aspx
< 2014-03-10 11:59:41.503 226-Directory has 209,728,819,200 bytes of disk space available.
< 2014-03-10 11:59:41.503 226 Transfer complete.
> 2014-03-10 11:59:41.503 TYPE I
< 2014-03-10 11:59:41.503 200 Type set to I.
> 2014-03-10 11:59:41.503 PASV
< 2014-03-10 11:59:41.503 227 Entering Passive Mode (10,118,153,142,22,108).
> 2014-03-10 11:59:41.503 STOR Calendar_ItemId529c2c77-d549-4af8-b977-c041c80f68fe.htm
< 2014-03-10 11:59:41.503 550 The process cannot access the file because it is being used by another process. 
. 2014-03-10 11:59:41.503 Copying files to remote side failed.
* 2014-03-10 11:59:41.503 (ExtException) **Copying files to remote side failed.**
* 2014-03-10 11:59:41.503 The process cannot access the file because it is being used by another process. 
. 2014-03-10 11:59:41.503 Asking user:
. 2014-03-10 11:59:41.503 Error transferring file 'D:\calyon_en_publish\Calendar_ItemId529c2c77-d549-4af8-b977-c041c80f68fe.htm'. ("Copying files to remote side failed.","The process cannot access the file because it is being used by another process. ")
< 2014-03-10 11:59:41.503 Script: Error transferring file 'D:\calyon_en_publish\Calendar_ItemId529c2c77-d549-4af8-b977-c041c80f68fe.htm'.
< 2014-03-10 11:59:41.503 Script: Copying files to remote side failed.

< 2014-03-10 11:59:41.503 The process cannot access the file because it is being used by another process.
* 2014-03-10 11:59:41.503 (EScpSkipFile) Error transferring file 'D:\calyon_en_publish\Calendar_ItemId529c2c77-d549-4af8-b977-c041c80f68fe.htm'.
* 2014-03-10 11:59:41.503 Copying files to remote side failed.
* 2014-03-10 11:59:41.503 The process cannot access the file because it is being used by another process. 
. 2014-03-10 11:59:41.503 Script: Failed
> 2014-03-10 11:59:41.503 Script: cd \
. 2014-03-10 11:59:41.503 Changing directory to "\".
. 2014-03-10 11:59:41.503 Synchronizing current directory "/".
> 2014-03-10 11:59:41.503 CWD /
< 2014-03-10 11:59:41.519 250 CWD command successful.
> 2014-03-10 11:59:41.519 CWD \
< 2014-03-10 11:59:41.519 250 CWD command successful.
. 2014-03-10 11:59:41.519 Getting current directory name.
> 2014-03-10 11:59:41.519 PWD
< 2014-03-10 11:59:41.519 257 "/" is current directory.
< 2014-03-10 11:59:41.519 Script: /
> 2014-03-10 11:59:41.519 Script: ren "/SGE-EN-PRD/pending.wrk" "/SGE-EN-PRD/f5status.html"
. 2014-03-10 11:59:41.519 Moving file "/SGE-EN-PRD/pending.wrk" to "/SGE-EN-PRD/f5status.html".
> 2014-03-10 11:59:41.519 RNFR /SGE-EN-PRD/pending.wrk
< 2014-03-10 11:59:41.519 350 Requested file action pending further information.
> 2014-03-10 11:59:41.519 RNTO /SGE-EN-PRD/f5status.html
< 2014-03-10 11:59:41.535 250 RNTO command successful.
< 2014-03-10 11:59:41.535 Script: /SGE-EN-PRD/pending.wrk
> 2014-03-10 11:59:41.535 Script: cd \
. 2014-03-10 11:59:41.535 Changing directory to "\".
> 2014-03-10 11:59:41.535 CWD \
< 2014-03-10 11:59:41.535 250 CWD command successful.
. 2014-03-10 11:59:41.535 Getting current directory name.
> 2014-03-10 11:59:41.535 PWD
< 2014-03-10 11:59:41.535 257 "/" is current directory.
< 2014-03-10 11:59:41.535 Script: /
> 2014-03-10 11:59:41.535 Script: close
. 2014-03-10 11:59:41.566 Disconnected from server

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,809
Location:
Prague, Czechia

rkamath3 wrote:

This error is not related to system , I am sure about this part. No process uses this file.
Well some does, obviously.
Any chance you run the same (or similar) WinSCP script switch at the same time? What would cause FTP server trying to access the same file concurrently.

Reply with quote

Advertisement

You can post new topics in this forum