cURL / Mailing Lists / curl-users / Single Mail

curl-users

FTP login home

From: Andrew D <bodwin_at_gmail.com>
Date: Thu, 1 Feb 2007 17:22:14 -0500

Hi all, I am using curl to upload to a FTP site. At the root level of
the FTP server there are 3 directories VOL1, VOL2 and VOL3. My login
places me in a sub directory of VOL2. My curl command looks like this:
curl -v -P w --ftp-create-dirs -T /Users/markb/Desktop/100094_.eps
ftp://USER:PASS@ipaddress/VOL1/Matrix/10/1001/

The ouput from this contains the line "> CWD VOL1" and because the
directory VOL1 doesn't exist in my home directory it creates it. How
would I get curl to go to "/VOL1/"

Thank You for any help you can provide.

Mark
Received on 2007-02-01