<?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 do you transfer data in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069738#M140409</link>
    <description>Hi again!&lt;BR /&gt;In addition to mentioned above:&lt;BR /&gt;&lt;BR /&gt;Here is the attached winzip-archive&lt;BR /&gt;with these 2 scripts.</description>
    <pubDate>Fri, 12 Sep 2003 11:56:37 GMT</pubDate>
    <dc:creator>Stanimir</dc:creator>
    <dc:date>2003-09-12T11:56:37Z</dc:date>
    <item>
      <title>How do you transfer data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069734#M140405</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am interested in a solution on how to transport data (automized) from server A to B.&lt;BR /&gt;&lt;BR /&gt;There are several known possebility's to transport data using; FTP, scp, Sftp, rcp, NFS, ETL, etc.&lt;BR /&gt;&lt;BR /&gt;Now I am interested in your solutions about data transport between different platforms. Preffered solutions are solutions that can be automized. Any product names inclusive produkt internet-links will be most apreciated. Please read data, as text-files/database-information, etc.&lt;BR /&gt;&lt;BR /&gt;Your help will be apreciated and rewarded :)&lt;BR /&gt;&lt;BR /&gt;Regs David</description>
      <pubDate>Fri, 12 Sep 2003 11:34:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069734#M140405</guid>
      <dc:creator>David_246</dc:creator>
      <dc:date>2003-09-12T11:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do you transfer data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069735#M140406</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If both servers is Unix, NFS is the common solution. If Windows/Unix Samba (CIFS) is an alternative.&lt;BR /&gt;Without knowing your problem more in detail it is hard to give a better answere.</description>
      <pubDate>Fri, 12 Sep 2003 11:46:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069735#M140406</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2003-09-12T11:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do you transfer data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069736#M140407</link>
      <description>Hi Leif,&lt;BR /&gt;&lt;BR /&gt;Thanks for your quick response.&lt;BR /&gt;I am more looking for an overall solution over multiple platforms, like OS/390 and VMS and Windows and ...&lt;BR /&gt;&lt;BR /&gt;So how do your transport your data from server A to B in cases platforms types differ a lot. But you always have a Unix server as server A or server B.&lt;BR /&gt;&lt;BR /&gt;What other kind of products do you know, like NFS, CIFS, scp, sftp, ftp, ETL, rcp, etc.&lt;BR /&gt;&lt;BR /&gt;Thanks for your feedback !&lt;BR /&gt;&lt;BR /&gt;Regs David</description>
      <pubDate>Fri, 12 Sep 2003 11:52:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069736#M140407</guid>
      <dc:creator>David_246</dc:creator>
      <dc:date>2003-09-12T11:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do you transfer data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069737#M140408</link>
      <description>1."Samba" is another solution.&lt;BR /&gt;&lt;BR /&gt;2.You can use self-created client-server application, using sockets, to&lt;BR /&gt;transfer data or files between 2 systems&lt;BR /&gt;either with equal or not OS.&lt;BR /&gt;I'm sending you 2 perl-scripts, as&lt;BR /&gt;templates for this solution: &lt;BR /&gt;&lt;BR /&gt;1. "server"-script,worked as daemon,&lt;BR /&gt;   received data.  &lt;BR /&gt;2. "client"-script for sendind data.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,Stan</description>
      <pubDate>Fri, 12 Sep 2003 11:53:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069737#M140408</guid>
      <dc:creator>Stanimir</dc:creator>
      <dc:date>2003-09-12T11:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do you transfer data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069738#M140409</link>
      <description>Hi again!&lt;BR /&gt;In addition to mentioned above:&lt;BR /&gt;&lt;BR /&gt;Here is the attached winzip-archive&lt;BR /&gt;with these 2 scripts.</description>
      <pubDate>Fri, 12 Sep 2003 11:56:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069738#M140409</guid>
      <dc:creator>Stanimir</dc:creator>
      <dc:date>2003-09-12T11:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do you transfer data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069739#M140410</link>
      <description>NFS is the norm for doing this and NFS is supported on all platforms that I know off.  On the PC side, you need to purchase an NFS client but unix boxes should already have them.  The only problem is that one machine is the server and is therefore a single point of failur for all of them and becuase NFS is connectionless, if the server goes away the clients often hang if an attempt is made to read the NFS share.&lt;BR /&gt;&lt;BR /&gt;Another possibility is something like "rsync" which keeps directories structures in sync across different machines and platforms.  This of course depends on the kind of data transfer you are doing.&lt;BR /&gt;&lt;BR /&gt;As mentioned above, samba, is yet another alternative but is a bit fussy if all you want to do is transfer some data.</description>
      <pubDate>Fri, 12 Sep 2003 12:01:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069739#M140410</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-09-12T12:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do you transfer data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069740#M140411</link>
      <description>We make heavy use of NFS and CIFS, but for short or occasional transfers, when we can tolorate the open security nature, we use rcp most often.&lt;BR /&gt;&lt;BR /&gt;It seems the simplest to set up, and has been more management free than FTP.</description>
      <pubDate>Fri, 12 Sep 2003 12:09:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069740#M140411</guid>
      <dc:creator>doug mielke</dc:creator>
      <dc:date>2003-09-12T12:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do you transfer data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069741#M140412</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;A more genaral, OS independant, transfer method. FTP may be the best alternative, if I am not wrong it exist for Unix, OS/390,VMS and Windows (and several other OS) and is possible to use with automatic transfers. I know we use FTP for atomatic transfers between VMS and UNIX but the Syatem manager for this system was out of the office today, if you are interested I can give you details on Monday.</description>
      <pubDate>Fri, 12 Sep 2003 12:28:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069741#M140412</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2003-09-12T12:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do you transfer data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069742#M140413</link>
      <description>When possible, I use Secure Copy from Secure Shell.  When public keys are exchanged, I can do most data transfers on an automated basic, even with cron.&lt;BR /&gt;&lt;BR /&gt;scp filename hostname://target directory&lt;BR /&gt;&lt;BR /&gt;Attaching a doc on public keys.&lt;BR /&gt;&lt;BR /&gt;There are occaisions where we revert to ftp.  I am slowly but successfully pushing a standard that involves dropping telnet and ftp and any clear text password apps.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 12 Sep 2003 12:41:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069742#M140413</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-09-12T12:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do you transfer data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069743#M140414</link>
      <description>With different platforms and OS's, I would use ftp.&lt;BR /&gt;&lt;BR /&gt;To automate it, setup .netrc file with username/password&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;TIMESTAMP=`/usr/bin/date`&lt;BR /&gt;HOSTADDRESS=&lt;IP or="" hostname=""&gt;&lt;BR /&gt;FILENAME=`basename $1`&lt;BR /&gt;LOGDIR=/tmp/&lt;BR /&gt;LOGFILE=$LOGDIR$FILENAME.ftplog&lt;BR /&gt;XferMode=ascii&lt;BR /&gt;LOCALDIR=/somewhere/&lt;BR /&gt;echo "LOGFILE FOR JOB $FILENAME AT $TIMESTAMP" &amp;gt; $LOGFILE&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#if [ `ping $HOSTADDRESS -n 5 | grep -c '100% packet loss'` -ne 0 ]&lt;BR /&gt;#then&lt;BR /&gt;#     echo "$HOSTADDRESS does not answer to ping" &amp;gt;&amp;gt; $LOGFILE&lt;BR /&gt;#     exit&lt;BR /&gt;#fi&lt;BR /&gt;&lt;BR /&gt;ftp -v $HOSTADDRESS &amp;lt;&lt;ENDFTP&gt;&amp;gt; $LOGFILE&lt;BR /&gt;$XferMode&lt;BR /&gt;lcd $LOCALDIR&lt;BR /&gt;put $FILENAME &lt;BR /&gt;dir $FILENAME&lt;BR /&gt;pass&lt;BR /&gt;bye&lt;BR /&gt;EndFTP&lt;BR /&gt;&lt;BR /&gt;STATUS=`grep complete $LOGFILE`&lt;BR /&gt;if [[ $STATUS != "" ]]; then&lt;BR /&gt;        ERROR=0&lt;BR /&gt;        l_rc=0&lt;BR /&gt;else&lt;BR /&gt;        ERROR=1&lt;BR /&gt;fi&lt;BR /&gt;exit $ERROR&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;/ENDFTP&gt;&lt;/IP&gt;</description>
      <pubDate>Fri, 12 Sep 2003 12:47:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069743#M140414</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-09-12T12:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do you transfer data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069744#M140415</link>
      <description>Given your wide variety of platforms and OS's, I would tend towards FTP as the lowest common denominator. The ONLY way I now script FTP transfers is in Perl these days using the Net::FTP module which is now distributed with most Perl releases but can always be downloaded in any case from &lt;A href="http://www.perl.org/CPAN." target="_blank"&gt;www.perl.org/CPAN.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In any event, Perl makes it trivially easy to check transfer status and take corrective action such as a re-transmit. It also allows you to use the .netrc file so that passwords do not have to be embedded in your scripts. Finally, when coming from some of the OS's what speak EBCDIC, the transfer could (with a small bit of extra coding) do the EBCDIC to ASCII translation.&lt;BR /&gt;&lt;BR /&gt;Note: You only have to have Perl on one end.&lt;BR /&gt;&lt;BR /&gt;Attached is an example which FTP's to a server, cd's to /tmp, forces ASCII mode, and then for every filename listed on the command line does a get and checks the status. It automatically attempts a retransfer up to 5 times on failure AND returns a 0 exit status to the calling process on success. The other nice thing about Net::FTP is that you can easily check when a file was last modified so that you don't request a file that might still be being updated.&lt;BR /&gt;&lt;BR /&gt;Use it like this:&lt;BR /&gt;ftpget.pl file1 file2 file3&lt;BR /&gt;STAT=${?}&lt;BR /&gt;if [[ ${STAT} -eq 0 ]]&lt;BR /&gt;then&lt;BR /&gt;  echo "All them files is here"&lt;BR /&gt;else&lt;BR /&gt;  echo "There's trouble in River City; Status ${STAT}"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Sep 2003 13:22:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069744#M140415</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-09-12T13:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do you transfer data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069745#M140416</link>
      <description>Thanks all for your reply!&lt;BR /&gt;&lt;BR /&gt;As we can see now the most common and maybe most trusted way for transporting data is still FTP. &lt;BR /&gt;Windows already has developed ODBC, etc to interchange data and datasources.&lt;BR /&gt;&lt;BR /&gt;This might be an urgent call for Unix developers to create a programm that can interchange data amongst multiple platforms as well and has it's own authentication.&lt;BR /&gt;&lt;BR /&gt;We can not afford to stand still, as you can see it will mean going backwards. Keep in mind I am not a Windows liker, but we should have a more progressive way of dealing with this matter I guess.&lt;BR /&gt;Do know how much more value it can give to make Unix the chain of interchanging data over multiple platforms. &lt;BR /&gt;&lt;BR /&gt;Regs David</description>
      <pubDate>Fri, 12 Sep 2003 13:36:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069745#M140416</guid>
      <dc:creator>David_246</dc:creator>
      <dc:date>2003-09-12T13:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do you transfer data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069746#M140417</link>
      <description>David,&lt;BR /&gt;&lt;BR /&gt;Sounds like we have some confusion here...&lt;BR /&gt;&lt;BR /&gt;Transmitting data in bulk in a batch fashion:&lt;BR /&gt;&lt;BR /&gt;FTP, NFS, rcp, rdist, SAMBA etc.&lt;BR /&gt;&lt;BR /&gt;This ISN'T what ODBC is... ODBC is used for connecting data sources together programatically (usually database-&amp;gt;database, or client-&amp;gt;database).&lt;BR /&gt;&lt;BR /&gt;If you *really* want ODBC for UNIX you can certainly get it:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x8645d01f8678d4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x8645d01f8678d4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And of course you can also get ODBC interfaces for perl.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Just to add an additional product to the list of batch file movers above, if you want an absloute rock-solid cross-platform file transmission tool, then look at Sterling Commerce's Connect:Direct software:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.stercomm.com/solutions/products/ebi/connect/direct.html" target="_blank"&gt;http://www.stercomm.com/solutions/products/ebi/connect/direct.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It's certainly not cheap, but it has all the functions you could ever want, and is extensively used by banks and other financial institutions.</description>
      <pubDate>Fri, 12 Sep 2003 13:48:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069746#M140417</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2003-09-12T13:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do you transfer data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069747#M140418</link>
      <description>David,&lt;BR /&gt;&lt;BR /&gt;throw all those tools listed above away and take a serious look at rsync.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/rsync-2.5.6/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/rsync-2.5.6/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;we use it to automate data transfer between production and dr serevrs ot terabytes of data.&lt;BR /&gt;&lt;BR /&gt;have fun, you love it.....&lt;BR /&gt;&lt;BR /&gt;and you can easily automate your jobs.&lt;BR /&gt;&lt;BR /&gt;its extremely fast and reliable.&lt;BR /&gt;&lt;BR /&gt;peace&lt;BR /&gt;Donny&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Sep 2003 16:17:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-transfer-data/m-p/3069747#M140418</guid>
      <dc:creator>Donny Jekels</dc:creator>
      <dc:date>2003-09-12T16:17:07Z</dc:date>
    </item>
  </channel>
</rss>

