Topic "WINSCP PATTERN MATCH DOWNLOAD FILES"

Author Message
abuthaheer
[View user's profile]

Joined: 2012-09-13
Posts: 1
Location: SINGAPORE
please help me ,


i'm having a problem in winscp return code to download files from the server using pattern matching for ex i have to download files like aaaa_20120912_32_111111.csv.gz .i set the pattern match like get aaaa_20120912_32*. , actually it downloads all the files for the given format but if the file does not exists in the server then winscp does not return 1 its returns alsways true 0 .
even in the log file it doesnt writes the error also?

i have tried different formats like
get
aaaa_20120912_32*.*
aaaa_20120912_32*
aaaa_20120912_32*.csv.gz

but the result is same it returns true even though the file does not exists in the server?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
That's by design.
It makes sense both to return error and success in this scenario. Different users prefer different results.
_________________
Martin Prikryl
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