<?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 Re: files dowbload using FTP in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083155#M309367</link>
    <description>&amp;gt;When i use the "crontab" i got the following error why?&lt;BR /&gt;*.: No such file or directory.&lt;BR /&gt;&lt;BR /&gt;You might want to use the "ls" command to show what files are there.&lt;BR /&gt;&lt;BR /&gt;But it appears you saw "*." and used that.  The "." was the end of the sentence, not part of the syntax you needed.  So you need:&lt;BR /&gt;mget *&lt;BR /&gt;</description>
    <pubDate>Wed, 10 Oct 2007 02:17:01 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2007-10-10T02:17:01Z</dc:date>
    <item>
      <title>files dowbload using FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083146#M309358</link>
      <description>Hi,&lt;BR /&gt;i written a shell script to download files forom another screver to my server, for that iam using "crontab" to run the script. but  my problem is total script is not executing why? its its saying *.* drectory is not found error and remote Directory is not found like that pls go through the attachment please.&lt;BR /&gt;i set crontab Like this&lt;BR /&gt;&lt;BR /&gt;12 02 * * *  sh /abc/test.sh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Oct 2007 02:31:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083146#M309358</guid>
      <dc:creator>Ramana.Sv</dc:creator>
      <dc:date>2007-10-09T02:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: files dowbload using FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083147#M309359</link>
      <description>Afte 'user $uid $passwd'&lt;BR /&gt;add&lt;BR /&gt;'prompt off' &lt;BR /&gt;&lt;BR /&gt;before first mget&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Tue, 09 Oct 2007 02:38:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083147#M309359</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2007-10-09T02:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: files dowbload using FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083148#M309360</link>
      <description>prompt off mean iam not getting.&lt;BR /&gt;just asking for knowledge sir... pls tell me sir...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you,</description>
      <pubDate>Tue, 09 Oct 2007 02:52:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083148#M309360</guid>
      <dc:creator>Ramana.Sv</dc:creator>
      <dc:date>2007-10-09T02:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: files dowbload using FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083149#M309361</link>
      <description>Hi Ramana,&lt;BR /&gt;&lt;BR /&gt;Can you try the attached script ( change the required parameters)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Aneesh</description>
      <pubDate>Tue, 09 Oct 2007 03:02:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083149#M309361</guid>
      <dc:creator>Aneesh Mohan</dc:creator>
      <dc:date>2007-10-09T03:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: files dowbload using FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083150#M309362</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;sorry the script was not attached , pls check now.</description>
      <pubDate>Tue, 09 Oct 2007 03:03:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083150#M309362</guid>
      <dc:creator>Aneesh Mohan</dc:creator>
      <dc:date>2007-10-09T03:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: files dowbload using FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083151#M309363</link>
      <description>You didn't use $ftpsrv on your ftp command.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;'prompt off' mean i am not getting.&lt;BR /&gt;&lt;BR /&gt;Also as Ivan said, you may need to add the command:&lt;BR /&gt;prompt off&lt;BR /&gt;After your "user" command.  (I don't see it making a difference.)&lt;BR /&gt;&lt;BR /&gt;If there are no files to get, I get:&lt;BR /&gt;*.*: No such file or directory.&lt;BR /&gt;can't find list of remote files: No such file or directory&lt;BR /&gt;&lt;BR /&gt;Note that *.* requires there to be a ".".  For unix, if you want to copy all files, you need just a *.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Aneesh: Can you try the attached script &lt;BR /&gt;&lt;BR /&gt;I'm not sure how using "quote USER" is any better than putting both on the "user" command?</description>
      <pubDate>Tue, 09 Oct 2007 03:54:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083151#M309363</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-10-09T03:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: files dowbload using FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083152#M309364</link>
      <description>What is "quote USER " means pls sir...</description>
      <pubDate>Tue, 09 Oct 2007 04:46:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083152#M309364</guid>
      <dc:creator>Ramana.Sv</dc:creator>
      <dc:date>2007-10-09T04:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: files dowbload using FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083153#M309365</link>
      <description>&amp;gt;What is "quote USER " means ... is it required or not?&lt;BR /&gt;&lt;BR /&gt;Well, I don't think you need it, you should work fine without it.  You got past that login step.</description>
      <pubDate>Tue, 09 Oct 2007 05:02:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083153#M309365</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-10-09T05:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: files dowbload using FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083154#M309366</link>
      <description>When i use the "crontab " i got the following error why? where is the mistke i have done pls tell me sir...&lt;BR /&gt;i send my shell script in before message pls check that sir....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;******************************************&lt;BR /&gt;            Output&lt;BR /&gt;******************************************&lt;BR /&gt;Interactive mode off.&lt;BR /&gt;Local directory now /prod/pub&lt;BR /&gt;*.: No such file or directory.&lt;BR /&gt;can't find list of remote files: No such file or directory&lt;BR /&gt;Local directory now /prod/weblib&lt;BR /&gt;Local directory now /prod/pub&lt;BR /&gt;*.: No such file or directory.&lt;BR /&gt;can't find list of remote files: No such file or directory&lt;BR /&gt;Local directory now /prod/weblib&lt;BR /&gt;*.: No such file or directory.&lt;BR /&gt;can't find list of remote files: No such file or directory&lt;BR /&gt;Local directory now /prod/weblib&lt;BR /&gt;*.: No such file or directory.&lt;BR /&gt;can't find list of remote files: No such file or directory&lt;BR /&gt;Local directory now /prod/pub&lt;BR /&gt;*.: No such file or directory.&lt;BR /&gt;can't find list of remote files: No such file or directory&lt;BR /&gt;Local directory now /lee/weblib&lt;BR /&gt;*.: No such file or directory.&lt;BR /&gt;can't find list of remote files: No such file or directory&lt;BR /&gt;Local directory now /lee/pub&lt;BR /&gt;*.: No such file or directory.&lt;BR /&gt;can't find list of remote files: No such file or directory&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;*************************************************&lt;BR /&gt;Cron: The previous message is the standard output&lt;BR /&gt;      and standard error of one of your crontab commands:&lt;BR /&gt;&lt;BR /&gt;sh /hai/test.sh</description>
      <pubDate>Wed, 10 Oct 2007 00:54:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083154#M309366</guid>
      <dc:creator>Ramana.Sv</dc:creator>
      <dc:date>2007-10-10T00:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: files dowbload using FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083155#M309367</link>
      <description>&amp;gt;When i use the "crontab" i got the following error why?&lt;BR /&gt;*.: No such file or directory.&lt;BR /&gt;&lt;BR /&gt;You might want to use the "ls" command to show what files are there.&lt;BR /&gt;&lt;BR /&gt;But it appears you saw "*." and used that.  The "." was the end of the sentence, not part of the syntax you needed.  So you need:&lt;BR /&gt;mget *&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Oct 2007 02:17:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083155#M309367</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-10-10T02:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: files dowbload using FTP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083156#M309368</link>
      <description>Hi Ramana,&lt;BR /&gt;I tested this script (first part of yours) and on HPux11i it ran correctly:&lt;BR /&gt;&lt;BR /&gt;ftpsrv=localhost&lt;BR /&gt;uid=galbiati&lt;BR /&gt;passwd=mypass&lt;BR /&gt;ftp -nv $ftpsrv&amp;lt;&lt;ENDFTP&gt;&lt;/ENDFTP&gt;user $uid $passwd&lt;BR /&gt;lcd prod/weblib&lt;BR /&gt;!pwd&lt;BR /&gt;cd cad/weblib&lt;BR /&gt;pwd&lt;BR /&gt;ls -l&lt;BR /&gt;prompt off&lt;BR /&gt;mget *&lt;BR /&gt;close&lt;BR /&gt;bye&lt;BR /&gt;endftp&lt;BR /&gt;&lt;BR /&gt;10:44 root/home/galbiati/&amp;gt; ftpx&lt;BR /&gt;Connected to localhost.bbn.hp.com.&lt;BR /&gt;220 hpbbnn1.bbn.hp.com FTP server (Version 1.1.214.4(PHNE_34544) Fri Feb 24 15:03:24 GMT 2006) ready.&lt;BR /&gt;Remote system type is UNIX.&lt;BR /&gt;Using binary mode to transfer files.&lt;BR /&gt;331 Password required for galbiati.&lt;BR /&gt;230 User galbiati logged in.&lt;BR /&gt;Local directory now /home/galbiati/prod/weblib&lt;BR /&gt;/home/galbiati/prod/weblib&lt;BR /&gt;250 CWD command successful.&lt;BR /&gt;257 "/home/galbiati/cad/weblib" is current directory.&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 Opening ASCII mode data connection for /usr/bin/ls.&lt;BR /&gt;total 0&lt;BR /&gt;-rw-------   1 galbiati   ermsupp1         0 Oct 10 10:35 a&lt;BR /&gt;-rw-------   1 galbiati   ermsupp1         0 Oct 10 10:35 a1&lt;BR /&gt;226 Transfer complete.&lt;BR /&gt;Interactive mode off.&lt;BR /&gt;local: a remote: a&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 Opening BINARY mode data connection for a (0 bytes).&lt;BR /&gt;226 Transfer complete.&lt;BR /&gt;local: a1 remote: a1&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 Opening BINARY mode data connection for a1 (0 bytes).&lt;BR /&gt;226 Transfer complete.&lt;BR /&gt;221 Goodbye.&lt;BR /&gt;10:44 root/home/galbiati/&amp;gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Note: I added -v (verbose) option, !pwd, pwd, ls -l to better debug the script. To transfer file a, a1 you should use mget * only.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Art&lt;BR /&gt;&lt;BR /&gt;N.B. please assign points!</description>
      <pubDate>Wed, 10 Oct 2007 03:48:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-dowbload-using-ftp/m-p/4083156#M309368</guid>
      <dc:creator>Arturo Galbiati</dc:creator>
      <dc:date>2007-10-10T03:48:09Z</dc:date>
    </item>
  </channel>
</rss>

