<?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: Need FTP scripts in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200270#M32606</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;scp -rp * hostname:/directory&lt;BR /&gt;&lt;BR /&gt;This will take subdirectories and put them on the target server.&lt;BR /&gt;&lt;BR /&gt;It is likely that the target system has sshd daemon running, this is a default with Linux.&lt;BR /&gt;&lt;BR /&gt;Also. openssh which includes sftp/ssh/scp is more secure. Authentication and data stream is encrypted. That makes it a little slower though.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Mon, 19 May 2008 08:57:26 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2008-05-19T08:57:26Z</dc:date>
    <item>
      <title>Need FTP scripts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200263#M32599</link>
      <description>Hello Admins,&lt;BR /&gt;&lt;BR /&gt;I would like to ftp about 40GB of data from my server to ftp server.  There are lots and lots of folders, sub folders and files present.  Tried to ftp, but it is not sending directories.  There is no space left in the drive to compress the parent directory and ftp it.  Please help me with scripts to automate the ftp.&lt;BR /&gt;&lt;BR /&gt;Any Help is greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;vthiru</description>
      <pubDate>Mon, 19 May 2008 06:03:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200263#M32599</guid>
      <dc:creator>vthiru</dc:creator>
      <dc:date>2008-05-19T06:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need FTP scripts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200264#M32600</link>
      <description>Hello Vthiru,&lt;BR /&gt;&lt;BR /&gt;You could use tar with gzip and it will produce a tar archive file. You can ftp/rcp that archive to the destination system and extract it from there. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Rasheed Tamton.</description>
      <pubDate>Mon, 19 May 2008 06:58:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200264#M32600</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-05-19T06:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need FTP scripts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200265#M32601</link>
      <description>&amp;gt;There is no space left in the drive to compress the parent directory and ftp it.&lt;BR /&gt;&lt;BR /&gt;In that case, you could copy the compressed file to another mountpoint where there is enough space.&lt;BR /&gt;&lt;BR /&gt;tar cvf - ./home/vthiru/test |gzip - &amp;gt; /tmp/test.tgz&lt;BR /&gt;&lt;BR /&gt;ftp test.tgz to the destination server&lt;BR /&gt;&lt;BR /&gt;gzip -dc test.tgz |tar -tvf -&lt;BR /&gt;gzip -dc test.tgz |tar -xvf -&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 May 2008 07:07:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200265#M32601</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-05-19T07:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need FTP scripts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200266#M32602</link>
      <description>There is not enough space left in the drive to compress the folder.  Space left is less than 1GB.  &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;vthiru</description>
      <pubDate>Mon, 19 May 2008 07:10:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200266#M32602</guid>
      <dc:creator>vthiru</dc:creator>
      <dc:date>2008-05-19T07:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need FTP scripts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200267#M32603</link>
      <description>Thanks for the response.  But, there is only one drive present.  I don't have choice of compressing the folder to a different mount point.  That is the reason I am looking for some FTP scripts to upload file to my ftp server.  &lt;BR /&gt; &lt;BR /&gt;Thanks,&lt;BR /&gt;vthiru</description>
      <pubDate>Mon, 19 May 2008 07:12:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200267#M32603</guid>
      <dc:creator>vthiru</dc:creator>
      <dc:date>2008-05-19T07:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need FTP scripts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200268#M32604</link>
      <description>In that case, is it possible for you to use rcp/scp.&lt;BR /&gt;rcp -rp /dirname remotehost:/dirname/&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;if you can get hold of a ftp GUI application you would be able to just drag and drop to the remote-system/dir. as in the Windown Filemanager&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Mon, 19 May 2008 07:26:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200268#M32604</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-05-19T07:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need FTP scripts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200269#M32605</link>
      <description>Also check wget&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.gnu.org/software/wget/" target="_blank"&gt;http://www.gnu.org/software/wget/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds.</description>
      <pubDate>Mon, 19 May 2008 07:59:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200269#M32605</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-05-19T07:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need FTP scripts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200270#M32606</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;scp -rp * hostname:/directory&lt;BR /&gt;&lt;BR /&gt;This will take subdirectories and put them on the target server.&lt;BR /&gt;&lt;BR /&gt;It is likely that the target system has sshd daemon running, this is a default with Linux.&lt;BR /&gt;&lt;BR /&gt;Also. openssh which includes sftp/ssh/scp is more secure. Authentication and data stream is encrypted. That makes it a little slower though.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 19 May 2008 08:57:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200270#M32606</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-05-19T08:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need FTP scripts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200271#M32607</link>
      <description>I too would suggest scp as the best option.  If you want to use an ftp client to do it you should be able to use lftp.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Magnus</description>
      <pubDate>Mon, 19 May 2008 11:31:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200271#M32607</guid>
      <dc:creator>Magnus Andersen</dc:creator>
      <dc:date>2008-05-19T11:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need FTP scripts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200272#M32608</link>
      <description>&lt;!--!*#--&gt;Another option is to use a combination of netcat and tar.&lt;BR /&gt;&lt;BR /&gt;move data from machine a to machine b&lt;BR /&gt;&lt;BR /&gt;on machine a&lt;BR /&gt;&lt;BR /&gt;change to the directory you want to start from&lt;BR /&gt;&lt;BR /&gt;# tar -cf - . | netcat -w 3 -l -p 5432&lt;BR /&gt;&lt;BR /&gt;on machine b&lt;BR /&gt;&lt;BR /&gt;change to the directory where you want the files to go&lt;BR /&gt;&lt;BR /&gt;# netcat -w 5 a.example.com 5432 | tar -xvf -&lt;BR /&gt;&lt;BR /&gt;The command sets up a tar process on machine a that waits for a tcp connection on port 5432. When a client (machine b) connects, tar simply sends all the data through that tcp port. No temporary files are required. On machine b, another tar process reads from the network via netcat, writing&lt;BR /&gt;the data to the disks as it streams over the network&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Some flavors of Linux netcat is called nc&lt;BR /&gt;</description>
      <pubDate>Mon, 19 May 2008 13:06:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200272#M32608</guid>
      <dc:creator>Jimmy Vance</dc:creator>
      <dc:date>2008-05-19T13:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need FTP scripts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200273#M32609</link>
      <description>Is FTP the only way you can access the&lt;BR /&gt;destination server?  With rsh (or ssh), it's&lt;BR /&gt;normally possible to construct a "tar"&lt;BR /&gt;pipeline (with or without compression), and&lt;BR /&gt;do the job with no need for temporary disk space.&lt;BR /&gt;&lt;BR /&gt;Wget (-r) can be useful, but you'd need to&lt;BR /&gt;run it on the destination system.  (And if&lt;BR /&gt;you can do that, you could probably use the&lt;BR /&gt;rsh + "tar" pipeline method.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] Tried to ftp, but it is not sending&lt;BR /&gt;&amp;gt; directories. [...]&lt;BR /&gt;&lt;BR /&gt;A typical FTP client does what you tell it to&lt;BR /&gt;do.  I have not seen one which can read&lt;BR /&gt;minds.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Please help me with scripts to automate the&lt;BR /&gt;&amp;gt; ftp.&lt;BR /&gt;&lt;BR /&gt;That's not the easy way.</description>
      <pubDate>Mon, 19 May 2008 13:22:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200273#M32609</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-05-19T13:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need FTP scripts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200274#M32610</link>
      <description>Also, if FTP is a hard requirement, and you have ksh installed, try hardfeed:&lt;BR /&gt;&lt;A href="http://www.unix.com/shell-programming-scripting/9174-recursive-ftp-here-last.html" target="_blank"&gt;http://www.unix.com/shell-programming-scripting/9174-recursive-ftp-here-last.html&lt;/A&gt;</description>
      <pubDate>Tue, 20 May 2008 06:08:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200274#M32610</guid>
      <dc:creator>macosta</dc:creator>
      <dc:date>2008-05-20T06:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need FTP scripts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200275#M32611</link>
      <description>Vthiru,&lt;BR /&gt;&lt;BR /&gt;Why not use NFS?  You could mount a filesystem from your ftp server and use standard cp/tar/cpio utilities to move the data.  You also wouldn't be subject to ftp's one-file-at-a-time limitation.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mark</description>
      <pubDate>Wed, 21 May 2008 17:53:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200275#M32611</guid>
      <dc:creator>Mark Ellzey</dc:creator>
      <dc:date>2008-05-21T17:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need FTP scripts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200276#M32612</link>
      <description>&amp;gt; Why not use NFS?  [...]&lt;BR /&gt;&lt;BR /&gt;Lack of administrative access on one system&lt;BR /&gt;or the other?&lt;BR /&gt;&lt;BR /&gt;Many things are possible.  Some are easier&lt;BR /&gt;than others.  Without more information on the&lt;BR /&gt;environment and its limitations, it's tough&lt;BR /&gt;to do more than guess at an optimal solution.&lt;BR /&gt;&lt;BR /&gt;I normally assume that a questioner who, in&lt;BR /&gt;the face of repeated requests, fails to&lt;BR /&gt;supply an adequate explanation of the&lt;BR /&gt;problem, probably doesn't really care much&lt;BR /&gt;about getting a useful answer.</description>
      <pubDate>Wed, 21 May 2008 21:06:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-ftp-scripts/m-p/4200276#M32612</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-05-21T21:06:47Z</dc:date>
    </item>
  </channel>
</rss>

