[Gambas-user] curl ftp
Benoît Minisini
gambas at ...1...
Sat May 25 00:23:45 CEST 2013
Le 24/05/2013 23:34, Benoît Minisini a écrit :
> Le 23/05/2013 14:09, Shane a écrit :
>> On 20/05/13 01:12, Benoît Minisini wrote:
>>> 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,
>>>
>> hi Benoit
>>
>> I don't seem to be able to get the progress event to fire during an
>> up load?
>>
>
> Indeed. Apparently I did as the curl documentation said, but the curl
> progress callback is never called. I will investigate...
>
OK, my fault. The problem should be fixed in revision #5675.
Regards,
--
Benoît Minisini
More information about the User
mailing list