cURL / Mailing Lists / curl-users / Single Mail

curl-users

Struggling to get curl to upload to drop box

From: Rick Dwyer <rdwyer_at_quick-link.com>
Date: Mon, 27 Aug 2007 13:10:30 -0400

Hello all.
I am trying to use curl on the Mac OS X 10.4.9 OS to place a file
into a remote ftp directory configured as a drop box only. The
remote directory will not let you get a directory listing and any
attempt to do so will return an error. Therefore I was instructed to
issue my commands as PUT only in Active mode (passive will be rejected).

The following is my syntax which I believe to be correct, but the
files are not arriving in the remote directory and I receive no error
message indicating my syntax is wrong.

do shell script ("curl -P 192.168.80.113 -T /TempUploads/
RickTest99.zip -u user/name:mypass ftp://ftp.remoteftpaccount.com/")

The 80.113 address is the IP of the machine I am running on. I was
told the -P would force active instead of passive.
The / slash in the username is part of the username.

Any help with what I am doing wrong is appreciated.
Thanks

  --Rick
Received on 2007-08-27