cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

curl_setopt --ftp-account

From: Ted Kuo <ted_at_kblgroupintl.com>
Date: Fri, 18 Dec 2015 11:46:24 -0800

What is the paramater for curl_setopt() in PHP that corresponds to
argument --ftp-account of CURL.EXE? I can't find it in PHP website, and
account string in .netrc doesn't work. I am using Windows with PHP 5.4.

Below command line is how I list files in particular FTPs site. It works but I
need to do it with PHP. If this is not doable, please tell me how to do it
with PHP+Socket operation, or anything works in PHP. Thanks.
curl -u USER:PASS --ftp-account ACCT -3 -k ftps://SITE -o FILE.txt

Ted Kuo

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2015-12-18