PDA

View Full Version : Test for file



Werner
09-26-2003, 07:47 AM
Hello,

How can I test if a file ('Update.zip') exists in a certain directory ('C:\Update') ?
I want to do the following :
First test if file 'Update.zip' exists in 'C:\Update'. If it does, use this file to perform the update. If it doesn't, connect to internet and download.
The downloading part is working fine.

Best regards,

Werner

Brett
09-26-2003, 11:06 AM
In your server file editor script, use a Read File Information action. Set the "File information to collect" field to "Existence".