R
Red2
Hi all,
I have a little problem. I'm watching a directory on a server for
a FTP file to come in. I'm using FileSystemWatcher to catch the file
create event. Most cases this work fine. However sometimes when the
FTP is slow I get a error because another process is using the file.
This is because the FTP is still writing the file.
Is there a elegant way to prevent this. (I've thought of doing the
try/catch and loop untill it's free)
Thanks for the HELP!!!!
I have a little problem. I'm watching a directory on a server for
a FTP file to come in. I'm using FileSystemWatcher to catch the file
create event. Most cases this work fine. However sometimes when the
FTP is slow I get a error because another process is using the file.
This is because the FTP is still writing the file.
Is there a elegant way to prevent this. (I've thought of doing the
try/catch and loop untill it's free)
Thanks for the HELP!!!!