<?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: DOS + FTP in Operating System - Microsoft</title>
    <link>https://community.hpe.com/t5/operating-system-microsoft/dos-ftp/m-p/4345747#M9197</link>
    <description>That should be a next thread thou.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 28 Jan 2009 21:03:57 GMT</pubDate>
    <dc:creator>Piotr Kirklewski</dc:creator>
    <dc:date>2009-01-28T21:03:57Z</dc:date>
    <item>
      <title>DOS + FTP</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/dos-ftp/m-p/4345740#M9190</link>
      <description>Hi there&lt;BR /&gt;Does anyone know how to write a script which will connect to an FTP server automatically to put a file (backup)?&lt;BR /&gt;I was trying ftp user1@xxx.com but it didn't work.&lt;BR /&gt;Regards&lt;BR /&gt;Peter</description>
      <pubDate>Tue, 27 Jan 2009 16:52:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/dos-ftp/m-p/4345740#M9190</guid>
      <dc:creator>Piotr Kirklewski</dc:creator>
      <dc:date>2009-01-27T16:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: DOS + FTP</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/dos-ftp/m-p/4345741#M9191</link>
      <description>Bonsoir,&lt;BR /&gt;&lt;BR /&gt;You can try this way :&lt;BR /&gt;&lt;BR /&gt;ftp -in -s FileName xxx.com&lt;BR /&gt;&lt;BR /&gt;In FileName you place all ftp commands you need. For example :&lt;BR /&gt;&lt;BR /&gt;user foo password&lt;BR /&gt;cd Target&lt;BR /&gt;binary&lt;BR /&gt;put File &lt;BR /&gt;&lt;BR /&gt;Eric</description>
      <pubDate>Tue, 27 Jan 2009 17:05:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/dos-ftp/m-p/4345741#M9191</guid>
      <dc:creator>Eric SAUBIGNAC</dc:creator>
      <dc:date>2009-01-27T17:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: DOS + FTP</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/dos-ftp/m-p/4345742#M9192</link>
      <description>Oups ... forgot ":" :-(&lt;BR /&gt;&lt;BR /&gt;ftp -in -s:FileName xxx.com&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Jan 2009 17:09:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/dos-ftp/m-p/4345742#M9192</guid>
      <dc:creator>Eric SAUBIGNAC</dc:creator>
      <dc:date>2009-01-27T17:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: DOS + FTP</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/dos-ftp/m-p/4345743#M9193</link>
      <description>COMMAND: &lt;BR /&gt;C:\&amp;gt;ftp -in -s:ftp.bat myhost.com&lt;BR /&gt;&lt;BR /&gt;BATCH FILE:&lt;BR /&gt;user itsme itsmypsswd&lt;BR /&gt;cd C:/&lt;BR /&gt;binary&lt;BR /&gt;put file.txt&lt;BR /&gt;&lt;BR /&gt;RESULT:&lt;BR /&gt;&lt;BR /&gt;C:\&amp;gt;binary&lt;BR /&gt;'binary' is not recognized as an internal or external command,&lt;BR /&gt;operable program or batch file.&lt;BR /&gt;&lt;BR /&gt;C:\&amp;gt;put file.txt&lt;BR /&gt;'put' is not recognized as an internal or external command,&lt;BR /&gt;operable program or batch file.&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Jan 2009 17:42:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/dos-ftp/m-p/4345743#M9193</guid>
      <dc:creator>Piotr Kirklewski</dc:creator>
      <dc:date>2009-01-27T17:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: DOS + FTP</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/dos-ftp/m-p/4345744#M9194</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I would suggest that you not implement your script with a login/password in the script itself, but rather use the '.netrc' file if you _must_ use FTP.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1233077838233+28353475&amp;amp;threadId=231288" target="_blank"&gt;http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1233077838233+28353475&amp;amp;threadId=231288&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Better yet, use SFTP (Secure FTP) and public keys.&lt;BR /&gt;&lt;BR /&gt;# cat .mysftp&lt;BR /&gt;HOST=$1&lt;BR /&gt;FILE=$2&lt;BR /&gt;sftp -b - &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;lcd /tmp&lt;BR /&gt;cd  /tmp&lt;BR /&gt;put -P ${FILE} ${FILE}.backup&lt;BR /&gt;EOF&lt;BR /&gt;RC=$?&lt;BR /&gt;print -u2 "\nSFTP returned ${RC}"&lt;BR /&gt;exit&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Jan 2009 17:43:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/dos-ftp/m-p/4345744#M9194</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-01-27T17:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: DOS + FTP</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/dos-ftp/m-p/4345745#M9195</link>
      <description>If you have security issue, follow JRF solution.&lt;BR /&gt;&lt;BR /&gt;But anyway, I would like to understand what is wrong with my post. Here is a little example from a Windows XP workstation :&lt;BR /&gt;&lt;BR /&gt;C:\TEMP&amp;gt;cat CMDFILE&lt;BR /&gt;user anonymous me@hp.com&lt;BR /&gt;dir superseded_patches&lt;BR /&gt;cd superseded_patches&lt;BR /&gt;lcd C:\temp&lt;BR /&gt;binary&lt;BR /&gt;get catalog&lt;BR /&gt;bye&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;C:\TEMP&amp;gt;ftp -in -s:CMDFILE ftp.itrc.hp.com&lt;BR /&gt;ConnectÃ© Ã&amp;nbsp; ftp.itrc.hp.com.&lt;BR /&gt;220-&lt;BR /&gt;220-Welcome to the IT Resource Center ftp server&lt;BR /&gt;220-------------------------------------------------------&lt;BR /&gt;220-&lt;BR /&gt;220-You are user 9, and there is a limit of 2000 simultaneous accesses.&lt;BR /&gt;220-&lt;BR /&gt;220-Log in as user "anonymous" (using your e-mail address as your password)&lt;BR /&gt;220-to retrieve available patches for HP-UX, OpenVMS, True64, MPE/iX, and&lt;BR /&gt;220-other platforms.&lt;BR /&gt;220-&lt;BR /&gt;220-If you are a user of other HP ITRC services, log in with your&lt;BR /&gt;220-HP ITRC User ID and password to retrieve your files.&lt;BR /&gt;220-&lt;BR /&gt;220-&lt;BR /&gt;220 g1u1296 FTP server (HP ASL ftpd, version(434)) ready.&lt;BR /&gt;ftp&amp;gt; user anonymous me@hp.com&lt;BR /&gt;331 Guest login ok, send your complete e-mail address as password.&lt;BR /&gt;230 Guest login ok, access restrictions apply.&lt;BR /&gt;ftp&amp;gt; dir superseded_patches&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 Opening ASCII mode data connection for /bin/ls.&lt;BR /&gt;total 2302&lt;BR /&gt;drwxr-xr-x   7 21164      12753         1024 Jul  2  2003 .&lt;BR /&gt;drwxr-xr-x  21 2          2             1024 Oct 29 21:33 ..&lt;BR /&gt;-rw-r--r--   1 21164      12753      1174127 May 15  2002 catalog&lt;BR /&gt;drwxr-xr-x   3 21164      12753           96 Mar 30  2006 firmware_patches&lt;BR /&gt;drwxr-xr-x   4 21164      12753           96 Jan 26 01:11 hp-ux_patches&lt;BR /&gt;drwxr-xr-x   6 21164      12753         1024 Dec  4 09:51 mpe-ix_patches&lt;BR /&gt;drwxr-xr-x  32 21164      12753         1024 Jan 25 05:57 mv_patches&lt;BR /&gt;drwxr-xr-x   2 21164      12753           96 Jul  2  2003 tru64_patches&lt;BR /&gt;226 Transfer complete.&lt;BR /&gt;ftp : 568 octets reÃ§us en 0,03 secondes Ã&amp;nbsp; 18,32 Ko/sec.&lt;BR /&gt;ftp&amp;gt; cd superseded_patches&lt;BR /&gt;250 CWD command successful.&lt;BR /&gt;ftp&amp;gt; lcd C:\temp&lt;BR /&gt;Dossier local maintenant C:\Temp.&lt;BR /&gt;ftp&amp;gt; binary&lt;BR /&gt;200 Type set to I.&lt;BR /&gt;ftp&amp;gt; get catalog&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 Opening BINARY mode data connection for catalog (1174127 bytes).&lt;BR /&gt;226 Transfer complete.&lt;BR /&gt;ftp : 1174127 octets reÃ§us en 13,36 secondes Ã&amp;nbsp; 87,88 Ko/sec.&lt;BR /&gt;ftp&amp;gt; bye&lt;BR /&gt;221 Goodbye.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As you can see, it works well. When you said "DOS" in the title of your thread, I have assumed "a cmd box from windows". On which version are you working from ?</description>
      <pubDate>Tue, 27 Jan 2009 18:35:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/dos-ftp/m-p/4345745#M9195</guid>
      <dc:creator>Eric SAUBIGNAC</dc:creator>
      <dc:date>2009-01-27T18:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: DOS + FTP</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/dos-ftp/m-p/4345746#M9196</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;How to exclude one directory: /mount &lt;BR /&gt;from this backup?&lt;BR /&gt;&lt;BR /&gt;find . -depth -print | cpio -ocv | gzip &amp;gt; /backup/backup.cgz&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jan 2009 21:02:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/dos-ftp/m-p/4345746#M9196</guid>
      <dc:creator>Piotr Kirklewski</dc:creator>
      <dc:date>2009-01-28T21:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: DOS + FTP</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/dos-ftp/m-p/4345747#M9197</link>
      <description>That should be a next thread thou.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jan 2009 21:03:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/dos-ftp/m-p/4345747#M9197</guid>
      <dc:creator>Piotr Kirklewski</dc:creator>
      <dc:date>2009-01-28T21:03:57Z</dc:date>
    </item>
  </channel>
</rss>

