• 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 Scripting file size limitations? (Leopard)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URL Access Scripting file size limitations? (Leopard)


  • Subject: Re: URL Access Scripting file size limitations? (Leopard)
  • From: Martin Michel <email@hidden>
  • Date: Thu, 28 Jan 2010 10:21:52 +0100

Hi,

You could try to use curl with the do shell script command instead:

do shell script "/usr/bin/curl -u user:password 'http://www.apple.com/bigfile.zip' -o '/Users/martin/Desktop/bigfile.zip'"

I never got good results with URL Access Scripting...

Bets regards from snowy Berlin,

Martin

Am 28.01.2010 um 08:51 schrieb James Gretton:

Hi all, I've been using AppleScript's URL Access Scripting to download images from the admin area of a "print your digital photos" website. 

The relevant folder on the website requires authentication, so I send the username and password in the URL:

tell application "URL Access Scripting"
download "http://user:email@hidden/file.jpg" to <local folder> replacing yes
end tell

This has been working fine for a while, however recently we've increased the maximum file upload size on the website to 50megs and problems have started to occur.

It would seem that URL Access Scripting can download files up to about 25 megs, but with large files it gives up half way through. Does anyone know if there is a set limit to the size of file URL Access Scripting can handle? 

We're on Leopard (not snow Leopard) by the way.

Many thanks for any help you can provide,

James

 _______________________________________________
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

References: 
 >URL Access Scripting file size limitations? (Leopard) (From: James Gretton <email@hidden>)

  • Prev by Date: URL Access Scripting file size limitations? (Leopard)
  • Next by Date: Re: POSIX path with osascript
  • Previous by thread: URL Access Scripting file size limitations? (Leopard)
  • Next by thread: Re: URL Access Scripting file size limitations? (Leopard)
  • Index(es):
    • Date
    • Thread