|
|
Make an AppleScript Studio application self-update
It's much easyer to get the current version number from the online text file with curl. just write 1.0 to the online text file instead of CurrentVersion=1.0 and use set UpdateVersion to do shell script "curl http://yoursite.edu/CurrentVersion.txt"
Yes, but "curl" does not honor the proxy setting...
The problem with using curl for this is that it will go directly to port 80 in your example - if you use a proxy server, this will be ignored and curl might not be able to connect properly. The "URL Scripting Access" honors the system's proxy settings and thus indeed is the better choice!
Yes, but "curl" does not honor the proxy setting...
That is correct, but curl does have a .curlrc (I think that's the name) where the proxy server can be specified. One of the things on my to-do list is to figure out a way to automatically synchronize that with the system proxy setting. Has anyone tackled that yet?
Yes, but "curl" does not honor the proxy setting...
I looked at this (getting the system's proxy settings based on the current location) but decided against it - it would have been too painful to do so (at least much more painful than using three lines with URL Access Scripting instead...)
Take a look at this thread in the Apple Discussions
Yes, but "curl" does not honor the proxy setting...
Thanks for that reference. It is harder than I thought. Unfortunately, I do have to deal with authenticating proxies. I've done that successfully with wget on a Linux box, but I'm not sure about curl. I had a bad experience with URL Access Scripting on OS 9. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|