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

Author Message
MMKK

Guest


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?
transferlog-succesful-obfuscated.txt (7.06 KB) [Download]

Description: successful transfer log

transferlog-unsuccesful-obfuscated.txt (7.25 KB) [Download]

Description: failed transfer log

Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26330
Location: Prague, Czechia
Please upgrade to the latest version first.
MMKK

Guest


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
Code:

> 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
Code:

< 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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26330
Location: Prague, Czechia
Please attach a complete log file.
_________________
Martin Prikryl
MMKK

Guest


martin wrote:
Please attach a complete log file.


Hi Martin,

Please see attached complete log file.
test-failedupload.log (14.17 KB) [Download]

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26330
Location: Prague, Czechia
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.
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