| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: Problems creating a directory tree with FTP
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 1 Aug 2002 10:16:49 +0200 (MET DST)
On Wed, 31 Jul 2002, Gerard Cheng wrote:
> I am trying to find a way to create a directory tree on a remote FTP site
Right.
libcurl has no good interface for sending custom commands to an ftp server
The only working way I can come up with off the top of my head is to attempt
Check first path part:
curl ftp://server.com/a/
if it failed, create it:
curl -Q "MKD a" -Q "MKD a/b" -Q "MKD a/b/c" ftp://server.com
else it worked, check next part:
etc...
I am interested in improving this situation so that operations such as these
-- Daniel Stenberg -- curl related mails on curl related mailing lists please ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2002-08-01 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info