That's by design.
It makes sense both to return error and success in this scenario. Different users prefer different results.
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?