Unix questions - ftp stucks

This is Interesting: Free IT Magazines  
Home > Archive > Unix questions > November 2005 > ftp stucks





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author ftp stucks
shihab

2005-11-22, 5:56 pm

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 <<_EOF_
bin
cd "${SourceDirectory}"
lcd "${InputDirectory}/${MfgSiteName}/input"
get "${InputFileName}"
bye
_EOF_

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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com