How do we specify the filesystemfactory in the spring configuration file for
the ftp server?
On Tue, Apr 19, 2011 at 1:00 PM, Nitish Bangera <[email protected]>wrote:

> How do you specify the filesystemfactory in the FTP server configuration
> using Spring?
>
>
> On Sun, Apr 17, 2011 at 12:05 AM, Toli Kuznets <[email protected]
> > wrote:
>
>> Nitish,
>>
>> You'll need to provide your own custom FileSystemFactory that returns
>> a custom FileSystemView
>> (
>> http://svn.apache.org/viewvc/mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/FileSystemView.java?view=markup
>> )
>>
>> The FileSystemView should return your custom FtpFile subclass, which
>> will limit what gets shown in the listFiles() call.
>>
>> you then specify your factory in the FTP server configuration (we do
>> it vai Spring) and all the directory listing/file access calls are
>> channeled through your custom File/FileSystemView so you can control
>> what gets shown to the user.
>>
>> On Sat, Apr 16, 2011 at 10:54 AM, Nitish Bangera
>> <[email protected]> wrote:
>> > Hello,
>> >     .How do you make a custom file structure to show it to the user in
>> the
>> > FTP client? The custom file structure is a abstract view just for the
>> user.
>> >
>> > --
>> > Regards,
>> > Nitish S. Bangera
>> >
>>
>
>
>
> --
> Regards,
> Nitish S. Bangera
>



-- 
Regards,
Nitish S. Bangera

Reply via email to