cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: AS/400 FTP server (was: My first post for verification)

From: Patrick Monnerat <Patrick.Monnerat_at_datasphere.ch>
Date: Sat, 29 Aug 2015 01:44:30 +0200

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
Received on 2015-08-29