Re: symbolic links

2009-02-05 Thread Ashish

 The general config for the listener:
 org.apache.ftpserver.listener.nio.NioListener.start(FtpServerContext)

Its working fine. Though my MINA program didn't behave as it was
supposed to be. The constructs are same.
Let me investigate further, what went wrong.


 Then we might override that for a user:
 org.apache.ftpserver.impl.FtpIoSession.setMaxIdleTime(int)

 and
 handling session timeout

 org.apache.ftpserver.impl.DefaultFtpHandler.sessionIdle(FtpIoSession,
 IdleStatus)


Re: symbolic links

2009-02-04 Thread Ashish
d, Feb 4, 2009 at 5:56 AM, Ashish paliwalash...@gmail.com wrote:
 Niklas, can Apache VFS (http://commons.apache.org/vfs/) be a good
 candidate to be used here??

 Sure, David already got that working:
 http://vfs-utils.sourceforge.net/ftpserver/index.html

Will we worthwhile, adding this info to wiki :-)

- ashish


Re: symbolic links

2009-02-04 Thread Francis De Brabandere
I've been looking at commons vfs, but I did not see any support for
symbolic links

On Wed, Feb 4, 2009 at 9:20 AM, Niklas Gustavsson nik...@protocol7.com wrote:
 On Wed, Feb 4, 2009 at 9:11 AM, Ashish paliwalash...@gmail.com wrote:
 Will we worthwhile, adding this info to wiki :-)

 Agreed, feel free :-)

 /niklas




-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.


Re: symbolic links

2009-02-04 Thread Ashish
On Wed, Feb 4, 2009 at 1:50 PM, Niklas Gustavsson nik...@protocol7.com wrote:
 On Wed, Feb 4, 2009 at 9:11 AM, Ashish paliwalash...@gmail.com wrote:
 Will we worthwhile, adding this info to wiki :-)

 Agreed, feel free :-)

can't write to Ftp Server wiki, but shall add an entry in Related
projects that we have for MINA

- ashish


Re: symbolic links

2009-02-04 Thread Francis De Brabandere
what is the url for these wiki's?

On Wed, Feb 4, 2009 at 9:29 AM, Ashish paliwalash...@gmail.com wrote:
 On Wed, Feb 4, 2009 at 1:50 PM, Niklas Gustavsson nik...@protocol7.com 
 wrote:
 On Wed, Feb 4, 2009 at 9:11 AM, Ashish paliwalash...@gmail.com wrote:
 Will we worthwhile, adding this info to wiki :-)

 Agreed, feel free :-)

 can't write to Ftp Server wiki, but shall add an entry in Related
 projects that we have for MINA

 - ashish




-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.


Re: symbolic links

2009-02-04 Thread David Latorre
2009/2/4 Francis De Brabandere franci...@gmail.com

 what is the url for these wiki's?

 On Wed, Feb 4, 2009 at 9:29 AM, Ashish paliwalash...@gmail.com wrote:
  On Wed, Feb 4, 2009 at 1:50 PM, Niklas Gustavsson nik...@protocol7.com
 wrote:
  On Wed, Feb 4, 2009 at 9:11 AM, Ashish paliwalash...@gmail.com wrote:
  Will we worthwhile, adding this info to wiki :-)
 
  Agreed, feel free :-)
 
  can't write to Ftp Server wiki, but shall add an entry in Related
  projects that we have for MINA
 
  - ashish
 



 --
 http://www.somatik.be
 Microsoft gives you windows, Linux gives you the whole house.



Re: symbolic links

2009-02-04 Thread Ashish
On Wed, Feb 4, 2009 at 2:04 PM, Francis De Brabandere
franci...@gmail.com wrote:
 what is the url for these wiki's?

Its our Site Documentation only :-) They are backed by confluence wiki engine


Re: symbolic links

2009-02-04 Thread Niklas Gustavsson
On Wed, Feb 4, 2009 at 9:29 AM, Ashish paliwalash...@gmail.com wrote:
 can't write to Ftp Server wiki, but shall add an entry in Related
 projects that we have for MINA

I've added you to the FtpServer space as well.

/niklas


Re: symbolic links

2009-02-04 Thread Ashish
 can't write to Ftp Server wiki, but shall add an entry in Related
 projects that we have for MINA

 I've added you to the FtpServer space as well.

Thanks !

Also, could you point me to place where you are configuring and
handling session timeout
Having trouble using it in MINA app.

thanks


Re: symbolic links

2009-02-03 Thread Francis De Brabandere
issue created:
https://issues.apache.org/jira/browse/FTPSERVER-272

On Tue, Feb 3, 2009 at 8:52 PM, Niklas Gustavsson nik...@protocol7.com wrote:
 On Tue, Feb 3, 2009 at 8:31 PM, Francis De Brabandere
 franci...@gmail.com wrote:
 I'm wondering if there is a way to make the ftpserver follow symbolic
 links instead of keeping the symbolic link as pwd:

 Not at the moment, no. But, without thinking it through fully, I don't
 see why we could not support it in the future. Feel free to fill out a
 feature request in JIRA and I'll have a look at it for 1.1.

 If not would there be a way to implement this using an ftplet?

 Could could look into making a custom file system, likely by extending
 the native file system already available. I'm guessing it might not be
 such a big change.

 /niklas




-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.


Re: symbolic links

2009-02-03 Thread Ashish
On Wed, Feb 4, 2009 at 1:22 AM, Niklas Gustavsson nik...@protocol7.com wrote:
 On Tue, Feb 3, 2009 at 8:31 PM, Francis De Brabandere
 franci...@gmail.com wrote:
 I'm wondering if there is a way to make the ftpserver follow symbolic
 links instead of keeping the symbolic link as pwd:

 Not at the moment, no. But, without thinking it through fully, I don't
 see why we could not support it in the future. Feel free to fill out a
 feature request in JIRA and I'll have a look at it for 1.1.

 If not would there be a way to implement this using an ftplet?

 Could could look into making a custom file system, likely by extending
 the native file system already available. I'm guessing it might not be
 such a big change.

Niklas, can Apache VFS (http://commons.apache.org/vfs/) be a good
candidate to be used here??

- ashish


Re: symbolic links

2009-02-03 Thread Niklas Gustavsson
On Wed, Feb 4, 2009 at 5:56 AM, Ashish paliwalash...@gmail.com wrote:
 Niklas, can Apache VFS (http://commons.apache.org/vfs/) be a good
 candidate to be used here??

Sure, David already got that working:
http://vfs-utils.sourceforge.net/ftpserver/index.html

/niklas