Debian系统,通过pptp连接了校内vpn,然后在python下用ftplib登录,失败,提示'Invalid IP Address'。
用ifconfig查看,有eth0和eth1还有ppp0(ppp0是我连的vpn),猜想是ftp走的还是外网,不知道怎么让ftp走校内vpn通道?
人生最曼妙的风景,竟是内心的淡定与从容!
After connecting to VPN, you can only log in to the ftp server if you can ping the intranet ftp. You can try the following command:
ping FTPServerHostOrIP telnet FTPServerHostOrIP FTPServerPort
FTPServerHostOrIP Actual FTP hostname or IP address FTPServerPort Actual FTP hostname and port
After connecting to VPN, you can only log in to the ftp server if you can ping the intranet ftp. You can try the following command:
FTPServerHostOrIP Actual FTP hostname or IP address
FTPServerPort Actual FTP hostname and port