z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Prompts returned in FCAI-Status

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

  • Prompt for password after a USER subcommand

    The FTP client prompts for a password to complete a login if the password was not passed with the USER subcommand. The FTP client API passes this prompt to the user program by using the status FCAI-Status-PromptPass. The user program should use an SCMD request to send a PASS subcommand as the next subcommand. If any subcommand other than PASS is sent, the request fails with FCAI-Result = FCAI-Result-IE and FCAI-IE = FCAI-PassPromptErr.

  • Prompt for accounting information after a PASS or a CD (CWD) subcommand

    Some FTP servers prompt the FTP client for accounting information after a PASS or CWD command is processed. The FTP client API passes this prompt to the user program by using the status FCAI-Status-PromptAcct. The user program should use an SCMD request to send an ACCT subcommand as the next subcommand. If any subcommand other than ACCT is sent, the request fails with FCAI-Result = FCAI-Result-IE and FCAI-IE = FCAI-AcctPromptErr.

    Tip: When a PASS or ACCT subcommand is expected, the interface refuses any other SCMD request until the prompt is satisfied. The user program can issue a GETL or TERM request without satisfying the prompt. A TERM request generates a QUIT subcommand that is accepted and stops the client process.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014