You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-users@mina.apache.org by Andreas Mueller <am...@iit.de> on 2014/01/21 11:37:00 UTC

Customizing ls command

Hi,

I want to use FTP Server on my proprietary data which is not a directory with files. So I want to have a handler (FTPlet?) to respond to ls, get etc. Starting with the ls command I want to return a directory listing (with filenames) that I generate from my proprietary data and use these generated filenames if the user execute a get command etc.

Is that possible?

Thanks,
Andreas

-- 
Andreas Mueller
IIT Software GmbH, Bremen/Germany
http://www.swiftmq.com





IIT Software GmbH
Fahrenheitstr. 13, D28359 Bremen, Germany
Tel: +49 421 330 46 088, Fax: +49 421 330 46 090
Amtsgericht Bremen, HRB 18624, Geschaeftsfuehrer: Andreas Mueller
Steuernummer: 460/118/06404 VAT: DE199945912


Re: Customizing ls command

Posted by John Hartnup <jo...@gmail.com>.
You need to write your own Filesystem implementation. This has been
discussed a few times in this mailing list, so take a look at the archives.


On 21 January 2014 10:37, Andreas Mueller <am...@iit.de> wrote:

> Hi,
>
> I want to use FTP Server on my proprietary data which is not a directory
> with files. So I want to have a handler (FTPlet?) to respond to ls, get
> etc. Starting with the ls command I want to return a directory listing
> (with filenames) that I generate from my proprietary data and use these
> generated filenames if the user execute a get command etc.
>
> Is that possible?
>
> Thanks,
> Andreas
>
> --
> Andreas Mueller
> IIT Software GmbH, Bremen/Germany
> http://www.swiftmq.com
>
>
>
>
>
> IIT Software GmbH
> Fahrenheitstr. 13, D28359 Bremen, Germany
> Tel: +49 421 330 46 088, Fax: +49 421 330 46 090
> Amtsgericht Bremen, HRB 18624, Geschaeftsfuehrer: Andreas Mueller
> Steuernummer: 460/118/06404 VAT: DE199945912
>
>


-- 
"There is no way to peace; peace is the way"