Patrick Monnerat wrote: > 1) Use the format above, with an additional / in URL (i.e.: > ftp://as400server//QSYS.LIB/QTEMP.LIB/yourfile.FILE). > 2) Set option CURLOPT_FTP_FILEMETHOD to FTPFILE_NOCWD.
Sorry, my bad: replace 2) by: 2) Set option CURLOPT_FTP_FILEMETHOD to CURLFTPMETHOD_NOCWD. as Dan told in his answer. See http://curl.haxx.se/libcurl/c/CURLOPT_FTP_FILEMETHOD.html Patrick
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
