Thank to Bhavesh Shah, Galen Johnson, Julian John that answer my question, all the answers are useful but I like to use reply from Bhavesh. Thanks every body... ----- Original Message ----- From: "Bhavesh Shah" <bshah@citadon.com> To: "Speedy Matrix" <hamidi@malaysianbiketrader.com> Sent: Thursday, March 04, 2004 2:28 AM Subject: RE: help: How to Run Script Backup Crontab Hi Speedy, Below Script might help you --------------------------- #!/bin/ksh SOURCE_DIR=/test1 DEST_DIR=/test2 USER=testuser PASSWORD="test1234" REMOTE_BOX=yourip FILE=filename cd $SOURCE_DIR ftp -niv $REMOTE_BOX <<EOF user $USER $PASSWORD bin cd $DEST_DIR put $FILE EOF ---------------------------- -----Original Message----- From: Speedy Matrix [mailto:hamidi@malaysianbiketrader.com] Sent: Wednesday, March 03, 2004 10:15 AM To: sunmanagers@sunmanagers.org Subject: help: How to Run Script Backup Crontab Hello Gurus, I have 1 unit remote workstation Sunblade 150 and 1 unit server 2000 Enterprise in HQ. I need to ftp one file from that workstation into Sun Enterprise using script and set the schedule FTP on Crontab. Anybody knows Thanks _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Mon Mar 8 17:00:35 2004
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:27 EST