• 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: URL Access - Upload???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URL Access - Upload???


  • Subject: Re: URL Access - Upload???
  • From: Michael Turner <email@hidden>
  • Date: Wed, 1 May 2002 16:04:52 -0400

Chris,

Here is a tiny sample. A note of caution: Simon is right. URL Access sucks. It timeouts often & easily & it causes general agony. For example, see Jolly Roger's <rant> about URL Access on Feb 14th. This script worked for me, on 10.1.4.



set send_file to (choose file)
set send_file to send_file as string
set the target_URL to "ftp://username:email@hidden/Users/mt/Public/"; -- Important Note: _absolute path_ at the end.

tell application "URL Access Scripting"
upload file send_file to target_URL without binhexing
end tell




URL access
scripting...

Mac OS X 10.1.4 uploading to my own laptop or a remote unix server....

Don't use URL Access Scripting, it's poo. Use do shell script and curl. Reasonably solid (although I get malloc errors when running curl from the command line to upload files - can be worked around quite easily and is then solid).

Get in touch if you need more.

HTH

Simon Forster
_______________________________________________
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.

References: 
 >Re: URL Access - Upload??? (From: Simon Forster <email@hidden>)

  • Prev by Date: getting current time from QuickTime Player
  • Next by Date: Re: Shell Question? Help please.
  • Previous by thread: Re: URL Access - Upload???
  • Next by thread: A calculation question.
  • Index(es):
    • Date
    • Thread