lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: how to create directory on a remote server protected by password
Date Wed, 08 Feb 2012 13:46:46 GMT
Don't.  Likely to cause more problems than it's worth.  See recent
thread on "Why read past EOF".

But if you really feel you must, either write your own implementation
of FSDirectory or mount the remote folder locally at the OS level
using SMB or NFS or whatever.  I know which one I'd go for, except
that I wouldn't do it at all.


--
Ian.


On Wed, Feb 8, 2012 at 12:12 PM, Cheng <zhoucheng2008@gmail.com> wrote:
> Hi,
>
> I want to create a writer on a folder ("fsdir") in a remote server
> ("10.161.1.23"), which has user id "xyz" and password "pwd". How can I do
> so?
>
> Thanks

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


Mime
View raw message