The -initialChildCmds option is used to specify commands which are sent to the child program directly after it has started. The commands suitable for use here are above all those which make permanent settings, such as the RFC 959 commands type, stru and mode and the BS2000 proprietary commands ftyp, setc, modc, sfil and cmod. In special cases it may make sense to use the RFC 959 commands dele and cwd and the BS2000 proprietary command file. The BS2000 proprietary commands are described in the manual “interNet Services User Guide”. Please note: In contrast to the method of use described there, the proprietary commands may not be prefixed with a “site” in the option argument. Each command in the command string must be terminated with \n
or \N
.
You can use the -initialChildCmds option to change defaults, for example. Thus with -initialChildCmds FTYP text\nSFIL pademptyrec on\n
you can set the FTYP default to text
(this is the default in older FTP versions) and have empty SAM records padded with a blank.
-initialChildCmds -Z |
<string 2..511> |
<string 2..511>
String containing the commands.
Default: <empty-string>, in other words no command.