script help?
hi, i need some help with a script, it'll be a daily cron job for my server, so i know it needs to go into /etc/cron.daily (red hat server).
what it needs to do is ftp into another server, cd into a directory, get a file, rename the file, and copy it to my websites html directory. i've done a little scripting, but i'm just unsure about the ftp part, do ftp commands work in a script? if so, how would authentication take place? any help would be greatly appreciated |
for anyone interetsed, i found this http://www.linuxgazette.com/issue34/izquierdo.html and it works flawlessly.
|
btw
u can't make interactive ftp script (one could but it far too complicated for start upers) |
All times are GMT -5. The time now is 12:58 AM. |