The UploadFile
method is synchronous. If it completes without throwing an exception, you have had success. You should get a trappable WebException if it fails.
http://msdn.microsoft.com/en-us/library/36s52zhs.aspx
I'll leave out details about error trapping, as it appears you are familiar with it already.
kbrimington
2010-08-06 00:44:14