我是否在使用 ftplib 库犯罪?
Am I committing a crime with the ftplib library?
用这三行Python代码:
from ftplib import FTP
ftp=FTP("ftp.ncdc.noaa.gov")
ftp.login()
我成功登录到 NOAA(美国国家海洋和大气管理局)的 FTP 服务器,但我得到的输出是这条消息:
'230-****** WARNING ** WARNING ** WARNING ** WARNING ** WARNING
******** This is a United States Department of Commerce computer **** system, which may be accessed and used only for **** official Government business by authorized personnel. ** ** Unauthorized access or use of this computer system may **** subject violators to criminal, civil, and/or administrative **** action. All information on this computer system may be **** intercepted, recorded, read, copied, and disclosed by and **\n ** to authorized personnel for official purposes, including **** criminal investigations. Access or use of this computer **** system by any person, whether authorized or unauthorized, **** constitutes consent to these terms. **\n ****** WARNING ** WARNING ** WARNING ** WARNING ** WARNING ******\n230 Anonymous access granted, restrictions apply'
这是不是说我不能从那个FTP服务器下载文件,除非我是授权人员?或者它只是一个警告,我不应该尝试以某种方式访问和修改服务器内容?
对不起,如果我理解不正确,那可能是因为我不是来自美国,而且我不确定网络犯罪在那里是如何运作的。
你应该没事的。 NOAA FTP 服务器已开放供一般使用,但您应该了解一些关于使用脚本的规则。
用这三行Python代码:
from ftplib import FTP
ftp=FTP("ftp.ncdc.noaa.gov")
ftp.login()
我成功登录到 NOAA(美国国家海洋和大气管理局)的 FTP 服务器,但我得到的输出是这条消息:
'230-****** WARNING ** WARNING ** WARNING ** WARNING ** WARNING ******** This is a United States Department of Commerce computer **** system, which may be accessed and used only for **** official Government business by authorized personnel. ** ** Unauthorized access or use of this computer system may **** subject violators to criminal, civil, and/or administrative **** action. All information on this computer system may be **** intercepted, recorded, read, copied, and disclosed by and **\n ** to authorized personnel for official purposes, including **** criminal investigations. Access or use of this computer **** system by any person, whether authorized or unauthorized, **** constitutes consent to these terms. **\n ****** WARNING ** WARNING ** WARNING ** WARNING ** WARNING ******\n230 Anonymous access granted, restrictions apply'
这是不是说我不能从那个FTP服务器下载文件,除非我是授权人员?或者它只是一个警告,我不应该尝试以某种方式访问和修改服务器内容? 对不起,如果我理解不正确,那可能是因为我不是来自美国,而且我不确定网络犯罪在那里是如何运作的。
你应该没事的。 NOAA FTP 服务器已开放供一般使用,但您应该了解一些关于使用脚本的规则。