Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: Bytes Transferred
gumtu

From: Peterborough, ON Canada
Posts: 5
Member Since: 11/27/07
posted May 22, 2008 11:09 AM

The ftp trace command gives most of the diagnostic information I need except the size of the file transferred. I need to know the size in Bytes that was uploaded or downloaded.

Is ther any way of getting this reported via the ftp trace command>

Regards
Jason Farrar (Admin)

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

Extra Support Options
Custom Application Development

posted May 28, 2008 8:57 AM

Usually this gets reported back by the FTP server at the end of a transfer. You can also get this information through the progress event.
gumtu

From: Peterborough, ON Canada
Posts: 5
Member Since: 11/27/07
posted May 29, 2008 7:06 AM

The trace is quite strange when connected to the AS400. It neither reports the local file name or the size of the file which is why I logged this question.

After I submitted the question I looked into the progress event and wrote some code to save the value of the total bytes sent. To save the local filename I had to write the filename into the ftp trace log file as I couldn't seem to get it written automatically.

What would be nice is a trace debug level which could be set to get a varying degree of diagnostics & debug info into the log file.

For now I can use the progress event as you suggested.

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