Is there a way to set FTPPutFile to overwrite a file if it exists with the same name.
I am sending them with a wild card and if the file exists it is skipped. The other option would be to get a file list, check to see if it exists, delete it, check to see if it is deleted and then copy the new file. I would like to avoid this if possible.
Example scripts and tips (replaces Old Scripts & Tips archive)
3 posts • Page 1 of 1
I just tested with FTPPutFile (using wildcards) and it overwrote my files. This was what I was expecting. If yours is not doing that then your suggestion is a good one. Maybe the inability to overwrite is to do with the server or a setting on the server?
Yes, we have a Custom Scripting Service. Message me or go here