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