Check if file exists before download

Advertisement

Advertisement

Guest

Re: Check if file exists before download

I don't want to use .NET assembly. I have mentioned that in question! I want to use a simple bat file.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,287
Location:
Prague, Czechia

Re: Check if file exists before download

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?

Reply with quote

Advertisement

StSiotis
Joined:
Posts:
3

Re: Check if file exists before download

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!

Reply with quote

Advertisement

You can post new topics in this forum