Odd issue - (EScpSkipFile) Error transferring file. Copying files to remote side failed.

Advertisement

MMKK
Guest

Odd issue - (EScpSkipFile) Error transferring file. Copying files to remote side failed.

Hi

I have searched for similar issues and already added one improvement (timestamp preservation turned off), however I couldn't find any helpful solution.

The issue is very odd. When the transfer is run from within automated job under service account - it fails. The very same code run in console app under admin account - success. There's no firewall on the box, so this is not this kind of issue.

Attached are 2 logs: unsuccessful transfer and successful transfer.
The only difference is at the very end - one ends with (EScpSkipFile) Error transferring file, the other with successful transfer information.

Can anyone please help?
Description: successful transfer log
Description: failed transfer log

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Odd issue - (EScpSkipFile) Error transferring file. Copying files to remote side failed.

Please upgrade to the latest version first.

Reply with quote

MMKK
Guest

Re: Odd issue - (EScpSkipFile) Error transferring file. Copying files to remote side failed.

martin wrote:

Please upgrade to the latest version first.

Hi Martin,

Thanks for the suggestion. After the upgrade to version WinSCP Version 5.9.3 (Build 7136) I am able to upload files.

However, when I try to download files I am getting the error
> 2016-12-09 11:22:41.373 Script: stat -- "test.stat"
. 2016-12-09 11:22:41.373 Listing file "test.stat".
. 2016-12-09 11:22:41.373 Retrieving file information...
> 2016-12-09 11:22:41.373 MLST /mk/test.stat
< 2016-12-09 11:22:41.482 550 File /mk/test.stat not found
. 2016-12-09 11:22:41.482 Could not retrieve file information
< 2016-12-09 11:22:41.482 Script: Can't get attributes of file 'test.stat'.
< 2016-12-09 11:22:41.482 Could not retrieve file information

< 2016-12-09 11:22:41.482 File /mk/test.stat not found


The weird thing is that first we retrieve list of files in the remote directory and it's successful, but then the download fails with the above error.
This is the log of directory listing
< 2016-12-09 11:22:35.264 150 Transferring directory
. 2016-12-09 11:22:35.264 Session ID reused
. 2016-12-09 11:22:35.264 Using TLSv1.2, cipher TLSv1/SSLv3: AES256-GCM-SHA384, 2048 bit RSA, AES256-GCM-SHA384       TLSv1.2 Kx=RSA      Au=RSA  Enc=AESGCM(256) Mac=AEAD
. 2016-12-09 11:22:35.264 TLS connection established
< 2016-12-09 11:22:35.373 226 Transfer completed
. 2016-12-09 11:22:35.404 Data connection closed
. 2016-12-09 11:22:35.404 size=0;type=cdir;create=20140515115117;modify=20161209112149; .
. 2016-12-09 11:22:35.404 size=0;type=pdir;create=20140514140248;modify=20140515115117; ..
[LOTS OF FILES HERE]
. 2016-12-09 11:22:35.404 size=0;type=file;create=20161209111838;modify=20161209111838; test.stat
. 2016-12-09 11:22:35.404 Directory listing successful
. 2016-12-09 11:22:35.420 ..;D;0;1899-12-30T01:00:00.000Z;0;"" [0];"" [0];---------;0
[LOTS OF FILES HERE]
. 2016-12-09 11:22:35.420 test.stat;-;0;2016-12-09T11:18:38.000Z;3;"" [0];"" [0];---------;0
< 2016-12-09 11:22:35.420 Script: D---------   0                           0              ..
[LOTS OF FILES HERE]
< 2016-12-09 11:22:35.420 Script: ----------   0                           0 Dec  9 12:18:38 2016 test.stat
> 2016-12-09 11:22:35.795 Script: exit
. 2016-12-09 11:22:35.795 Script: Exit code: 0
. 2016-12-09 11:22:35.795 Disconnected from server

Reply with quote

martin
Site Admin
martin avatar

Re: Odd issue - (EScpSkipFile) Error transferring file. Copying files to remote side failed.

Please attach a complete log file.

Reply with quote

MMKK
Guest

Re: Odd issue - (EScpSkipFile) Error transferring file. Copying files to remote side failed.

martin wrote:

Please attach a complete log file.

Hi Martin,

Please see attached complete log file.

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: Odd issue - (EScpSkipFile) Error transferring file. Copying files to remote side failed.

There's no "Error transferring file" in this log. Please post complete logs as in the first question, just using the latest version of WinSCP. Thanks.

Reply with quote

Advertisement

You can post new topics in this forum