RM exits out of script if file does not exist

2 posts / 0 new
Last post
itefix
Offline
Last seen: 12 hours 59 min ago
Joined: 01.05.2008 - 21:33
RM exits out of script if file does not exist

I have a sFTP script which I run in batch on a Windows 2003 server.The script sends a file to another Windows server.
In my sFTP script, I have an RM command to delete the file on the server I am sending to before I send the new file.
If the file does not exist, the script is exiting without completing the other steps.
How do I get the script to continue executing?

Terry

itefix
Offline
Last seen: 12 hours 59 min ago
Joined: 01.05.2008 - 21:33
Re: RM exits out of script if file does not exist

How does your script look like ?

Topic locked

Release announcements