tags:

views:

196

answers:

2

Hi people!

I'm trying to do an application that warns me when a user finishes uploading a file to my FTP server. What I want is: when a user completes its transfer to my FTP server, I want that my application warn me.

How can I do that? In C#.NET…

Thanks. Best regards.

+1  A: 

Can you not have a small application that utilises the file watcher classes in .Net and when a file is created on the ftp location, send a email to yourself(or take any action you do require)?

See here for details: File Watcher

This question may be of use as well C# FileSystemWatcher And FTP

Dean
The file is created when the transfer begin and not when the transfer completes. I want that my application warns me when the trasnfer is complete. And not when the file is created.
arpf
@arpf - the documentation says it can notify on changes too. Won't the file handle be closed when the upload is complete, and a change event be sent?
Dominic Rodger
+1  A: 

Use FileSystemWatcher

Similar thread.

NinethSense
+1 for helpful link
Nij