FTP upload question

Please post support and help requests here.
Posts: 1
Joined: 09 Feb 2009, 13:50

FTP upload question

Postby dam » 09 Feb 2009, 13:52

I want to retreive the progress percentage of an FTP upload operation using FTPClientSession Poco Class.

Thank you for response

Posts: 1268
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: FTP upload question

Postby guenter » 09 Feb 2009, 14:44

You'll have to do it yourself. Since FTPClientSession offers a stream interface, this is just a matter of counting how many bytes you have written to the stream. If you don't want to do the counting yourself, use Poco::CountingOutputStream.

Posts: 1
Joined: 01 May 2009, 17:44

Re: FTP upload question

Postby gameover » 01 May 2009, 17:48

Would either of you mind posting an example of how to do this? I'm quite new to Poco and c/c++ so I'm having some trouble working out how to do it own my own.

I want to do the exact same thing: get the progress of an FTP upload and/or download...

Many thanks in advance.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 6 guests