commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shabeena.k" <shabeena.kh...@etpgroup.com>
Subject Re: Commons VFS StaticUserAuthenticator Issue
Date Thu, 05 Apr 2012 12:21:29 GMT
I tried that and my url formed was
smb://[domain\username[:password]@]host[E:\abc\xyz\site-1.6.12.zip]


org.apache.commons.vfs2.FileSystemException: Badly formed URI
"smb://[domain\username[:***@]host[E:\abc\xyz\site-1.6.12.zip]".
	at
org.apache.commons.vfs2.provider.url.UrlFileProvider.findFile(UrlFileProvider.java:91)
	at
org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:713)
	at
org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:649)
	at
org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:605)
	at landownload.Snippet.download(Snippet.java:52)
	at landownload.Snippet.main(Snippet.java:23)
Caused by: java.net.MalformedURLException: unknown protocol: smb
	at java.net.URL.<init>(URL.java:574)
	at java.net.URL.<init>(URL.java:464)
	at java.net.URL.<init>(URL.java:413)
	at
org.apache.commons.vfs2.provider.url.UrlFileProvider.findFile(UrlFileProvider.java:72)
	... 5 more


--
View this message in context: http://apache-commons.680414.n4.nabble.com/Commons-VFS-StaticUserAuthenticator-Issue-tp4534638p4534671.html
Sent from the Commons - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message