Ask finder to log-on to local server, download file

Hi,
New to AS. I would like to write a script to have the finder delete an Endnote library folder on my desktop, connect to a local server, enter my username and password, download a replacement folder (always the same name), close the connection, then have the application endnote open the library. Ideally it would do this automatically every morning. I find myself doing this over and over again manually and would love to automate.

This seems to be just the sort of thing applescript was made for, but I am relatively new to Applescript and am having trouble finding/understanding the right commands. Any thoughts would be very much appreciated. Thanks,

Marcel

Model: Powerbook G4
AppleScript: 1.9.3
Browser: Safari 312.3
Operating System: Mac OS X (10.3.9)