Hi All,
I am facing problem in ftp. I am porting code from Solaris to MV Linux, ftp behaves differently in both.
script is in shell
The problem its not working, the program is not transferring the files. If I comment the bold one, It will work fine. I do not know why it is behaving so. Can any body please help to resolove this issue.
Thanks in advance
I am facing problem in ftp. I am porting code from Solaris to MV Linux, ftp behaves differently in both.
script is in shell
Code:
if [[ "${OSname}" = "Linux" ]] ; then
print "= ftp -n -i ${FtpMachine}" >> ${Log}
ftp -n -i ${FtpMachine} <<-EOF >> ${Log} 2>&1
user ${Login} ${Password}
...............
else
print "= ftp -n -i ${FtpMachine}" >> ${Log}
[B]ftp -n -i ${FtpMachine} <<-EOF >> ${Log} 2>&1[/B]
user ${Login} ${Password}
...............
Thanks in advance
Comment