1. shihab
Nov 22, 7:03 pm show options
Newsgroups: comp.unix.questions
From: "shihab" <shiha@gmail.com- Find messages by this author
Date: 22 Nov 2005 06:03:50 -0800
Local: Tues, Nov 22 2005 7:03 pm
Subject: ftp stucks
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Report Abuse
Hi ,
I am facing a strange problem in my code
I have written a shell script to automate ftp using .netrc file
here is the portion of code
ftp -i ${DomainName} 2>wcs_ftp_err.tmp 1>myfile <<_EF_
bin
cd "${SourceDirectory}"
lcd "${InputDirectory}/${MfgSiteName}/input"
get "${InputFileName}"
bye
_EF_
and the problem is
Sometimes it exits without any failure message after running for a long
time
even the the script also gets terminated , i.e the code after this also
is not getting executed
any idea it seems that ftp is getting stucked and nothing is
working
anything is appreciated
Shihab