<?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: 550 : Cannot creat file error on ftp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/550-cannot-creat-file-error-on-ftp/m-p/4607984#M376437</link>
    <description>&lt;!--!*#--&gt;&amp;gt; Here are my scripts:&lt;BR /&gt;&lt;BR /&gt;I see only one script (and the name of&lt;BR /&gt;another one).&lt;BR /&gt;&lt;BR /&gt;&amp;gt; put $1&lt;BR /&gt;&lt;BR /&gt;And what was "$1" when it worked?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; put /users/banker/edi810.txt&lt;BR /&gt;&lt;BR /&gt;That doesn't look to me like a very good file&lt;BR /&gt;name to use on a Windows system.</description>
    <pubDate>Fri, 26 Mar 2010 18:45:07 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2010-03-26T18:45:07Z</dc:date>
    <item>
      <title>550 : Cannot creat file error on ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/550-cannot-creat-file-error-on-ftp/m-p/4607983#M376436</link>
      <description>I am trying to ftp a file to a remote system. This process works fine when I execute the script that does the ftp, directly from my session, but I would like a script to call the script that does the ftp. When I run script to call the script. The ftp command connects to the remote and can execute commands but when it tries to put a file, I get the message "Cannot create file". &lt;BR /&gt;&lt;BR /&gt;Here are my scripts:&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;#&lt;BR /&gt;set -x&lt;BR /&gt;ftp -v 63.134.XXX.XXX &amp;lt;&lt;EOT&gt;&lt;/EOT&gt;cd test&lt;BR /&gt;put $1&lt;BR /&gt;dir&lt;BR /&gt;quit&lt;BR /&gt;EOT&lt;BR /&gt;&lt;BR /&gt;I use a .netrc file for connecting and the above works fine from a session. If I use this script to run it:&lt;BR /&gt;&lt;BR /&gt;. /home/rehrig/v63yor/ftpcmd.sh /users/banker/myfile.txt&lt;BR /&gt;&lt;BR /&gt;I get a cannot create file error.&lt;BR /&gt;Here is my output:&lt;BR /&gt;PROD:/users/banker&amp;gt;ftptest&lt;BR /&gt;+ ftp -v 63.134.xxx.xxx&lt;BR /&gt;+ 0&amp;lt;&amp;lt;&lt;BR /&gt;cd test&lt;BR /&gt;put /users/banker/edi810.txt&lt;BR /&gt;dir&lt;BR /&gt;quit&lt;BR /&gt;Connected to 63.134.xxx.xxx.&lt;BR /&gt;220 Serv-U FTP Server v6.2 for WinSock ready...&lt;BR /&gt;331 User name okay, need password.&lt;BR /&gt;230 User logged in, proceed.&lt;BR /&gt;Remote system type is UNIX.&lt;BR /&gt;Using binary mode to transfer files.&lt;BR /&gt;250 Directory changed to /test&lt;BR /&gt;200 PORT Command successful.&lt;BR /&gt;550 edi810.txt: Cannot create file.&lt;BR /&gt;200 PORT Command successful.&lt;BR /&gt;150 Opening ASCII mode data connection for /bin/ls.&lt;BR /&gt;drw-rw-rw-   1 user     group           0 Mar 26 12:02 .&lt;BR /&gt;drw-rw-rw-   1 user     group           0 Mar 26 12:02 ..&lt;BR /&gt;226 Transfer complete.&lt;BR /&gt;221 Goodbye!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If I use an ftp client tool I can read &lt;BR /&gt;and write from the remote computer just fine, &lt;BR /&gt;so I don't think its an issue with the remote.&lt;BR /&gt;Any help will be much appreciated with points.&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 26 Mar 2010 17:22:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/550-cannot-creat-file-error-on-ftp/m-p/4607983#M376436</guid>
      <dc:creator>Donald Whitaker</dc:creator>
      <dc:date>2010-03-26T17:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: 550 : Cannot creat file error on ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/550-cannot-creat-file-error-on-ftp/m-p/4607984#M376437</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Here are my scripts:&lt;BR /&gt;&lt;BR /&gt;I see only one script (and the name of&lt;BR /&gt;another one).&lt;BR /&gt;&lt;BR /&gt;&amp;gt; put $1&lt;BR /&gt;&lt;BR /&gt;And what was "$1" when it worked?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; put /users/banker/edi810.txt&lt;BR /&gt;&lt;BR /&gt;That doesn't look to me like a very good file&lt;BR /&gt;name to use on a Windows system.</description>
      <pubDate>Fri, 26 Mar 2010 18:45:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/550-cannot-creat-file-error-on-ftp/m-p/4607984#M376437</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-03-26T18:45:07Z</dc:date>
    </item>
  </channel>
</rss>

