<?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: How to transfer files and its sub-directories through ftp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522597#M220138</link>
    <description>Not possible but there are some ftp softwares available which can do this trick.&lt;BR /&gt;&lt;BR /&gt;Else you may use scp or rcp for doing this&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
    <pubDate>Tue, 12 Apr 2005 00:36:13 GMT</pubDate>
    <dc:creator>KapilRaj</dc:creator>
    <dc:date>2005-04-12T00:36:13Z</dc:date>
    <item>
      <title>How to transfer files and its sub-directories through ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522596#M220137</link>
      <description>Hi everyone,&lt;BR /&gt;&lt;BR /&gt;I have written a korn shell automated script which only transfer files, but how do I transfer all the subdirectories in the filesystem.&lt;BR /&gt;&lt;BR /&gt;Any help would be greatly appreciated. Below is my script.&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;cd /FILESYSTEM_NAME&lt;BR /&gt;USER=root&lt;BR /&gt;PASS=1234&lt;BR /&gt;MACHINE=hostname&lt;BR /&gt;FTP=/usr/bin/ftp&lt;BR /&gt;$FTP -n $MACHINE &amp;lt;&lt;EOF&gt;/dev/null 2&amp;gt;$1&lt;BR /&gt;user $USER $PASS&lt;BR /&gt;ascii&lt;BR /&gt;cd /FILESYSTEM_NAME&lt;BR /&gt;mput *&lt;BR /&gt;&lt;BR /&gt;The above script works fine, but what do i need to do in the script so it transfer all the files in the subdirectories of /FILESYSTEM_NAME. Please advise&lt;/EOF&gt;</description>
      <pubDate>Tue, 12 Apr 2005 00:27:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522596#M220137</guid>
      <dc:creator>Becke</dc:creator>
      <dc:date>2005-04-12T00:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer files and its sub-directories through ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522597#M220138</link>
      <description>Not possible but there are some ftp softwares available which can do this trick.&lt;BR /&gt;&lt;BR /&gt;Else you may use scp or rcp for doing this&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Tue, 12 Apr 2005 00:36:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522597#M220138</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2005-04-12T00:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer files and its sub-directories through ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522598#M220139</link>
      <description>&lt;BR /&gt; Thanks for your reply Kapil, I have set up rcp to transfer files and its been working O.K, however this morning when i tried running rcp command it failed with an error messgae "rcmd: primary connection shut down".&lt;BR /&gt;&lt;BR /&gt;rcp command failed with the above error message. I have refreshed rpcd daemon but no difference...&lt;BR /&gt;&lt;BR /&gt;My other query is, how to create a nfs connection b/w hp machines?&lt;BR /&gt;&lt;BR /&gt;Thanks for your help</description>
      <pubDate>Tue, 12 Apr 2005 00:42:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522598#M220139</guid>
      <dc:creator>Becke</dc:creator>
      <dc:date>2005-04-12T00:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer files and its sub-directories through ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522599#M220140</link>
      <description>Farhan,&lt;BR /&gt;&lt;BR /&gt;You have to set up an NFS server, export the directories and set up an NFS client and mount the exported directories.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5991-1153/index.html" target="_blank"&gt;http://docs.hp.com/en/5991-1153/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;is the HP Documentation for setting up NFS server.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Naveej</description>
      <pubDate>Tue, 12 Apr 2005 00:48:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522599#M220140</guid>
      <dc:creator>Naveej.K.A</dc:creator>
      <dc:date>2005-04-12T00:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer files and its sub-directories through ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522600#M220141</link>
      <description>use ncftp, it very easy and can do lot more than normal ftp, you can get it from&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Networking/FTP/ncftp-3.1.8/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Networking/FTP/ncftp-3.1.8/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Tue, 12 Apr 2005 01:02:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522600#M220141</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2005-04-12T01:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer files and its sub-directories through ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522601#M220142</link>
      <description>Thanks mate, i will look into it, actually my expertise is AIX, I'm learning HP along the way...cheers</description>
      <pubDate>Tue, 12 Apr 2005 01:02:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522601#M220142</guid>
      <dc:creator>Becke</dc:creator>
      <dc:date>2005-04-12T01:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer files and its sub-directories through ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522602#M220143</link>
      <description>Hi everyone,&lt;BR /&gt;&lt;BR /&gt;Just need help, I have exported a filesystem with this command 'exportfs -i -o rw=hostname filesystem_name', now on the remote machine how do i mount this filesystem, as there is already a filesystem mounted with the same name on remote machine..&lt;BR /&gt;&lt;BR /&gt;I suppose i can mount this exported filesystem somewhere else on the remote machine but what would be the appropriate command, please advise,&lt;BR /&gt;&lt;BR /&gt;cheers,&lt;BR /&gt;Raf</description>
      <pubDate>Tue, 12 Apr 2005 19:59:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522602#M220143</guid>
      <dc:creator>Becke</dc:creator>
      <dc:date>2005-04-12T19:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer files and its sub-directories through ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522603#M220144</link>
      <description>Farhan,&lt;BR /&gt;you can:&lt;BR /&gt;create new directory in /&lt;BR /&gt;mount -F &lt;FSYPE&gt; &lt;REMOTE&gt;:/&lt;DIR&gt; /&lt;NEWDIR&gt;&lt;BR /&gt;so for example:&lt;BR /&gt;if you want to mount directory fred from server test to directory ted on you machine&lt;BR /&gt;mkdir /ted&lt;BR /&gt;mount -F nfs test:/fred /ted&lt;BR /&gt;&lt;BR /&gt;Please also have a look at :&lt;BR /&gt;man 1m mount&lt;BR /&gt;Regards&lt;BR /&gt;&lt;/NEWDIR&gt;&lt;/DIR&gt;&lt;/REMOTE&gt;&lt;/FSYPE&gt;</description>
      <pubDate>Wed, 13 Apr 2005 01:43:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522603#M220144</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-04-13T01:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer files and its sub-directories through ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522604#M220145</link>
      <description>Thanks mate its all sweet now, I have another query, I'm using rcp command from one HP server to another but its not working,the error message is "rcmd primary connection shut down", so how to do i start this rcmd or what needs to be done..please advise, &lt;BR /&gt;&lt;BR /&gt;your help would be appreciated..cheers</description>
      <pubDate>Wed, 13 Apr 2005 01:54:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522604#M220145</guid>
      <dc:creator>Becke</dc:creator>
      <dc:date>2005-04-13T01:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer files and its sub-directories through ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522605#M220146</link>
      <description>Farhan,&lt;BR /&gt;you have to be set up on the remote machine (see man rcp).&lt;BR /&gt;" The current local user name or any user name specified via ruser must exist on rhost and allow remote command execution via remsh(1) and rcmd(3N).  remshd(1M) must be executable on the remote host."&lt;BR /&gt;&lt;BR /&gt;Also see&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#34" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#34&lt;/A&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 13 Apr 2005 02:01:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522605#M220146</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-04-13T02:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer files and its sub-directories through ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522606#M220147</link>
      <description># Network File System (NFS) &lt;BR /&gt;# NFS-Server &lt;BR /&gt;vi /etc/rc.config.d/nfsconf &lt;BR /&gt;/sbin/init.d/nfs.server start &lt;BR /&gt;vi /etc/exports # zu exportierende FS spezifizieren &lt;BR /&gt;showmount -e; exportfs(; rpcinfo -p; nfsstat) # testing NFS &lt;BR /&gt;# NFS-Client &lt;BR /&gt;vi /etc/rc.config.d/nfsconf &lt;BR /&gt;/sbin/init.d/nfs.client start &lt;BR /&gt;mount &lt;HOSTNAME of="" nfs="" server=""&gt;:&lt;REMOTE path=""&gt; &lt;LOCAL mount="" dir=""&gt; &lt;BR /&gt;vi /etc/fstab &lt;BR /&gt;showmount -e svr; rpcinfo -p [svr] # testing NFS&lt;/LOCAL&gt;&lt;/REMOTE&gt;&lt;/HOSTNAME&gt;</description>
      <pubDate>Wed, 13 Apr 2005 03:53:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522606#M220147</guid>
      <dc:creator>ooorichard</dc:creator>
      <dc:date>2005-04-13T03:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer files and its sub-directories through ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522607#M220148</link>
      <description>Farhan,&lt;BR /&gt;If your sub directories are fixed, you can hard code those in your script, change directory and transfer file. Even, if the sub directories are not fixed you can get the name of those subdirectories and dynamically create your script. This should work.&lt;BR /&gt;&lt;BR /&gt;In your script you have used mput*. Is it not prompting you before sending each file ?</description>
      <pubDate>Wed, 13 Apr 2005 08:25:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522607#M220148</guid>
      <dc:creator>Champak Chowdhuri</dc:creator>
      <dc:date>2005-04-13T08:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer files and its sub-directories through ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522608#M220149</link>
      <description>Thanks for everyone's response, I have mounted the nfs filesystem successfully, however when I do ls -l on the client machine it doesn't list the files in the filesystem. It seems like a permission problem, I have exported the filesystem with read and write option with the exportfs command, what else needs to be done so I can atleast see the contents of the exported filesystem on a client machine?&lt;BR /&gt;&lt;BR /&gt;In relation to my second query, rcp works O.K sometimes but it doesn't work sometimes and fails with the an error message "rcmd: primary connection shut down", its all setup in the remote host's .rhost and hosts.equiv files, it just works sometimes and sometimes it doesn't.&lt;BR /&gt;I'm doing a bit of research on this but any help would be great on the above issues.&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Wed, 13 Apr 2005 18:07:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522608#M220149</guid>
      <dc:creator>Becke</dc:creator>
      <dc:date>2005-04-13T18:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer files and its sub-directories through ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522609#M220150</link>
      <description>Farhan wrote:&lt;BR /&gt;&amp;gt;I have exported the filesystem with read and write &lt;BR /&gt;&amp;gt; option with the exportfs command, what else needs&lt;BR /&gt;&amp;gt;  to be done so I can atleast see the contents of the&lt;BR /&gt;&amp;gt; exported filesystem on a client machine?&lt;BR /&gt;&lt;BR /&gt;Once you export the filesystem in the server, you&lt;BR /&gt;need to mount the filesystem in the client to be able&lt;BR /&gt;to see it. Easiest way to do this would be to run&lt;BR /&gt;SAM, go to "Networking And Communications" -&amp;gt;&lt;BR /&gt;"Networked Filesystem" -&amp;gt; "Mounted remote&lt;BR /&gt;file systems". Click on "Action" and "Add remote &lt;BR /&gt;filesystem".&lt;BR /&gt;&lt;BR /&gt;- Biswajit</description>
      <pubDate>Wed, 13 Apr 2005 18:15:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522609#M220150</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-04-13T18:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer files and its sub-directories through ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522610#M220151</link>
      <description>Thanks for ur reply, I have already mounted that exported filesystem on a client machine and it has mounted it O.K but when I cd into it, i can't list the files?</description>
      <pubDate>Wed, 13 Apr 2005 18:28:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522610#M220151</guid>
      <dc:creator>Becke</dc:creator>
      <dc:date>2005-04-13T18:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to transfer files and its sub-directories through ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522611#M220152</link>
      <description>Thanks guys, I have managed to resolve my NFS problem, there were some permission problems.&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Wed, 13 Apr 2005 19:12:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-transfer-files-and-its-sub-directories-through-ftp/m-p/3522611#M220152</guid>
      <dc:creator>Becke</dc:creator>
      <dc:date>2005-04-13T19:12:00Z</dc:date>
    </item>
  </channel>
</rss>

