ftp - python script that connects with vsftpd -


i have following issue... need connect sftp(vsftpd) through python script, upload file , download it. far have created ftp server vsftpd cannot connect. if use terminal(ftp localhost) can log in without problems. please advise how should proceed.

here python script: http://codepaste.net/omysxu

and here config file of vsftpd: http://codepaste.net/1qrrdf

the thing trying is.. set ftp server, should have 2 scripts(or 1) have upload file via ssh download in dir.

vsftpd ftp server , can not accessed sftp protocol. ftp, sftp , ftps confused:

  • ftp = file transfer protocol (rfc959) - supported vsftpd
  • ftps = extension using tls ftp (rfc4217) - supported vsftpd
  • sftp = file transfer using ssh protocol - not supported vsftpd, need ssh this.

Comments