Hi All,
Good Morning.. I have to ftp a file from one server to other server.And the platform is unix. I am totally new to shell scripting. From the help forums I have coded the script as follows:
#!/bin/ksh
HOST='bbm02'
USER='blter\intatch'
PASSWD='bb@c12'
Source='/eev/SS/wo7/stng'
Target='/Psoft'
File="abc.log"
open $HOST [29]
quote USER $USER
quote PASSWD $PASSWD
cd $Source
get $File
quit
But still I am not able to connect(Can login into bbm02 and can do ftp manually). Is anything I can do in this script with all your help.
Thank You.
Good Morning.. I have to ftp a file from one server to other server.And the platform is unix. I am totally new to shell scripting. From the help forums I have coded the script as follows:
#!/bin/ksh
HOST='bbm02'
USER='blter\intatch'
PASSWD='bb@c12'
Source='/eev/SS/wo7/stng'
Target='/Psoft'
File="abc.log"
open $HOST [29]
quote USER $USER
quote PASSWD $PASSWD
cd $Source
get $File
quit
But still I am not able to connect(Can login into bbm02 and can do ftp manually). Is anything I can do in this script with all your help.
Thank You.