Error if no File found

Advertisement

LexMex
Guest

Error if no File found

Hello everybody!

I hope that I can finde some help here. This is the situation:
...
#UPLOAD START
cd /Test/OUT/
put -delete D:FTP_Files\OUT\*[b]12345[/b].txt
#UPLOAD END
Everything works good, if I have a relevant file in D:FTP_Files\OUT\, but if there is no file, the process will be interrupted.

Is there a solution to integrate a command like "if file *12345.txt doesn't exist then proceed with next line..."?

Thanks in advance for your help!

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum