WINSCP PATTERN MATCH DOWNLOAD FILES

Advertisement

abuthaheer
Joined:
Posts:
1
Location:
SINGAPORE

WINSCP PATTERN MATCH DOWNLOAD FILES

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?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: WINSCP PATTERN MATCH DOWNLOAD FILES

That's by design.
It makes sense both to return error and success in this scenario. Different users prefer different results.

Reply with quote

Advertisement

You can post new topics in this forum