saving to a file does not work

Hi, I am trying to save a safaro document in a file, but with no success so far. Here’s the code:
tell application “Safari”
open location “http://photos6.flickr.com/6825408_990e98665e_o_d.jpg
save front document in file “Users/jean/Desktop/jj.JPG”
end tell
The file is not created!; however, if I just do a save front document (without the “in …”), it does create a file after the prompt to ask for a location.
I already created an “alias” version of the same code, but no success either.

Thank you for helping a newbie.

Jean

I prefer curl:

Jon


[This script was automatically tagged for color coded syntax by Convert Script to Markup Code]

Still I do not understand why I cannot save the open document in safari ??!!

sky33940