HTH. Sure looks that way from the logging. Looks like a compatibility issue, since the script is working against other OSes and some other FTP servers. Alistair [reply] Re: Re: Bad file descriptor' error with automated FTP script. this content
General help on how to use Cerberus. I will get an error of "Badfile descriptor". Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.Just copy and paste the BBCode HTML Markdown MediaWiki reStructuredText code below into your site. Perl Forum at 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 http://www.perlmonks.org/bare/?node_id=353287
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? edited: 20110104 12:57 GMT to remove spelling mistake[reply] Re^3: Bad File descriptor Error by samarzone (Pilgrim) on Jan 04, 2011 at 12:42UTC I am not sure about the leading backslash problem By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Cindy Top Post Reply Print view 1 post • Page 1 of 1 Return to “General Help” Jump to General Announcements Firewall Help General Help Suggestions
Remove advertisements Sponsored Links kishorepotta View Public Profile Find all posts by kishorepotta « Previous Thread | Next Thread » Thread Tools Show Printable Version Email this Page Subscribe to this Having a problem logging in? Check out past polls. Strangely I see a "\" is being getting added to filename by "get()".
This problem remains...any idea? Ooops, I forgot to mention the ftp server is not a *nix neither a windows server, it is an IBM midrange server. Join UsClose Help answer threads with 0 replies. http://www.unix.com/filesystems-disks-and-memory/108112-not-able-ftp-files-ftp-server.html Are you new to LinuxQuestions.org?
Blogs Recent Entries Best Entries Best Blogs Blog List Search Blogs Home Forums HCL Reviews Tutorials Articles Register Search Search Forums Advanced Search Search Tags Search LQ Wiki Search Tutorials/Articles Search 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. Quote: Originally Posted by ilmasce I also noticed another odd thing: why the debian system stops pinging (host unreachable) 10.0.0.x IPs as soon as I log off from Ubuntu? Questions on how a particular feature works, how to use feature x with feature y...
If you use backslashes in your windows directory path definitions with activeperl the best thing to do is use single-quotes:$path = 'C:\Windows';perl will interpolate that correctly and Windows will open the http://grokbase.com/t/perl/beginners/031d2vw0c8/ftp-error-bad-file-descriptor RE: Bad File Descriptor using NET::ftp max1x (Programmer) 27 Oct 08 12:37 I don't have windows machine, so I can't test..., can u try escaping the 2nd \ with a \ That's my configuration in a VBox virtualized scenario (XP host) with 2 machines: A. How many different varieties (color, size, etc) of socks do you have in your sock drawer? 1.
Can put/get without any problem now...I didn't think to routing problems 'cause other ftp commands (cd, ls etc.) were working. news ilmasce View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by ilmasce Thread Tools Show Printable Version Email this Page Search this Thread Advanced Speedy Servers and Bandwidth Generously Provided by pair Networks Built with the Perl programming language. Unix & Linux Forums > Special Forums > Hardware > Filesystems, Disks T3RM1NVT0R View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by T3RM1NVT0R 06-14-2011, 11:34 AM #5 ilmasce LQ Newbie Registered: Jun 2011 Posts:
Any help is GREATLY appreciated! We are not able to figure out what suddenly causing the issue. Already a member? http://jamisonsoftware.com/ftp-error/ftp-file-error.php The module's synopsis has a clear example of how to get the error message: $ftp->get("that.file") or die "get failed ", $ftp->message; [download] Note that this'll expose that 550 error that the
How would I use mput with NET::ftp to do this?Thanks for your time.Peter. by allyc (Scribe) on May 14, 2004 at 10:23UTC You might be able to get more information from Net::FTP. Seekers of Perl Wisdom Cool Uses for Perl Meditations PerlMonks Discussion Categorized Q&A Tutorials Obfuscated Code Perl Poetry Perl News about Information?
ftp> get sources.list local: sources.list remote:sources.list ftp: setsockopt (ignored): Permission denied ---> PORT 10,0,10,24,179,226 200 PORT subcommand request successfull. ---> RETR sources.list 425 Not able to open data connection No problem Thanks, Fabio. So the initial failure logs should be used for diagnostic reasons and subsequent errors maybe misleading. Our script is returning 'Bad File Descriptor' error where as it is working fine for all the rest of the other 50 FTP servers we have.
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->binary or die "could The default gateway for the 10.0.0.0 network is 10.0.0.6 I also noticed another odd thing: why the debian system stops pinging (host unreachable) 10.0.0.x IPs as soon as I log off This means that network and files are proper, but why is the script unable to pull with first error_msg as "Bad file descriptor" and all the other files give error_msg as check my blog LinuxQuestions.org > Forums > Linux Forums > Linux - Networking [SOLVED] ftp problem , some configuration missing?
Re: Bad file descriptor' error with automated FTP script. Seems liek Ubuntu stops routing as soon as I log out. Forum rules Post Reply Print view Search Advanced search 1 post • Page 1 of 1 Cindyjc Posts: 1 Joined: Fri Jul 28, 2006 10:17 am Bad File Descriptor PLEASE HELP!