• 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: "Stockly, Ed" <email@hidden>
  • Date: Thu, 28 Jan 2010 10:05:53 -0800
  • Thread-topic: URL Access Scripting file size limitations? (Leopard)

Title: Re: URL Access Scripting file size limitations? (Leopard)
It is possible that the download is timing out. Could there be another error?

Try this:

With timeout of 600 seconds
try
tell application "URL Access Scripting"
download "http://user:email@hidden/file.jpg" to <local folder> replacing yes
end tell
on error errText number errNum
   display dialog errText
end
End timeout

The dialog may tell you what the error is.

HTH,

ES

On 1/27/10 11:51 PM, "James Gretton"  wrote:

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
 _______________________________________________
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: URL Access Scripting file size limitations? (Leopard)
      • From: Emmanuel LEVY <email@hidden>
References: 
 >URL Access Scripting file size limitations? (Leopard) (From: James Gretton <email@hidden>)

  • Prev by Date: Re: Parsing out words in email subject
  • Next by Date: Re: Parsing out words in email subject
  • Previous by thread: Re: URL Access Scripting file size limitations? (Leopard)
  • Next by thread: Re: URL Access Scripting file size limitations? (Leopard)
  • Index(es):
    • Date
    • Thread