Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

LexMex

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!