Topic "SFTP Appears to be copying files, but actually isn't"

Author Message
jmt1991
[View user's profile]

Joined: 2016-12-22
Posts: 11
Martin,
I have had a script successfully downloading files using SFTP for over two months, and two days ago it stopped working. Looking at the log, it appears to be working correctly but the files are not copied. The special code returned at the end is 12, which means that the files are read only. But if the files were read-only, then I shouldn't be able to transfer them manually using FileZilla. The log file at /log level=2 is attached. I thought I had everything working correctly up until now. Thanks for your help.
Test.log (17.56 KB) [Download]

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26554
Location: Prague, Czechia
Do you mean that although WinSCP log claims that there were 3 files downloaded, there were no files in the D:\Test after the script finished? Try adding lls D:\Test at the end of the script and post a new log file.
jmt1991
[View user's profile]

Joined: 2016-12-22
Posts: 11
Yes Martin, although it appears as though the files were downloaded, they weren't. I'll add the code and get another log file for you.
Advertisements

You can post new topics in this forum






Search

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