[Gambas-user] Problems working with FTPClient

Benoît Minisini gambas at ...1...
Sat Feb 16 20:44:28 CET 2013


Le 16/02/2013 20:33, Tobias Boege a écrit :
>> libcurl uses passive mode by default apparently.
>>
>> And you must not use sockets to deal with FtpClient. FtpClient is the
>> object you have to read in asynchronous mode.
>
> OK. I see the transfer delay in my application when using Exec(["LIST"]).
> The data seems to get to through to curl. But as a matter of fact, there is
> no way to access this data using FtpClient.
>
> It seems to be pretty straightforward to add my bPassive argument. Shall I
> try?
>
> Regards,
> Tobi
>

Do you use FtpClient in synchronous or asynchronous mode?

Don't FtpClient raise its Read event when running the command?

-- 
Benoît Minisini




More information about the User mailing list