Home > Ftp Error > Ftp Error Bad File Descriptor

Ftp Error Bad File Descriptor

RE: Bad File Descriptor using NET::ftp pcutler (TechnicalUser) (OP) 27 Oct 08 14:45 As it turns out, the issue had nothing to do with PERL after all.I was running the script PerlMonks was recently assimilated by The Perl Foundation. gldrv missing etc. HTH. http://imagextension.com/ftp-error/ftp-file-error.php

Others exploiting the Monastery: (2)atcroft mandarin As of 2016-10-16 23:43 GMT Sections? HTH. Tnx, Fabio. Waiting for reply Server not responding, closing connection. >>> NLST send error from sendCmd - EDC5113I Bad file descriptor. (errno2=0x1123011C) Connection with 203.9.9.1 terminated Command: quit +-------------------------------------------------------------+ + Please check our

Ooops, I forgot to mention the ftp server is not a *nix neither a windows server, it is an IBM midrange server. we need to send some xml & audio files to a remote FTP server from a Linux box, we are doing this in Perl script using Net::FTP->. Regards AmitComment on Bad File descriptor ErrorSelect or Download Code Replies are listed 'Best First'. What happens if you try to download the files listed in "api_log_file.txt" using a ftp client?

my $files = $ftp->ls(); # this returns an arrayref for my $filename (@$files) { # put your code in here to deal with each file } [download] [reply][d/l] Re: Re: Bad Subscribe You can track all active APARs for this component. I will get an error of "Bad file descriptor". User Name Remember Me?

Fedora 2 06-08-2007 06:19 AM missing file for wireless configuration daav Mandriva 2 10-17-2006 02:58 AM Problem running UT Demo, Xlib missing on 0.0.. PerlMonks parthenogenetically spawned by Tim Vroom. Seems liek Ubuntu stops routing as soon as I log out. my site when FTPed the files using Perl scripts, only empty files ( 0 byte) are getting created on the remote server and data is not getting written onto the server.

Here is my code.I left stuff out last time.use Net::FTP;$ftp = Net::FTP ->new("$ip_address",Timeout => 200,debug => 1,ftp_passive => 1)or die "Can't connect: $!n";$ftp->login($username, $password)or die "Still couldn't authenticate.\n";$ftp->binaryor die "could not If yes, do both client uses same firewall to reach to FTP? Note the direction of the arrows. "<<<" means from the server. Ritu Nigam. 20040514 Edit by castaway: Changed title from 'FTP script to get bin files from Unix server, after 1st file error "Bad file descriptor" rest files also error but all

If you need to reset your password, click here. http://grokbase.com/t/perl/beginners/031d2vw0c8/ftp-error-bad-file-descriptor The relevent portions of the script are below: =============================== ####Connect to Server open (FD1, ">>$logname") || print FD1 "Couldnt open - write $logname\n +" ; my $ftp=new Net::FTP("$server",Timeout=>"300000")|| print FD1 "Can Net::FTP=GLOB(0x1f04884)>>> PASS .... Search this Thread 06-10-2011, 05:20 AM #1 ilmasce LQ Newbie Registered: Jun 2011 Posts: 6 Rep: ftp problem , some configuration missing?

Cheers, Rob "Michael Kramer" wrote in message news:[email protected] [snip remainder of code] Rob Dixon at Jan 13, 2003 at 6:26 pm ⇧ Hi MichaelFirst, and most obviously, your actual parameters for Check This Out Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: Sirs, We have an Automated FTP script that pulls file from a server. In any case, you could check if the parsing of the dir() output is producing rubbish. by Anonymous Monk on May 14, 2004 at 08:26UTC For "||print .." changed to "or die ..." , this should be fine. [reply] Re: Bad file descriptor' error with automated FTP

The St. ftp: error Bad file descriptor why "Bad file descriptor at line 94 " System call returning Bad file Descriptor last and labels was Re: IO::socket close() and "bad file descriptor" passing Questions on how a particular feature works, how to use feature x with feature y... http://imagextension.com/ftp-error/ftp-error-no-such-file.php Why don't you use ls()? -- Regards - Samar [reply][d/l][select] Re^2: Bad File descriptor Error by amvarma (Initiate) on Jan 04, 2011 at 11:17UTC I need to download the log files

trouble with file descriptor RE: :Handle, fdopen, and file descriptor # RE: :Handle, fdopen, and file descriptor # Discussion Navigation viewthread | post Discussion Overview groupbeginners @ Notice: Undefined variable: pl_domain_short Required fields are marked *Comment You may use these HTML tags and attributes:

Are you new to LinuxQuestions.org?

I am trying to get a list of log files from a mobile device.

The proxy/firewall (ip 10.0.0.6) is on the same net of the ubuntu system (10.0.0.160 on eth0) and the ftp server (ip 10.0.0.5) Quote: Originally Posted by T3RM1NVT0R Let us know ifconfig Feedback are appreciated : ) You may also like thisCheck active connections to web server - DDOS solutionUnable to install yum-rhn-plugin, please contact CloudLinux (Fix)Enabling second level quotas on openVZ/virtuozzo/VPSCreate new The client I'm trying to connect from is the Debian machine. Issue here is..

Routing, network cards, OSI, etc. Fabio. This doesn't happen on the Ubuntu machine where I can get/put files on the ftp server without any hassle. have a peek here PerlMonks FAQ Guide to the Monastery What's New at PerlMonks Voting/Experience System Tutorials Reviews Library Perl FAQs Other Info Sources Find Nodes?

Please read the "How to use this forum" article before posting. All rights reserved.Unauthorized reproduction or linking forbidden without expressed written permission. All Rights Reserved. So instead I'll point out that your '|| print .. ' statements are not ending the script, thus you will get errors in all the following code, if for example your

Any help /inputs regards this issue would be greatly appreciated. This problem remains...any idea? Any help is GREATLY appreciated! RE: Bad File Descriptor using NET::ftp KevinADC (TechnicalUser) 27 Oct 08 20:07 Should have been:$path = 'C:\Windows\'; <-- bad$path = 'C:\Windows\\'; <-- OK$path = 'C:\Windows'; <-- good$path = 'C:/Windows/'; <-- OK$path

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking [SOLVED] ftp problem , some configuration missing? Let us know ifconfig and routing table of both debian and ubuntu system. Net::FTP=GLOB(0x1f04884)>>> RETR Access_Sequence_DotNet_Log.html Net::FTP=GLOB(0x1f04884)<<< 550 \Access_Sequence_DotNet_Log.html : can +'t find the file Cannot get Access_Sequence_DotNet_Log.html : Bad file descriptor [download] Can I get some assistance? How would I use mput with NET::ftp to do this?Thanks for your time.Peter.

© 2017 imagextension.com