File sharing error 5 (General questions)
I am testing your encryption software and have a liltle problem with it. In a vb-application i encrypt a file, after that the file has to be ftp'd to an other server.
Without encryption all works, with encryption the ftp-software complains that the file is still in use.
What could be the reason for the sharing violation ?
Re: File sharing error 5
Gerard,
did you finish encrypting file, so it is not locked anymore with wodCrypt? Quick test would be to destroy wodCrypt after encryption (set it to Nothing).
Could you send me your code to [mail=techsupport@weonlydo.com]techsupport@weonlydo.com[/mail] so I can try it out here and see why would this happen?
Thanks.
Re: File sharing error 5
Gerard,
I checked. You should destroy instance of destination FileBlob before accessing the file. Or, you can set it to new filename. If you set to non-existing filename make sure you catch the error it may return (but it will do the job you need anyway).
Re: File sharing error 5
What is it with you guys and file locking ?
confirmed that component does not release the files,
Even after statement FileBlob = Nothing ,
can this be fixed ?
I am using your idea, and set it to a temp file before deleting source,
It works!,
but I think this perpetuates bad programming habits.
Can you fix it ?
Thanks,
Mav
Re: File sharing error 5
Mav,
I cannot duplicate this, I'm working with version 1.2.7.25.
Can you prepare some small sample which can duplicate your problem
and send it to techsupport@weonlydo.com
So, after encryption file is still locked, right?
Did you tried with our sample (4.Encrypt files), can this sample duplicate your problem?
Regards,
Alan