Chapter 3 - FTP Commands
During an upload, the FTP server generates a uniquely-named temporary file.
When the transfer has completed successfully, the original file is deleted and the
temporary file is renamed. For this process to succeed you must have access
rights associated with your user ID to delete and rename files, and if the optional
file name (
file_name
(STOU) response. The adapter issues a warning if the server response cannot be
interpreted. It is recommended that you run a preliminary test to ensure that the
process completes successfully.
-STAGE [file_name]
Option
file_name
System (-SYS)
Use the System adapter command (
adapter cannot accurately determine the system type of the FTP server.
Note
The FTP server system type is not necessarily the same as the operating system
of the machine it is running on. Some Windows FTP servers use UNIX conventions.
If in doubt, consult your server documentation or use the dir command and then
view the results.
-SYS {WIN32|UNIX|UNKNOWN}
Option
WIN32
UNIX
UNKNOWN
) is omitted the server must provide a correct Store Unique
Description
Specify a unique file name for the temporary file. This
option is especially useful if a server does not supply
unique file names.
-SYS
Description
The server follows Windows conventions. For example,
directories in pathnames are separated by a backward
slash (\).
The server follows UNIX conventions. For example,
directories in pathnames are separated by a forward
slash (/).
Because the platform is not known, exercise generic
code. Do not perform anything that is specific to a
platform.
F T P A d a p t e r R e f e r e n c e G u i d e
2 7
) to specify the system type when the
List of Commands
Need help?
Do you have a question about the HP NonStop Data Transformation Engine FTP Adapter and is the answer not in the manual?
Questions and answers