Re: FTP and Applescript
Re: FTP and Applescript
- Subject: Re: FTP and Applescript
- From: Philip Aker <email@hidden>
- Date: Tue, 21 Aug 2007 11:04:32 -0700
On 2007-08-21, at 10:58:20, Rick Dwyer wrote:
Well what I really have going on is a bit complex. I have LDML
(Lasso) code that was supposed to issue a FTP upload command to a
remote directory with only drop box privileges. You cannot see the
contents, you can only upload.
The Lasso tags can't seem to handle this, they fail to upload to
this directory, but I can do so with Transmit.
Therefore, I wanted to have my Lasso tags execute an applescript or
a shell command, it can do both, I just didn't know which was better.
With thanks to Chris T, I have been trying curl in terminal.
However, I continually get the following error:
curl -T /TempUploads/steve2.zip -u my\/user:mypass ftp://
ftp.mydestination.com/
curl: (13) Bad PASV/EPSV response: 502
Notice in the username there is a \ directly infront of a /. The \
I believe escapes the / which is a part of the username.
Anyone on what the error means? I know the username and password
are correct, as they work in Transmit.
Maybe it has a problem with passive mode?
Check out the curl options. For instance:
--disable-epsv
Philip Aker
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden