Login  
Search All Forums
Dart Home | PowerTCP FTP for .NET | Custom Development Reply | PowerTCP FTP for .NET Topics | Forums   
AuthorForum: PowerTCP FTP for .NET
Topic: Put Exceptions
gdcircuit

From: Gle Cove, NY USA
Posts: 3
Member Since: 01/08/08
posted May 23, 2008 10:47 AM

I have three related questions.
First, if I am doing a multiple file "Put", does the Put check file size after each file upload? Or is this an option that has to be selected?

Secondly, is there a list of possible exceptions that could be listed in the file.exception property of the file object that put returns?

Lastly, I have seen some posts regarding a put creating a file on teh server that is empty, but teh length property that was returned by file is correct compared to teh file sent. And no exception was thrown in file.exception. Has this been resolved. I am trying to be 100% sure that the files I upload are created properly. if for some reason they are not, I need to know that, and then reload.
Jason Farrar (Admin)

From: Oneida, NY USA
Posts: 223
Member Since: 07/24/07

Extra Support Options
Custom Application Development

posted May 27, 2008 4:51 PM

The Put doesn't check the file but the information about the uploads can be checked through the progress event. You should be able to find the currently transfered bytes vs. the total bytes remaining to be transfered.

There isn't a list of possible exceptions as any exception type could possibly occur during a transfer, the construct was designed so that any exceptions that did occur would be stored on a per file basis so that even though one file in a transfer queue failed the others could possibly be completed.

The customer who reported having this problem determined that his FTP server was to blame for the error.

Reply | PowerTCP FTP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX