Home » Developing U++ » UppHub » FTP class and reference example for U++
Re: FTP class and reference example for U++ [message #47869 is a reply to message #47859] |
Fri, 14 April 2017 23:45   |
Oblivion
Messages: 1071 Registered: August 2007
|
Senior Contributor |
|
|
Hello,
As Klugier suggested above, I've re-written the convenience functions, using a more object-oriented approach.
As a result, Ftp convenience functions, both single-threaded and multithreaded variants, are changed, and much less cluttered and more extendible now.
// Single-threaded.
Ftp::Result FtpGet(const Ftp::Request& request, Gate<int64, int64> progress = false, Event<> whenwait = CNULL);
Ftp::Result FtpPut(const Ftp::Request& request, Gate<int64, int64> progress = false, Event<> whenwait = CNULL);
// Multi-threaded.
int FtpAsyncGet(Ftp::Request& request, Event<Ftp::Result> progress = CNULL);
int FtpAsyncPut(Ftp::Request& request, Event<Ftp::Result> progress = CNULL);
You can find the updated package in the first post of this topic.
FtpBrowser example and FTP package documentation are also updated to reflect the changes.
Regards.
Oblivion.
Github page: https://github.com/ismail-yilmaz
upp-components: https://github.com/ismail-yilmaz/upp-components
|
|
|
 |
|
FTP class and reference example for U++
By: Oblivion on Sun, 27 April 2014 18:11
|
 |
|
Re: FTP class and reference example for U++
|
 |
|
Re: FTP class and reference example for U++
|
 |
|
Re: FTP class and reference example for U++
|
 |
|
Re: FTP class and reference example for U++
By: mirek on Wed, 14 May 2014 09:25
|
 |
|
Re: FTP class and reference example for U++
|
 |
|
Re: FTP class and reference example for U++
By: Oblivion on Wed, 12 April 2017 22:34
|
 |
|
Re: FTP class and reference example for U++
By: Klugier on Wed, 12 April 2017 23:05
|
 |
|
Re: FTP class and reference example for U++
By: Oblivion on Thu, 13 April 2017 08:17
|
 |
|
Re: FTP class and reference example for U++
|
 |
|
Re: FTP class and reference example for U++
By: Oblivion on Thu, 13 April 2017 13:55
|
 |
|
Re: FTP class and reference example for U++
By: Oblivion on Fri, 14 April 2017 23:45
|
 |
|
Re: FTP class and reference example for U++
By: Klugier on Sat, 15 April 2017 19:23
|
 |
|
Re: FTP class and reference example for U++
By: Klugier on Sat, 15 April 2017 19:38
|
 |
|
Re: FTP class and reference example for U++
By: Oblivion on Sun, 16 April 2017 18:28
|
 |
|
Re: FTP class and reference example for U++
By: Oblivion on Wed, 24 December 2014 12:06
|
 |
|
Re: FTP class and reference example for U++
By: Oblivion on Thu, 25 December 2014 18:03
|
 |
|
Re: FTP class and reference example for U++
By: Oblivion on Wed, 07 January 2015 20:52
|
 |
|
Re: FTP class and reference example for U++
By: Oblivion on Tue, 20 January 2015 01:17
|
 |
|
Re: FTP class and reference example for U++
By: unodgs on Tue, 07 July 2015 19:40
|
 |
|
Re: FTP class and reference example for U++
|
 |
|
Re: FTP class and reference example for U++
By: unodgs on Wed, 08 July 2015 10:20
|
 |
|
Re: FTP class and reference example for U++
By: Oblivion on Sat, 18 March 2017 23:28
|
 |
|
Re: FTP class and reference example for U++
By: Oblivion on Sun, 09 April 2017 02:32
|
 |
|
Re: FTP class and reference example for U++
By: Oblivion on Sun, 23 April 2017 23:41
|
 |
|
Re: FTP class and reference example for U++
By: Oblivion on Mon, 24 April 2017 19:01
|
 |
|
Re: FTP class and reference example for U++
By: Klugier on Mon, 24 April 2017 22:12
|
 |
|
Re: FTP class and reference example for U++
By: Oblivion on Tue, 25 April 2017 08:37
|
 |
|
Re: FTP class and reference example for U++
|
 |
|
Re: FTP class and reference example for U++
By: Tom1 on Fri, 16 June 2017 10:23
|
 |
|
Re: FTP class and reference example for U++
|
 |
|
Re: FTP class and reference example for U++
By: Oblivion on Mon, 02 April 2018 00:17
|
Goto Forum:
Current Time: Thu Dec 07 17:50:27 CET 2023
Total time taken to generate the page: 0.01609 seconds
|