cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: turning off passive ftp

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 22 Apr 2001 18:58:12 +0200 (MET DST)

On Sat, 21 Apr 2001, Brian Martin wrote:

> How do I keep libcurl from trying to use the "pasv" ftp command, when I
> use the C API? I have a situation where I can't use passive on the one
> ftp server that I really need to do uploads on. I have had this problem
> with every piece of FTP software that I've tried, so I can be reasonably
> sure that it's not just curl.

You're looking for CURLOPT_FTPPORT. Check the details in the man page.

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
_______________________________________________
Curl-library mailing list
Curl-library_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-library
Received on 2001-04-22