标签: python-3.x telnetlib
我想用telentlib来写冗长的写命令,但是它仅限于50个字符。有延长它的方法吗?
telentlib
tn.write(('ftp server name "remotehost" address 10.10.10.10 servertype FTP user ftpuser password password').encode())