[Gambas-user] curl ftp

Benoît Minisini gambas at ...1...
Wed Oct 9 01:34:59 CEST 2013


Le 30/09/2013 09:27, Shane at ...3199... a écrit :
> I'm having trouble connecting to a FTP server using the curl ftpclient
> and it seems that it uses EPSV buy default is there a way to switch to
> PASV mode ?
>
> also when i'm finished using the ftp connection what is the correct way to
> dissconect?
>
> thanks Shane
>

In revision #5870, I added a FtpClient.NoEPSV property to prevent the 
use of EPSV, and so to force the use of PASV.

Disconnect is normally automatically handled by the underlying curl 
library. Can you elaborate?

Regards,

-- 
Benoît Minisini




More information about the User mailing list