• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: FTP and Applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FTP and Applescript


  • Subject: Re: FTP and Applescript
  • From: Rick Dwyer <email@hidden>
  • Date: Tue, 21 Aug 2007 14:18:59 -0400


On Aug 21, 2007, at 2:04 PM, Philip Aker wrote:


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


I tried this option, along with a few others by attaching them with a space to at the end of the line ( mydestination.com --disable-epsv)

Same error message.
I will try to contact the owner of the directory I am uploading to to see if they can assist from their side.
-Rick










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
  • Follow-Ups:
    • Re: FTP and Applescript
      • From: Rick Dwyer <email@hidden>
    • Re: FTP and Applescript
      • From: Doug McNutt <email@hidden>
References: 
 >FTP and Applescript (From: Rick Dwyer <email@hidden>)
 >Re: FTP and Applescript (From: "Mark J. Reed" <email@hidden>)
 >Re: FTP and Applescript (From: Rick Dwyer <email@hidden>)
 >Re: FTP and Applescript (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: FTP and Applescript
  • Next by Date: Re: using rsync
  • Previous by thread: Re: FTP and Applescript
  • Next by thread: Re: FTP and Applescript
  • Index(es):
    • Date
    • Thread