Welcome, guest | Sign In | My Account | Store | Cart
import ftplib                                          
session = ftplib.FTP('SERVER NAME','USERNAME','PASSWORD') 
myfile = open('YOUR FILE','rb')                        
session.storbinary('STOR YOUR FILE', myfile)           
myfile.close()                                         
session.quit()                                         

History

  • revision 2 (15 years ago)
  • previous revisions are not available