<?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 Help in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/perl-ftp-help/m-p/5012367#M47898</link>
    <description>Following is snippet of my ftp script.&lt;BR /&gt;&lt;BR /&gt;I'm getting the following error.&lt;BR /&gt;&lt;BR /&gt;I appreciate all help.&lt;BR /&gt;&lt;BR /&gt;ERROR:  could not cwd D:\inetpub\ftproot\apl at get_apl_files.pl line 19.&lt;BR /&gt;&lt;BR /&gt;Yes, that is the correct directory, and I do have accecc to that directory.   I can login no problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;my $path = "D:\\inetpub\\ftproot\\apl";&lt;BR /&gt;&lt;BR /&gt;if ( my $ftp = Net::FTP-&amp;gt;new($host) ) {&lt;BR /&gt;   print "Logging in to '$host' as user '$user'.\n";&lt;BR /&gt;&lt;BR /&gt;   $ftp-&amp;gt;login($user,$pw) or die "Could not login";&lt;BR /&gt;   $ftp-&amp;gt;pasv();&lt;BR /&gt;   print "Changing directory to '$path'\n";&lt;BR /&gt;   $ftp-&amp;gt;cwd($path) or die "could not cwd $path";</description>
    <pubDate>Mon, 06 Nov 2006 09:48:13 GMT</pubDate>
    <dc:creator>J. Callender</dc:creator>
    <dc:date>2006-11-06T09:48:13Z</dc:date>
    <item>
      <title>Perl FTP Help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-ftp-help/m-p/5012367#M47898</link>
      <description>Following is snippet of my ftp script.&lt;BR /&gt;&lt;BR /&gt;I'm getting the following error.&lt;BR /&gt;&lt;BR /&gt;I appreciate all help.&lt;BR /&gt;&lt;BR /&gt;ERROR:  could not cwd D:\inetpub\ftproot\apl at get_apl_files.pl line 19.&lt;BR /&gt;&lt;BR /&gt;Yes, that is the correct directory, and I do have accecc to that directory.   I can login no problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;my $path = "D:\\inetpub\\ftproot\\apl";&lt;BR /&gt;&lt;BR /&gt;if ( my $ftp = Net::FTP-&amp;gt;new($host) ) {&lt;BR /&gt;   print "Logging in to '$host' as user '$user'.\n";&lt;BR /&gt;&lt;BR /&gt;   $ftp-&amp;gt;login($user,$pw) or die "Could not login";&lt;BR /&gt;   $ftp-&amp;gt;pasv();&lt;BR /&gt;   print "Changing directory to '$path'\n";&lt;BR /&gt;   $ftp-&amp;gt;cwd($path) or die "could not cwd $path";</description>
      <pubDate>Mon, 06 Nov 2006 09:48:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-ftp-help/m-p/5012367#M47898</guid>
      <dc:creator>J. Callender</dc:creator>
      <dc:date>2006-11-06T09:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Perl FTP Help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-ftp-help/m-p/5012368#M47899</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;D:\inetpub\ftproot\apl at get_apl_files.pl line 19.&lt;BR /&gt;&lt;BR /&gt;Letter drives don't exist under Linux. Fix that code. OS is Linux?&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 06 Nov 2006 09:54:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-ftp-help/m-p/5012368#M47899</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-11-06T09:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Perl FTP Help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-ftp-help/m-p/5012369#M47900</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;     I'm getting the file from windows.</description>
      <pubDate>Mon, 06 Nov 2006 10:05:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-ftp-help/m-p/5012369#M47900</guid>
      <dc:creator>J. Callender</dc:creator>
      <dc:date>2006-11-06T10:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Perl FTP Help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-ftp-help/m-p/5012370#M47901</link>
      <description>J,&lt;BR /&gt;&lt;BR /&gt;Are you connecting to a Windows FTP server, or a linux FTP server?  What platform are you connecting from?&lt;BR /&gt;&lt;BR /&gt;It appears as if you want to ftp out of a linux box into a Windows FTP server.  If so you shouldn't specify a full directory path to change to.  Ex:&lt;BR /&gt;&lt;BR /&gt;1.  Windows FTP server is running and the default directory is c:\inetpub\ftproot.&lt;BR /&gt;&lt;BR /&gt;2.  When you login to FTP, you're already at that root and you'll want to 'CWD' into apl, which would put you in c:\inetpub\ftproot\apl.&lt;BR /&gt;&lt;BR /&gt;3.  Change your $path = "apl";&lt;BR /&gt;&lt;BR /&gt;If you're trying to accomplish this in reverse, FTPing from a Windows box to a linux box, you'll want to use the proper win32 module:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.digilife.be/quickreferences/QRC/PERL%20Win32%20Quick%20Reference.pdf" target="_blank"&gt;http://www.digilife.be/quickreferences/QRC/PERL%20Win32%20Quick%20Reference.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;&lt;BR /&gt;Peace,&lt;BR /&gt;Mike&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Nov 2006 10:17:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-ftp-help/m-p/5012370#M47901</guid>
      <dc:creator>Mike Hassell</dc:creator>
      <dc:date>2006-11-06T10:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Perl FTP Help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-ftp-help/m-p/5012371#M47902</link>
      <description>Mike,&lt;BR /&gt;&lt;BR /&gt;     I'm going from Lunux to Windows.&lt;BR /&gt;&lt;BR /&gt;Your Solution work.   Thanks for you help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Nov 2006 10:27:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-ftp-help/m-p/5012371#M47902</guid>
      <dc:creator>J. Callender</dc:creator>
      <dc:date>2006-11-06T10:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Perl FTP Help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-ftp-help/m-p/5012372#M47903</link>
      <description>Thread Close</description>
      <pubDate>Mon, 06 Nov 2006 10:28:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-ftp-help/m-p/5012372#M47903</guid>
      <dc:creator>J. Callender</dc:creator>
      <dc:date>2006-11-06T10:28:25Z</dc:date>
    </item>
  </channel>
</rss>

