HP OpenVMS Systems

ask the wizard
Content starts here

Intermittent FTP Errors?

» close window

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 <address>
220 <node> Microsoft FTP Service (Version 4.0).
Connected to <address>
user <username>
331 Password required for <username>.
230 User <username> logged in.
set type image
200 Type set to I.
get "/<directory>/<filename>" <filename>
%FTP-E-OPNINP, Error opening /<dir>/<name> 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 )

» close window