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 ![Go to previous message Go to previous message](theme/default/images/up.png) ![Go to next message Go to previous message](theme/default/images/down.png) |
Oblivion
Messages: 1106 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
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
|
|
|
![Read Message Read Message](theme/default/images/read.png) |
|
FTP class and reference example for U++
By: Oblivion on Sun, 27 April 2014 18:11
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: mirek on Wed, 14 May 2014 09:25
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: Oblivion on Wed, 12 April 2017 22:34
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: Klugier on Wed, 12 April 2017 23:05
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: Oblivion on Thu, 13 April 2017 08:17
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: Oblivion on Thu, 13 April 2017 13:55
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: Oblivion on Fri, 14 April 2017 23:45
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: Klugier on Sat, 15 April 2017 19:23
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: Klugier on Sat, 15 April 2017 19:38
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: Oblivion on Sun, 16 April 2017 18:28
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: Oblivion on Wed, 24 December 2014 12:06
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: Oblivion on Thu, 25 December 2014 18:03
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: Oblivion on Wed, 07 January 2015 20:52
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: Oblivion on Tue, 20 January 2015 01:17
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: unodgs on Tue, 07 July 2015 19:40
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: unodgs on Wed, 08 July 2015 10:20
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: Oblivion on Sat, 18 March 2017 23:28
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: Oblivion on Sun, 09 April 2017 02:32
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: Oblivion on Sun, 23 April 2017 23:41
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: Oblivion on Mon, 24 April 2017 19:01
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: Klugier on Mon, 24 April 2017 22:12
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: Oblivion on Tue, 25 April 2017 08:37
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: Tom1 on Fri, 16 June 2017 10:23
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
|
![Read Message Read Message](theme/default/images/read.png) |
|
Re: FTP class and reference example for U++
By: Oblivion on Mon, 02 April 2018 00:17
|
Goto Forum:
Current Time: Sun Sep 01 07:22:58 CEST 2024
Total time taken to generate the page: 0.01312 seconds
|