Overwrite Local File with GetFile

Apr 18, 2013 at 2:38 PM
This is a great Component. Well done. So much easier than using WinSCP. My only question is regarding the Overwrite local file option.

I pull down .xls files from a remote site (the Local and Remote Paths are stored as string variables). I use the Get File Action with the Overwrite local file set to false. I execute the task the first time and it pulls down all of the files that I need perfectly. When I run it a second time, it overwrites all of the files. I'm not sure why. Am I doing anything wrong.

Any help would be fantastic. Once again, what a great project!
Coordinator
Apr 18, 2013 at 4:24 PM
Hi Andrew,
     Please let me know ... when you executed it for the second time the value of the property "OverwriteLocalPath" is always "True" or "False".
Thank you,
Cosmin
Apr 18, 2013 at 4:27 PM
Hi Cosmin,

Thanks for the VERY quick reply. Much appreciated. The value is always set to "False"

Cheers,
Andrew.
Jun 12, 2013 at 4:16 PM
Hi cosminfr,
Excellent component but as Andrew mentions, the value is set to "False" and the file gets overwritten. I don't want to overwrite the file. Any assistance is appreciated.