[Gambas-user] curl ftp

Jorge Carrión shordi at ...626...
Sun May 19 19:18:32 CEST 2013


Wow! Thanks Benoit.
I've done a progress bar in downloads using the stat of the file. But I
can't reach de upload progress. It's a great work.
In the other hand it's usefull to know the conversation with the server and
the output of ftp commands as LIST... I'm nos sure that it's imposible get
that or its my fault.
At the moment I'm getting de LIST by downloading the URL of directory...
but it's not very clear...
Attaching how the project is at the moment.
Regards


2013/5/19 Benoît Minisini <gambas at ...1...>

> Le 14/05/2013 09:58, Shane a écrit :
> > trying to use the ftp client but how do you monitor the status of files
> > uploads etc?
> >
>
> In revision #5663, I have added a Progress event to the FtpClient class,
> that is raised regularly while something is uploaded or downloaded.
>
> And I added four new properties to get the information about the
> progress: Downloaded, Uploaded, TotalDownloaded and TotalUploaded. I
> think they return byte counts, but the libcurl documentation is not very
> clear.
>
> Please tell me if it fits your needs and works for you!
>
> Note that HttpClient does not raise the event yet, but it will.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gbftp.tar.gz
Type: application/x-gzip
Size: 116632 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20130519/28a2a268/attachment.bin>


More information about the User mailing list