  Intermittent FTP Errors? 
 The Question is:
 
FTP and occasional OPNINP error
 
I run a large command procedure in batch. It usually creates, executes and
 deletes a small procedure to perform an FTP get. This fails as shown.
--------------------------------------
$ ftp
connect &lt;address&gt;
220 &lt;node&gt; Microsoft FTP Service (Version 4.0).
Connected to &lt;address&gt;
user &lt;username&gt;
331 Password required for &lt;username&gt;.
&lt;password&gt;
230 User &lt;username&gt; logged in.
set type image
200 Type set to I.
get "/&lt;directory&gt;/&lt;filename&gt;" &lt;filename&gt;
%FTP-E-OPNINP, Error opening /&lt;dir&gt;/&lt;name&gt; for input
-RMS-F-DEV, error in device name or inappropriate device type for operation
------------------------------------------
But when the same procedure is retained and run from another 1-line procedure
 (same context, also in batch) it succeeds.
Why does it sometimes fail?
UCX 4.2
 
 
 The Answer is :
 
  Please first use COPY/FTP.
 
  Please acquire and load the current TCP/IP Services ECO kit for V4.2.
 
  Please check with the maintainer of the FTP server for any ECOs that
  might be available for the FTP server -- assuming that this is not the
  TCP/IP Services FTP Server, of course.
 
  Please check the syntax of the remote system, as you will want to specify
  the filename syntax appropriate for the target system.
 
  Please remember to specify the exact error messages, not edited messages.
  (There is some ambiguity here between the command specification containing
  directory and filename and filename and the error message containing dir
  and name specifications.)
 
 Answer written or last revised on  6-SEP-2001 
