我连接到远程服务器,要求我每90天更换一次密码(WS_FTP Pro)。 命令是“CPWD oldpass newpass”。
我想用脚本来做,但我不知道如何使用lftp发送CPWD命令。
build议?
你要quote (your command) 。 所以,在你的情况下, quote CPWD oldpass newpass
quote (your command)
quote CPWD oldpass newpass