Create a new physical file on the FTP server.
Obsolete from Version 11.0 onwards. Some older solutions may contain instances of this action. Run the compatibility report to identify any use of this action and remove it from your solution.
For solutions that contain obsolete FTP actions (FTPNewLibrary, FTPNewMember or FTPNewPhysicalFile), a potential work-around is to call FTPQuote with the host command that is the equivalent of the obsolete action. For example, to create a library, you could send: FTPQuote ("CRTLIB MYLIBRARY TYPE(*TEST) TEXT('My library')")
Connection – (Required)
Name of the connection that the action will be applied to. Should be the same name as specified in the FTPConnect call.
Name – (Required)
Name of the new physical file.
File Type – (Required)
Specifies whether the file contains data records or source records (statements). This parameter should be set to one of the File Type constants.
Source Library – (Required)
Specifies the library name of the file that contains the DDS used to create the physical file. This parameter can be manually entered or can be set to one of the Source Library constants.
Source File - (Required)
The name of the source file that contains the DDS definition.
Source Member – (Required)
Specifies the name of the file member that contains the DDS definition. The file can be manually entered or can be set to FTPFileSrcMbrFile to use the same name as that specified in the file name argument.
Record Length – (Required)
If no source file has been used (no DDS definition), then this parameter specifies the length (in bytes) of records stored in the physical file.
Member – (Required)
Specifies the name of the physical file member added when the physical file is created. This parameter should be set to one of the Member constants.
Description - (Required)
Specifies the description to be applied to the physical file. This parameter should be set to one of the Description constants.
FTPConnect Action | FTPDisconnect Action | FTPDownload Action | FTPUpload Action | FTPChangeFolder Action | FTPDelete Action | FTPNewFolder Action | FTPNewLibrary Action | FTPNewMember Action | FTPQuote Action | FTPRename Action
© 2004-2021 looksoftware. All rights reserved.