• 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: Delete FTP file (What about uploading?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delete FTP file (What about uploading?)


  • Subject: Re: Delete FTP file (What about uploading?)
  • From: Joseph Weaks <email@hidden>
  • Date: Thu, 12 Jun 2003 12:13:19 -0500

On Wednesday, June 11, 2003, at 07:25 PM, Deivy Petrescu wrote:
Do a man curl and use curl from "do shell script"

Could you also post an example of of uploading a file via ftp from my home directory, one that includes the username:password? I have been trying to write a droplet to quickly ftp a file to my web space with no interaction.
I apparently keep stumbling over the syntax for curl. I've been trying things like:

on open aliasList
repeat with eachFile in aliasList
set theFile to POSIX path of eachFile
set curlCommand to "curl ftp://www.myuniversity.edu/wwwpub/ -T " & theFile & " & -U usrnm:psswrd"
do shell script quoted form of curlCommand
end repeat
end open

To be clear, I've yet to get the curl command to work in Terminal. In some variations, I'm getting error 10, nsername/password incorrect. I've tried -u and -U.
Thanks for input,
Joe Weaks
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Delete FTP file (What about uploading?)
      • From: EBI Aktivitet <email@hidden>
References: 
 >Re: Delete FTP file (From: Deivy Petrescu <email@hidden>)

  • Prev by Date: Re: Resurgence in AppleScript interest
  • Next by Date: Drive Partitioning
  • Previous by thread: Re: Delete FTP file
  • Next by thread: Re: Delete FTP file (What about uploading?)
  • Index(es):
    • Date
    • Thread