Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about apache-vfs

Read more about apache-vfs

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - apache-vfs

Java vfs2 FileSystemException invalid privatekey. How to solve it?

In my springboot application, i am transferring a file to sftp. I want to authenticate it only with username and password. However my java code still looking for private key to send, and i am getting ...
test-img

Praneeth Kumar T

java

vfs

spring-integration-sftp

apache-commons-vfs

apache-vfs

Votes: 0

Answers: 1

Latest Answer

It's solved with below one line of code: SftpFileSystemConfigBuilder.getInstance().setIdentities(opts, new File[0]);
test-img

Praneeth Kumar T

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved