curl-library
Re: creating remote directories via ftp
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 15 May 2001 08:22:48 +0200 (MET DST)
Date: Tue, 15 May 2001 08:22:48 +0200 (MET DST)
On Mon, 14 May 2001, Rodney Simmons wrote:
> Is there a way to create directories on a remote machine using the
> libcurl ftp interface?
Yes, there is. Although rather crude. (Suggestions on possible improvements
in this area is welcome.)
The options CURLOPT_QUOTE and CURLOPT_POSTQUOTE are what you're looking for.
Do note that you need to figure out the FTP commands to issue by studying RFC
959.
-- Daniel Stenberg -- curl dude -- http://curl.haxx.se/ _______________________________________________ Curl-library mailing list Curl-library_at_lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/curl-libraryReceived on 2001-05-15