# AG\_FTPSETPW
> [HTML Version](ag_ftpsetpw.htm)
_Reviewed and revised December 2023_
**tab(-10, AG\_FTPSETPW); loginname; "~"; psword; chr(127);** [Tab(-10,x) Syntax Notes](ag_xxx_syntax-notes.htm.md)
AG\_FTPSETPW (29) changes the FTP login information which is otherwise stored in the ATE configuration for the current connection.
**Parameters**
_loginname_
FTP login name string
_psword_
FTP login password string
**Response**
none
**Example**
? TAB(-10,AG\_FTPSETPW);"kane";chr(126);"rosebud";chr(127);
**Notes**
Only applies to ATE (prior to using the [FTP](ag_ftp.htm.md) function) not ZTERM. For local A-Shell/Windows FTP, just use FTPDLX.SBX, which accepts explicit arguments for the login name and password.