ftp error bad file descriptor Oak Nebraska

Address 345 Lincoln Ave, Hebron, NE 68370
Phone (402) 768-2528
Website Link

ftp error bad file descriptor Oak, Nebraska

Strangely I see a "\" is being getting added to filename by "get()". The URL for these + + homepages can be found in Informational APAR II11334. + +-------------------------------------------------------------+ Problem conclusion This APAR contains the fix for HBAS defect D141689. * Cross Reference between Seems liek Ubuntu stops routing as soon as I log out. Speedy Servers and Bandwidth Generously Provided by pair Networks Built with the Perl programming language. Unix & Linux Forums > Special Forums > Hardware > Filesystems, Disks

RE: Bad File Descriptor using NET::ftp KevinADC (TechnicalUser) 25 Oct 08 13:04 max1x:CODEmy $file1 = "C:\\Today.txt";my $file2 = 'C:\\Today.txt';print $file1,"\n",$file2;prints:C:\Today.txtC:\Today.txt ------------------------------------------- Kevin, perl coder unexceptional! 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. How many different varieties (color, size, etc) of socks do you have in your sock drawer? 1. by castaway (Parson) on May 14, 2004 at 12:12UTC I don't see you using the date/time there. (Surely that -f gets a filename?).

Just remember to pull out 3 in the morning 3. Sure looks that way from the logging. Any messages, errors or other wise that are returned by the FTP Server can be retrieved by calling $ftp->message(). node historyNode Type: perlquestion [id://880304]Approved by GrandFatherhelp Chatterbox? and all is quiet...

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking [SOLVED] ftp problem , some configuration missing? 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 Close Reply To This Thread Posting in the Tek-Tips forums is a member-only feature. Re: Bad File descriptor Error by Anonymous Monk on Jan 04, 2011 at 07:31UTC You have $ftp->get("$_") or die "Cannot get $_: $! $^E\n"; But $!

HTH. 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 If the file size (which is the fourth column in the dir output) happens to be really large (more than 7 digits, I think), then that column will be wider than Find all posts by sysgate #3 04-28-2009 kishorepotta Registered User Join Date: Apr 2009 Last Activity: 22 July 2009, 2:22 PM EDT Posts: 2 Thanks: 0 Thanked 0

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";[snip remainder of code] reply | permalink Related Discussions First folder is called "23" secondfolder is called 365"#and the file is called "369_0.jpg". That's my configuration in a VBox virtualized scenario (XP host) with 2 machines: A. Are you new to LinuxQuestions.org?

Net::FTP=GLOB(0x1f04884)>>> PASS .... Tnx, Fabio. 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 C.[reply][d/l][select] Re: Bad file descriptor' error with automated FTP script.

Thanks Remove advertisements Sponsored Links kishorepotta View Public Profile Find all posts by kishorepotta #2 04-26-2009 sysgate Unix based Join Date: Nov 2006 Last Activity: 18 December done Net::FTP=GLOB(0x1f04884)>>> USER admin Net::FTP=GLOB(0x1f04884)<<< 331 Password required for admin. B. Try the ls() method instead.

What happens if you try to download the files listed in "api_log_file.txt" using a ftp client? 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 Watson Product Search Search None of the above, continue with my search PK61362: FTP SERVER OUT OF SYNCH WITH PASSIVE DATA CONNECTS z/OS A fix is available Obtain the fix for File unavailable (e.g., file not found, no access). [download] [reply][d/l][select] Re^2: Bad File descriptor Error by amvarma (Initiate) on Jan 04, 2011 at 07:48UTC Thanks a lot for quick reply.

ilmasce View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by ilmasce 06-15-2011, 05:50 AM #8 ilmasce LQ Newbie Registered: Jun 2011 Posts: We haven't made any changes on our server and remote severt for the last 12 months. by mifflin (Curate) on May 14, 2004 at 07:09UTC I haven't used the dir() method in Net::FTP before but, by looking at your code, it appears that it returns far more What does this mean.

Password Home Search Forums Register Forum RulesMan PagesUnix Commands Linux Commands FAQ Members Today's Posts Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, Subscribe You can track all active APARs for this component. Submit feedback to IBM Support 1-800-IBM-7378 (USA) Directory of worldwide contacts Contact Privacy Terms of use Accessibility Home WHM/cPanel WordPress Security LiteSpeed MySQL PHP Tips SSH General About Who We Are? RE: Bad File Descriptor using NET::ftp KevinADC (TechnicalUser) 27 Oct 08 20:07 Quote:I don't have windows machine, so I can't test..., can u try escaping the 2nd \ with a \

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. Password Linux - Networking This forum is for any issue related to networks or networking. Debian system conf: Code: eth0 Link encap:Ethernet HWaddr 08:00:27:dd:ca:06 inet addr: Bcast: Mask: inet6 addr: fe80::a00:27ff:fedd:ca06/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:242 errors:0 dropped:0 overruns:0 frame:0 TX packets:54 Socks just get in the wayResults (237 votes).

Net::FTP=GLOB(0x1eb0c44)>>> PORT 192,168,2,31,14,171 Net::FTP=GLOB(0x1eb0c44)<<< 200 PORT command successful. Local fix Problem summary **************************************************************** * USERS AFFECTED: All users of the IBM Communications Server * * for z/OS Version 1 Release(s) 6, 7, 8 and 9 * * IP: FTP exists, so no need to download" ============================ Getting TTFILE008499;1 TTFILE008499 exist, So no need to download [download] ========================[reply][d/l] Re: Re: Re: Bad file descriptor' error with automated FTP script.