| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
CURLOPT_POSTQUOTE chmod uploaded file
From: Bryan Hansen <bhansen_at_ubermind.com>
Date: Thu, 20 Sep 2007 17:03:02 -0700
Hello,
I am trying to upload a file to an ftp server using the libcurl
When sending custom "QUOTE" commands to the remote server, one of the
I'm wondering if I am calling the CURLOPT_POSTQUOTE incorrectly, or
Any insight will be much appreciated! Thanks,
CURL *curlHandle = curl_easy_init();
NSURL *uploadURL = [NSURL URLWithString:@"ftp://
// set proxy settings
NSString *filePath = @"/Users/msmith/pic.jpg";
struct curl_slist *headerlist = NULL;
curl_easy_setopt(curlHandle, CURLOPT_URL,[[uploadURL
// tell curl to keep track of progress
// enable uploading
// specify file to upload
CURLcode curlCode = curl_easy_perform(curlHandle);
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info