commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dion Gillard <dion.gill...@gmail.com>
Subject [vfs] providing smb credentials somewhere other than the URI
Date Wed, 01 Jun 2005 23:56:16 GMT
Is it possible to pass username/password to the FileSystemManager or
some other object so that the URI doesn't need the username/password
combo?

e.g. I'd rather not do a 

FileSystemManager.resolveFile("smb://user:password@host/share/file")

and instead do

FileSystemManager.resolveFile("smb://host/share/file", ???OPTIONS???)

Any ideas?
-- 
http://www.multitask.com.au/people/dion/
"You are going to let the fear of poverty govern your life and your
reward will be that you will eat, but you will not live." - George
Bernard Shaw

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


Mime
View raw message