On Tue, 2002-03-12 at 18:50, Bernhard Lüder wrote: > Can I use the native RedHat ftp client to automate this task? > How do I get it to log in as a user, then transfer files and the log out > after?
It's fairly easy to use ftp in shell scripts. I used to use the following to upload webcam images to the webserver. uploadpic() { ftp -v -i -n $host <<EOF user $ftpuser $ftppasswd binary put $localfilename $remotefilename bye EOF } HTH, -- Peter [EMAIL PROTECTED] Granny: I'm pleased to say I don't even know what a sex object is. Nanny: I do. Our Shane brought one home from foreign parts once. -- (Terry Pratchett, Witches Abroad) -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug