commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Thomas <greg.d.tho...@gmail.com>
Subject Re: Commons VFS StaticUserAuthenticator Issue
Date Thu, 05 Apr 2012 14:18:23 GMT
On 5 April 2012 13:21, shabeena.k <shabeena.khoja@etpgroup.com> wrote:
> 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]".

>From the docs "Provides access to the files on a CIFS server, such as
a Samba server, or a Windows *share*" (my emphasis).

Look at what you've entered, you're trying to access something on
windows, in which case first you'll need to share the folder. Assuming
you're sharing E:\abc\xyz\ as xyz, then my reading of the docs
suggests that your URL should be something like

smb://domain\username:password@host\xyz\site-1.6.12.zip

HTH,

Greg

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


Mime
View raw message