i use get command to download a file from a server...But everytime the file doesn't exists i get an error message. So i want to firstly check if the file exists and then use get command to download it!
OK, I've misunderstood the question.
Though it's still confusing. Why are you trying to check a local file before calling WinSCP with
upload.txt script, if you are going to download a file?
Sorry i forgot to add my UserName before
I don't want to use .NET assembly. I have mentioned that in question! I want to use a simple bat file.