Hi Sushant,
On Mon, 2005-11-14 at 19:00, Sushant Gulati wrote:
In other
words, can explicit login and typing of username password be avoided by using shell scripts in any way to login to a ftp server. can uploading and downloading of files be automated by the shell scripts in any way?
If you want to use normal ftp command u can use .netrc /etc/netrc to automate the upload/download.
man netrc
Only thing is that your user name / password will be stored in plain text.
Also can anyone suggest me some alternative approach where ftp's explicit login be avoided and if there is some other opensource products like rsync etc . Can they match ftp in functionality?
If you want to synchronise data between 2 locations,rsync is better alternative as only differences are downloaded/uploaded. You can use rsync with SSH to ensure security.
man rsync
Best regards, sushant gulati
HTH With regards,