Overwriting on PutFile (General questions)
When using .PutFile with a filename that already exists on the server, the _Done event is fired with ErrorCode = 40550 and ErrorText = Access denied.
I could first read the directory to see if my file already exists and then do a .DeleteFile before I send it, but I was wondering if there was an easier way.
Thanks,
John
Re: Overwriting on PutFile
Gondoo,
this goes outside of component's scope - it acts on your requests, and it's up to you to take care of errors. Adding such functionality would be too specific - and if we go into that direction, we would need to add 1000 similar small features.
So - you will need to add logic for this by yourself. :(
Regards.
Re: Overwriting on PutFile
Ok.
Thanks for the quick reply.