cURL / Mailing Lists / curl-users / Single Mail

curl-users

newb q about uploading a FOLDER to ftp

From: Samuel Fitz <sam_at_samfitz.com>
Date: Mon, 3 Nov 2008 12:05:28 -0700

howdy gang,
i've just gotten into curl in the past few months and it has been a major
time saver in uploading one file to multiple sites. here is and example of
the code i have been using:
curl -T /Users/samfitz/vm/vertical-sites/VMcURL/images/site/file.php
ftp://gtrbnd:*******@www.allbendoregon.com//www/gtr-bnd/ -v

i just recently tried uploading an entire FOLDER using this same code
structure and the process creates a 0kb file on the ftp server rather than a
new folder with all the housed files (and other folders).

i'm having a hard time sifting through the help, man and faq pages to find
anything that is relevant to my issue. this may be because i'm missing a key
element and i'm hoping someone out there can help point this out!

thanks in advance,
sam

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2008-11-03