Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python ftp login

from ftplib import FTP

ftpObject = FTP();

connectResponses = ftpObject.connect(host="ftp.exampleserver.com");
print("Connection Responses
");
print(connectResponses);
print("

");

loginResponse = ftpObject.login(user="username", passwd="password");
print("Login Response - " + loginResponse + "

");
 
PREVIOUS NEXT
Tagged: #python #ftp #login
ADD COMMENT
Topic
Name
1+1 =