hi, i used following code to establish connection between my local machine and the remote machine :
import os, sys, ftplib
nonpassive=False
remotesite= '10.88.203.21:22'
remoteuser='root'
remotepass='v-peg8!@#'
localdir= "c:\\.."
print "connecting"
connection=ftplib.FTP(remotesite)
print "successfully connected"
connection.login(remoteuser,remotepass)
if nonpassive:
connection.set_pasv(False)
But its giving me following error: socket.gaierror: [Errno 11001] getaddrinfo failed.. can somebody plz help me out with this.