<?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: ftp process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204496#M325218</link>
    <description>&amp;gt;My user id is: sathis\$sps07&lt;BR /&gt;&lt;BR /&gt;If your ID has "\" and "$" you would have to quote each.  Or you tell the shell to not treat characters special by quoting the here document word:&lt;BR /&gt;ftp -nv &amp;lt;&amp;lt;\EOF&lt;BR /&gt;open &lt;NT servername=""&gt;&lt;BR /&gt;user sathis\$sps07 &lt;PASSWORD&gt;&lt;BR /&gt;quit&lt;BR /&gt;EOF&lt;/PASSWORD&gt;&lt;/NT&gt;</description>
    <pubDate>Mon, 26 May 2008 11:12:45 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-05-26T11:12:45Z</dc:date>
    <item>
      <title>ftp process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204483#M325205</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Having problems while using ftp command. My user id is:sathis\$sps07 (NT server). I am trying to do ftp a file from a HP-UX server to a Windows NT server.&lt;BR /&gt; &lt;BR /&gt;ftp -nv &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;open &lt;NT servername=""&gt;&lt;BR /&gt;user sathis\$sps07 &lt;PASSWORD&gt;&lt;BR /&gt;quit&lt;BR /&gt;EOF &lt;BR /&gt;&lt;BR /&gt;If I try the above then the 'login failed' error is coming though the logon details are correct. It is taking the user name as 'sathis$sps07' instead of 'sathis\$sps07'. Could you please help me in correcting this problem?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/PASSWORD&gt;&lt;/NT&gt;</description>
      <pubDate>Mon, 26 May 2008 09:44:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204483#M325205</guid>
      <dc:creator>sathis kumar</dc:creator>
      <dc:date>2008-05-26T09:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: ftp process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204484#M325206</link>
      <description>Try to escape both symbols \\and \$. &lt;BR /&gt;&lt;BR /&gt;Send username : 'sathis\\\$sps07'&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Mon, 26 May 2008 09:57:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204484#M325206</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-05-26T09:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: ftp process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204485#M325207</link>
      <description>Are you calling this from a script?&lt;BR /&gt;&lt;BR /&gt;Are you doing scriptname &lt;PASSWORD&gt; to execute?&lt;BR /&gt;&lt;BR /&gt;I'd suggest using sftp instead.&lt;BR /&gt;&lt;BR /&gt;Better yet scp.  &lt;BR /&gt;&lt;BR /&gt;This is key authenticated and you won't be entering passwords anywhere in plain text.&lt;BR /&gt;&lt;BR /&gt;Can manually run ftp and login with the username and password?&lt;BR /&gt;&lt;/PASSWORD&gt;</description>
      <pubDate>Mon, 26 May 2008 09:57:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204485#M325207</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2008-05-26T09:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: ftp process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204486#M325208</link>
      <description>Do you need the \ at all?&lt;BR /&gt;&lt;BR /&gt;I thought the format was&lt;BR /&gt;&lt;BR /&gt;user &lt;USERNAME&gt; &lt;PASSWORD&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;/PASSWORD&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Mon, 26 May 2008 10:04:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204486#M325208</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2008-05-26T10:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: ftp process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204487#M325209</link>
      <description>I am using this in a script and we need to use ftp only for this case. I have tried giving the username as 'sathis\\\$sps07' also.&lt;BR /&gt;&lt;BR /&gt;ftp -i -n &amp;lt;&amp;lt; EOF&lt;BR /&gt;open &lt;SERVER name=""&gt;&lt;BR /&gt;user sathis\\\$sps07 &lt;PASSWORD&gt;&lt;BR /&gt;quit&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;is giving error as&lt;BR /&gt;User 'sathis$sps07' can not login..It still takes as 'sathis$sps07' instead of 'sathis\$sps07'.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PASSWORD&gt;&lt;/SERVER&gt;</description>
      <pubDate>Mon, 26 May 2008 10:05:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204487#M325209</guid>
      <dc:creator>sathis kumar</dc:creator>
      <dc:date>2008-05-26T10:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: ftp process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204488#M325210</link>
      <description>In the end I think FTP is a bad idea.  Who knows  who's sniffing the line for your passwords.&lt;BR /&gt;&lt;BR /&gt;I really encourage you to look at SSH and the SFTP / SCP options.&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Mon, 26 May 2008 10:07:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204488#M325210</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2008-05-26T10:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: ftp process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204489#M325211</link>
      <description>Take the slash out and  put in a space.&lt;BR /&gt;&lt;BR /&gt;when you put a variable beside a slash add the braces.&lt;BR /&gt;&lt;BR /&gt;${variable}</description>
      <pubDate>Mon, 26 May 2008 10:08:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204489#M325211</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2008-05-26T10:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: ftp process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204490#M325212</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;ftp -i -n &amp;lt;&amp;lt; EOF&lt;BR /&gt;open &lt;SERVER name=""&gt;&lt;BR /&gt;user sathis\\\$sps07 &lt;PASSWORD&gt;&lt;BR /&gt;quit&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;ftp -i -n server name&amp;lt;&amp;lt; EOF&lt;BR /&gt;user sathis passwd&lt;BR /&gt;ls&lt;BR /&gt;quit&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;rgds.&lt;/PASSWORD&gt;&lt;/SERVER&gt;</description>
      <pubDate>Mon, 26 May 2008 10:35:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204490#M325212</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-05-26T10:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: ftp process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204491#M325213</link>
      <description>Hi Kevin,&lt;BR /&gt;&lt;BR /&gt;Could you please let me know how I should give the userid ?</description>
      <pubDate>Mon, 26 May 2008 10:51:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204491#M325213</guid>
      <dc:creator>sathis kumar</dc:creator>
      <dc:date>2008-05-26T10:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: ftp process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204492#M325214</link>
      <description>It works on HP-UX.&lt;BR /&gt;&lt;BR /&gt;ftp -i -n servername&amp;lt;&amp;lt; EOF&lt;BR /&gt;user satis \$sps07&lt;BR /&gt;dir&lt;BR /&gt;quit&lt;BR /&gt;EOF&lt;BR /&gt;</description>
      <pubDate>Mon, 26 May 2008 10:57:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204492#M325214</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-05-26T10:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: ftp process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204493#M325215</link>
      <description>I have tested it on Windows also and it works fine:&lt;BR /&gt;&lt;BR /&gt;ftp -i -n &amp;lt;&amp;lt; EOF&lt;BR /&gt;open ntservername&lt;BR /&gt;user satis \$sps07&lt;BR /&gt;status&lt;BR /&gt;pwd&lt;BR /&gt;quit&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rgds.</description>
      <pubDate>Mon, 26 May 2008 11:08:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204493#M325215</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-05-26T11:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: ftp process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204494#M325216</link>
      <description>Hi Rashid,&lt;BR /&gt;&lt;BR /&gt;It is not working.&lt;BR /&gt;</description>
      <pubDate>Mon, 26 May 2008 11:08:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204494#M325216</guid>
      <dc:creator>sathis kumar</dc:creator>
      <dc:date>2008-05-26T11:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: ftp process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204495#M325217</link>
      <description>sathis,&lt;BR /&gt;&lt;BR /&gt;You can hardcode the username in the script as you're doing now.&lt;BR /&gt;&lt;BR /&gt;But I looked at Rasheeds post which runs on HP-UX.  He has a space after the username and before the \.  Maybe that's your issue.&lt;BR /&gt;&lt;BR /&gt;Unfortunately I don't have a system to test.&lt;BR /&gt;But I don't think you need the \ at all.&lt;BR /&gt;&lt;BR /&gt;user username password   &amp;lt;-- put spaces in&lt;BR /&gt;or try your original line but with a space&lt;BR /&gt;&lt;BR /&gt;user username \password  &amp;lt;--Like Rasheeds script&lt;BR /&gt;&lt;BR /&gt;You can pass the username as a variable as well just like the password.&lt;BR /&gt;&lt;BR /&gt;For instance if you don't want to store either the user's name or password in the script you can type both in after the script name&lt;BR /&gt;&lt;BR /&gt;scriptname.sh  kevin  kevinspassword&lt;BR /&gt;&lt;BR /&gt;My username will be passed as $1&lt;BR /&gt;My password will be passed as $2&lt;BR /&gt;&lt;BR /&gt;So  your script could look like&lt;BR /&gt;&lt;BR /&gt;ftp -nv &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;open &lt;NT servername=""&gt;&lt;BR /&gt;user $1 $2  (I didn't put he \ in but try it)&lt;BR /&gt;quit&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;Wish I had a system to test this for you.&lt;BR /&gt;&lt;BR /&gt;If you put the \ in then try&lt;BR /&gt;user ${1} \${$2}&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Kevin&lt;BR /&gt;&lt;BR /&gt;I'll keep monitoring your post for further questions  :)&lt;/NT&gt;</description>
      <pubDate>Mon, 26 May 2008 11:09:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204495#M325217</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2008-05-26T11:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: ftp process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204496#M325218</link>
      <description>&amp;gt;My user id is: sathis\$sps07&lt;BR /&gt;&lt;BR /&gt;If your ID has "\" and "$" you would have to quote each.  Or you tell the shell to not treat characters special by quoting the here document word:&lt;BR /&gt;ftp -nv &amp;lt;&amp;lt;\EOF&lt;BR /&gt;open &lt;NT servername=""&gt;&lt;BR /&gt;user sathis\$sps07 &lt;PASSWORD&gt;&lt;BR /&gt;quit&lt;BR /&gt;EOF&lt;/PASSWORD&gt;&lt;/NT&gt;</description>
      <pubDate>Mon, 26 May 2008 11:12:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204496#M325218</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-05-26T11:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: ftp process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204497#M325219</link>
      <description>Denis is right too.&lt;BR /&gt;&lt;BR /&gt;I assumed $sps07 was a variable.  But if the $ is part of the password you will have to quote it.&lt;BR /&gt;&lt;BR /&gt;Also you don't need the \  look at this post&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1234898" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1234898&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Kevin</description>
      <pubDate>Mon, 26 May 2008 11:15:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204497#M325219</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2008-05-26T11:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: ftp process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204498#M325220</link>
      <description>Regarding the \  if that's part of your password then you need it...but quote it as per Denis's post.&lt;BR /&gt;&lt;BR /&gt;Just ensure  you have a space between the username and password.</description>
      <pubDate>Mon, 26 May 2008 11:17:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204498#M325220</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2008-05-26T11:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: ftp process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204499#M325221</link>
      <description>Hi Sathis&lt;BR /&gt;&lt;BR /&gt;I have tested it on both HP and Win.&lt;BR /&gt;&lt;BR /&gt;on my post, I took&lt;BR /&gt;&lt;BR /&gt;username as satis&lt;BR /&gt;and passwd as $sps07&lt;BR /&gt;&lt;BR /&gt;and I used a backslash char to escape the $ sign in the passwd as below and between the username and passwd there is a space.&lt;BR /&gt;&lt;BR /&gt;user satis \$sps07&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 May 2008 11:28:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204499#M325221</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-05-26T11:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: ftp process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204500#M325222</link>
      <description>Thanks Dennis and all for your help.&lt;BR /&gt;&lt;BR /&gt;Below code works:&lt;BR /&gt;&lt;BR /&gt;ftp -nv &amp;lt;&amp;lt; \EOF &lt;BR /&gt;open &lt;NT servername=""&gt;&lt;BR /&gt;user sathis\\$sps07 &lt;PASSWORD&gt;&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;1) \ - is added with EOF  2) \ is added in username as sathis\\$sps07 (though the user name is sathis\$sps07)&lt;/PASSWORD&gt;&lt;/NT&gt;</description>
      <pubDate>Mon, 26 May 2008 12:12:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204500#M325222</guid>
      <dc:creator>sathis kumar</dc:creator>
      <dc:date>2008-05-26T12:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: ftp process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204501#M325223</link>
      <description>Didn't have enough coffee today I guess&lt;BR /&gt;&lt;BR /&gt;I was treating sathis as the username and $sps07 as the password.&lt;BR /&gt;&lt;BR /&gt;Glad you got it going.&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Mon, 26 May 2008 12:18:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204501#M325223</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2008-05-26T12:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: ftp process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204502#M325224</link>
      <description>All the time I was also thinking username as satis and $sps07 as the password&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 May 2008 12:21:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-process/m-p/4204502#M325224</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-05-26T12:21:36Z</dc:date>
    </item>
  </channel>
</rss>

