<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic perl FTP scripts (A. Clay Stephenson) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-ftp-scripts-a-clay-stephenson/m-p/3697741#M248757</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am using (A. Clay Stephenson) perl script for ftp automation. Its working perfect in development server. But after moved to production server, when i do pattern matching i am not getting correct return code. Its always saying return code as 0 even when file is not available. But its working perfectly in another systsem.&lt;BR /&gt; -vot@qrhqz001 root]# ftpget.pl -h 192.168.11.7 -l qrlhffp -p test123 -L test12 &lt;BR /&gt;Opening FTP session on host "192.168.11.7"&lt;BR /&gt;Setting binary transfer mode.&lt;BR /&gt;[root@qrhqz001 root]# &lt;BR /&gt;when file test12 is not available, its not giving any error.&lt;BR /&gt;&lt;BR /&gt;But when i run the same in test server. it working perfectly as below.&lt;BR /&gt;troot@websvr01 ffp-sh]# ftpget.pl -h 172.18.104.169 -l qrlhffp -p eVn105v -L tet&lt;BR /&gt;ls of Directory '', Pattern 'test' failed (5)&lt;BR /&gt;[root@websvr01 ffp-sh]# &lt;BR /&gt;&lt;BR /&gt;Please help me to short out the issue.&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;J.MArlose.</description>
    <pubDate>Sun, 25 Dec 2005 11:50:42 GMT</pubDate>
    <dc:creator>Jeganraj</dc:creator>
    <dc:date>2005-12-25T11:50:42Z</dc:date>
    <item>
      <title>perl FTP scripts (A. Clay Stephenson)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-ftp-scripts-a-clay-stephenson/m-p/3697741#M248757</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am using (A. Clay Stephenson) perl script for ftp automation. Its working perfect in development server. But after moved to production server, when i do pattern matching i am not getting correct return code. Its always saying return code as 0 even when file is not available. But its working perfectly in another systsem.&lt;BR /&gt; -vot@qrhqz001 root]# ftpget.pl -h 192.168.11.7 -l qrlhffp -p test123 -L test12 &lt;BR /&gt;Opening FTP session on host "192.168.11.7"&lt;BR /&gt;Setting binary transfer mode.&lt;BR /&gt;[root@qrhqz001 root]# &lt;BR /&gt;when file test12 is not available, its not giving any error.&lt;BR /&gt;&lt;BR /&gt;But when i run the same in test server. it working perfectly as below.&lt;BR /&gt;troot@websvr01 ffp-sh]# ftpget.pl -h 172.18.104.169 -l qrlhffp -p eVn105v -L tet&lt;BR /&gt;ls of Directory '', Pattern 'test' failed (5)&lt;BR /&gt;[root@websvr01 ffp-sh]# &lt;BR /&gt;&lt;BR /&gt;Please help me to short out the issue.&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;J.MArlose.</description>
      <pubDate>Sun, 25 Dec 2005 11:50:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-ftp-scripts-a-clay-stephenson/m-p/3697741#M248757</guid>
      <dc:creator>Jeganraj</dc:creator>
      <dc:date>2005-12-25T11:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: perl FTP scripts (A. Clay Stephenson)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-ftp-scripts-a-clay-stephenson/m-p/3697742#M248758</link>
      <description>Its not working in RHEL ES3.0 update 5 and above.&lt;BR /&gt;&lt;BR /&gt;J.Marlose</description>
      <pubDate>Mon, 26 Dec 2005 03:19:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-ftp-scripts-a-clay-stephenson/m-p/3697742#M248758</guid>
      <dc:creator>Jeganraj</dc:creator>
      <dc:date>2005-12-26T03:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: perl FTP scripts (A. Clay Stephenson)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-ftp-scripts-a-clay-stephenson/m-p/3697743#M248759</link>
      <description>Its not working in RHEL with update 5 and above and vsftpd as ftp server.&lt;BR /&gt;&lt;BR /&gt;J.Marlose</description>
      <pubDate>Mon, 26 Dec 2005 03:21:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-ftp-scripts-a-clay-stephenson/m-p/3697743#M248759</guid>
      <dc:creator>Jeganraj</dc:creator>
      <dc:date>2005-12-26T03:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: perl FTP scripts (A. Clay Stephenson)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-ftp-scripts-a-clay-stephenson/m-p/3697744#M248760</link>
      <description>I suggest you to check the perl version and perl modules installed in your server.&lt;BR /&gt;&lt;BR /&gt;Try again after that.</description>
      <pubDate>Mon, 26 Dec 2005 08:48:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-ftp-scripts-a-clay-stephenson/m-p/3697744#M248760</guid>
      <dc:creator>Hunan_1</dc:creator>
      <dc:date>2005-12-26T08:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: perl FTP scripts (A. Clay Stephenson)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-ftp-scripts-a-clay-stephenson/m-p/3697745#M248761</link>
      <description>Shalom J,&lt;BR /&gt;&lt;BR /&gt;I don't think A. Clay tested your exact setup. &lt;BR /&gt;&lt;BR /&gt;I'd say however its likely to be a perl version issue, or an intricacy of the vsftp server, which is a little different than the wu-fptd server.&lt;BR /&gt;&lt;BR /&gt;The client here is is also RedHat? Run and post perl -v on the perl binaries being used in the ftpget.pl script.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 26 Dec 2005 09:30:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-ftp-scripts-a-clay-stephenson/m-p/3697745#M248761</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-12-26T09:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: perl FTP scripts (A. Clay Stephenson)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-ftp-scripts-a-clay-stephenson/m-p/3697746#M248762</link>
      <description>[root@qrhqz001 root]# perl -V&lt;BR /&gt;Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:&lt;BR /&gt;  Platform:&lt;BR /&gt;    osname=linux, osvers=2.4.21-23.elsmp, archname=i386-linux-thread-multi&lt;BR /&gt;    uname='linux bug'&lt;BR /&gt;    config_args='-des -Doptimize=-O2 -g -pipe -march=i386 -mcpu=i686 -Dmyhostna'&lt;BR /&gt;    hint=recommended, useposix=true, d_sigaction=define&lt;BR /&gt;    usethreads=define use5005threads=undef'&lt;BR /&gt; useithreads=define usemultiplicity=&lt;BR /&gt;    useperlio= d_sfio=undef uselargefiles=define usesocks=undef&lt;BR /&gt;    use64bitint=undef use64bitall=un uselongdouble=&lt;BR /&gt;    usemymalloc=, bincompat5005=undef&lt;BR /&gt;  Compiler:&lt;BR /&gt;    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGG,&lt;BR /&gt;    optimize='',&lt;BR /&gt;    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-s'&lt;BR /&gt;    ccversion='', gccversion='3.2.3 20030502 (Red Hat Linux 3.2.3-49)', gccosan'&lt;BR /&gt;gccversion='3.2.3 200305'&lt;BR /&gt;    intsize=o, longsize=s, ptrsize=l, doublesize=8, byteorder=1234&lt;BR /&gt;    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12&lt;BR /&gt;    ivtype='long'&lt;BR /&gt;k', ivsize=4'&lt;BR /&gt;ivtype='long'&lt;BR /&gt;known_exten, nvtype='double', nvsize=, Off_t='', lseeksize=8&lt;BR /&gt;    alignbytes=4, prototype=define&lt;BR /&gt;  Linker and Libraries:&lt;BR /&gt;    ld='gcc'&lt;BR /&gt;l', ldflags =' -'&lt;BR /&gt;    libpth=/usr/local/lib /lib /usr/lib&lt;BR /&gt;    libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil&lt;BR /&gt;    perllibs=&lt;BR /&gt;    libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libper&lt;BR /&gt;    gnulibc_version='2.3.2'&lt;BR /&gt;  Dynamic Linking:&lt;BR /&gt;    dlsrc=dl_dlopen.xs, dlext=so', d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-r'&lt;BR /&gt;    cccdlflags='-fPIC'&lt;BR /&gt;ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5', lddlflags='s Unicode/Normalize'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Characteristics of this binary (from libperl): &lt;BR /&gt;  Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERT&lt;BR /&gt;  Locally applied patches:&lt;BR /&gt;        MAINT18379&lt;BR /&gt;  Built under linux&lt;BR /&gt;  Compiled at Feb  1 2005 09:37:17&lt;BR /&gt;  @INC:&lt;BR /&gt;    /usr/lib/perl5/5.8.0/i386-linux-thread-multi&lt;BR /&gt;    /usr/lib/perl5/5.8.0&lt;BR /&gt;    /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi&lt;BR /&gt;    /usr/lib/perl5/site_perl/5.8.0&lt;BR /&gt;    /usr/lib/perl5/site_perl&lt;BR /&gt;    /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi&lt;BR /&gt;    /usr/lib/perl5/vendor_perl/5.8.0&lt;BR /&gt;    /usr/lib/perl5/vendor_perl&lt;BR /&gt;    /usr/lib/perl5/5.8.0/i386-linux-thread-multi&lt;BR /&gt;    /usr/lib/perl5/5.8.0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[root@qrhqz001 bin]# perl -v&lt;BR /&gt;&lt;BR /&gt;This is perl, v5.8.0 built for i386-linux-thread-multi&lt;BR /&gt;(with 1 registered patch, see perl -V for more detail)&lt;BR /&gt;&lt;BR /&gt;Copyright 1987-2002, Larry Wall&lt;BR /&gt;&lt;BR /&gt;Perl may be copied only under the terms of either the Artistic License or the&lt;BR /&gt;GNU General Public License, which may be found in the Perl 5 source kit.&lt;BR /&gt;&lt;BR /&gt;Complete documentation for Perl, including FAQ lists, should be found on&lt;BR /&gt;this system using `man perl' or `perldoc perl'.  If you have access to the&lt;BR /&gt;Internet, point your browser at &lt;A href="http://www.perl.com/," target="_blank"&gt;http://www.perl.com/,&lt;/A&gt; the Perl Home Page.&lt;BR /&gt;&lt;BR /&gt;[root@qrhqz001 bin]#</description>
      <pubDate>Tue, 27 Dec 2005 09:15:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-ftp-scripts-a-clay-stephenson/m-p/3697746#M248762</guid>
      <dc:creator>Jeganraj</dc:creator>
      <dc:date>2005-12-27T09:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: perl FTP scripts (A. Clay Stephenson)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-ftp-scripts-a-clay-stephenson/m-p/3697747#M248763</link>
      <description>The Net::FTP module can only report what the underlying ftpd daemon returns as a status. Evidently you have found an ftp server that reports a status '2' (good) when no ls() matches are found. The 'fix' is trivially easy and you should have been able to handle this yourself. All you have to do is examine the number of items stored in @tmp_array by the ls() method and if $#tmp_array &amp;lt; 0 then set the status to a non-zero value. In Perl, $#array_name contains the index of the last member @array_name and the arrays are zero-based. Therefore $#array_name for an empty array would be set to -1. In any event, version 1.31 addresses your problem.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Dec 2005 10:56:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-ftp-scripts-a-clay-stephenson/m-p/3697747#M248763</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-12-27T10:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: perl FTP scripts (A. Clay Stephenson)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-ftp-scripts-a-clay-stephenson/m-p/3697748#M248764</link>
      <description>Thanks ACS,&lt;BR /&gt;&lt;BR /&gt;Its working perfectly now. Thanks. I never used perl and started studing. Hope next troubleshooting i could do it.&lt;BR /&gt;&lt;BR /&gt;J.Marlose.&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Dec 2005 09:03:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-ftp-scripts-a-clay-stephenson/m-p/3697748#M248764</guid>
      <dc:creator>Jeganraj</dc:creator>
      <dc:date>2005-12-28T09:03:46Z</dc:date>
    </item>
  </channel>
</rss>

