cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

ftp SIZE command and ASCII/BINARY mode

From: Max Katsev <mkatsev_at_gmail.com>
Date: Fri, 21 Sep 2007 21:20:28 +0300

Hello!
I try to find out file size on ftp. I set CURLOPT_NOBODY to 1, curl
makes SIZE request, but it doesn't set transfer mode. For my server
default mode is ASCII and it replies "550 SIZE not allowed in ASCII
mode"
What I do now is setting TYPE using CURLOPT_QUOTE. Is there a better way?
Thanks
Received on 2007-09-21

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET