Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Upload/download files to/from SFTP server  RSS feed

 
Chengwei Lee
Ranch Hand
Posts: 884
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to upload/down files to/from a UNIX box to a SFTP server. Could I use the FTPClient (Apache commons net) for it?

I also need to use key based authentication. So if I install my public key in the SFTP server, and private key in my UNIX box, would that be sufficient? That is, I need to login from within my application (for file transfer)?

Thanks!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!