Applesript and ftp

Good Day,
Is it possible to have a file/folder/image etc. upload automatically at a specified time of the day/week? just as long as the machine is running?

I am new to applescript and I wonder if this can be achieved… Thanks for you response in advance…

Sure, using URL Access Scripting:


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

As for scheduling, there are several options including cron, Script Scheduler and an idle handler. Which one is right for you depends somewhat on your needs.

An other solution :

do shell script ("curl -T " & (quoted form of POSIX path of “path:to:image.gif”) & " " & “ftp://user:password@server.net/path/image.gif”)