NET::FTP
am 05.04.2006 02:04:02 von razat.gupta
------_=_NextPart_001_01C65844.732C8C38
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Hi All,
=20
I dont know whether this is a correct forum for asking this or not.
But still if anybody can help me , its great.
=20
We are having some perl scripts which are pulling data from a FTP Server
..
We have a coonection through a NAT IP.
Simultaneously , five or six scripts runs and fetch data from the same
server.
=20
Sometimes we got files successfully while sometimes we are getting
error :
=20
UNEXPECTED EOF FILE ON COMMAND CHANNEL.
=20
Everytime i am pulling the files manually , i am not getting any errors
like that.
But i am getting the above error only through scripts.
Can anyone tell me whether its a script problem or some network issue.
=20
Thanks in advance!!!
=20
regards
Razat
------_=_NextPart_001_01C65844.732C8C38--
Re: NET::FTP
am 05.04.2006 04:10:27 von tshinnic
--=====================_289532421==.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed
At 07:04 PM 4/4/2006, Gupta, Razat wrote:
>Hi All,
>
>I dont know whether this is a correct forum for asking this or not.
>But still if anybody can help me , its great.
We can help best by directing you to another place. Given the mail list
name it is not surprising this list is quite busy enough with DBI questions.
A very good place to research general Perl difficulties is www.perlmonks.com.
If using the "Super Search" tool doesn't find you some answers or hints, you
could post a message at "Seekers of Perl Wisdom". It is strongly
suggested you show at least some of the code you are having problems with.
Additionally there is a chat facility (chatterbox) where you might
ask questions
of whoever is currently around. Some of them might not be grumpy. :-(
>We are having some perl scripts which are pulling data from a FTP Server
>.
>We have a coonection through a NAT IP.
>Simultaneously , five or six scripts runs and fetch data from the same
>server.
>
>Sometimes we got files successfully while sometimes we are getting
>error :
>
>UNEXPECTED EOF FILE ON COMMAND CHANNEL.
>
>Everytime i am pulling the files manually , i am not getting any errors
>like that.
>But i am getting the above error only through scripts.
>Can anyone tell me whether its a script problem or some network issue.
>
>Thanks in advance!!!
>
>regards
>Razat
--=====================_289532421==.ALT--
Re: NET::FTP
am 05.04.2006 19:35:08 von davidnicol
On 4/4/06, Gupta, Razat wrote:
> We have a coonection through a NAT IP.
> Simultaneously , five or six scripts runs and fetch data from the same
> server.
>
> Sometimes we got files successfully while sometimes we are getting
> error :
>
> UNEXPECTED EOF FILE ON COMMAND CHANNEL.
>
> Everytime i am pulling the files manually , i am not getting any errors
> like that.
> But i am getting the above error only through scripts.
> Can anyone tell me whether its a script problem or some network issue.
I reccommend wrapping the transaction in question in an evaluation
and trying again -- perphaps after sleeping a few seconds -- when the
error happens. That approach generally works whenever facing a
mysterious intermittent error.
Also looking that the ftp server logs. You might need to increase
the open files limit on the server or something like that.
I have hit FTP servers pretty hard (using DirDB::FTP) and have found that
they often aren't up to the task. Trying a new FTP server might help. The=
re
are dozens of them listed on freshmeat.net.
and FTP is hell on NAT, too. You could switch to a different data access m=
ethod
entirely, such as a proper database.
--
David L Nicol
Should the bike shed have bunks? Or maybe cots?