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.
FTPPutFile
Moderators: Dorian (MJT support), JRL, Phil Pendlebury
- Dorian (MJT support)
- Automation Wizard
- Posts: 1389
- Joined: Sun Nov 03, 2002 3:19 am
- Contact:
Re: FTPPutFile
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
Re: FTPPutFile
Thank you for checking