Welcome to WebmasterWorld Guest from

Forum Moderators: travelin cat

Message Too Old, No Replies

AppleScript Help Needed - Download + Rename Image Files

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

Junior Member

10+ Year Member

joined:July 20, 2006
posts: 171
votes: 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]

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

Junior Member

10+ Year Member

joined:Aug 12, 2004
votes: 0

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