[Gambas-user] curl ftp
Benoît Minisini
gambas at ...1...
Fri May 24 23:34:10 CEST 2013
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...
--
Benoît Minisini
More information about the User
mailing list