commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Puneet Singh Lamba" <psla...@gmail.com>
Subject unknown protocol: sftp
Date Mon, 21 Aug 2006 04:37:39 GMT
Folks,

I am getting the following exception. Any ideas?

--Puneet


org.apache.commons.vfs.FileSystemException: Badly formed URI "
sftp://user:password@10.10.10.5".
        at org.apache.commons.vfs.provider.url.UrlFileProvider.findFile
(UrlFileP
rovider.java:84)
        at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile
(Defa
ultFileSystemManager.java:661)
        at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile
(Defa
ultFileSystemManager.java:601)
        at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile
(Defa
ultFileSystemManager.java:569)
        at com.ibm.kms.decentralization.SFTPVFSClient.run(SFTPVFSClient.java
:16)

        at com.ibm.kms.decentralization.SFTPVFSClient.main(
SFTPVFSClient.java:27
)
Caused by: java.net.MalformedURLException: unknown protocol: sftp
        at java.net.URL.<init>(Unknown Source)
        at java.net.URL.<init>(Unknown Source)
        at java.net.URL.<init>(Unknown Source)
        at org.apache.commons.vfs.provider.url.UrlFileProvider.findFile
(UrlFileP
rovider.java:65)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message