- 论坛徽章:
- 0
|
和什么有关系呢,我看Python加的是绝对路径,太晕了,哪位大侠能帮忙,谢谢。
produced the following output:
Traceback (most recent call last):
File "ap_backup", line 45, in <module>
File "ap_backup", line 8, in up
File "/usr/lib/python2.6/ftplib.py", line 116, in __init__
self.connect(host)
File "/usr/lib/python2.6/ftplib.py", line 131, in connect
self.sock = socket.create_connection((self.host, self.port), self.timeout)
File "/usr/lib/python2.6/socket.py", line 500, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
socket.gaierror: [Errno 8] node name or service name not known
|
|