homepage Welcome to WebmasterWorld Guest from 107.20.37.62
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / The Macintosh Webmaster
Forum Library, Charter, Moderators: travelin cat

The Macintosh Webmaster Forum

    
AppleScript Help Needed - Download + Rename Image Files
MisterT




msg:4060232
 9:44 pm on Jan 13, 2010 (gmt 0)

I would like to make an AppleScript where I can point to an image url such as http://example.com/image.jpg and download that file to a specified folder on my computer. Ideally, I could set the script to also re-name the downloaded image. For example, rename the above referenced "image.jpg" file to "newimagename.jpg". Any suggestions for this? Seems like it would be an easy one but I am very new to AppleScripts...

Any suggestions would be greatly appreciated.

(I have a list of image files I need to download + rename, and I was hoping to achieve this with an AppleScript)

[edited by: travelin_cat at 10:02 pm (utc) on Jan. 13, 2010]
[edit reason] changed url to example.com [/edit]

 

willis1480




msg:4062637
 4:51 am on Jan 18, 2010 (gmt 0)

PHP can read files with file_get_contents('http://whereever.com/image.jpg')

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / The Macintosh Webmaster
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved