mina-ftpserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kandarp Desai <kandarp.apache.m...@gmail.com>
Subject Re: ASCII and Binary Modes for FTPServer
Date Fri, 14 Aug 2009 00:45:40 GMT
Yep. That helped.Thanks.

On Thu, Aug 13, 2009 at 4:39 PM, Sai Pullabhotla <
sai.pullabhotla@jmethods.com> wrote:

> You need to call FtpSession.getDataType() method to find out the
> current data type that is in effect.
>
> Hope this helps.
>
> Sai Pullabhotla
> www.jMethods.com
>
>
>
>
> On Thu, Aug 13, 2009 at 6:19 PM, Kandarp
> Desai<kandarp.apache.mina@gmail.com> wrote:
> > Thanks Niklas.
> > I don't find any function which returns the user mode(ascii or binary) in
> > ftplet User interface(in javadoc).
> > Can you please guide me how can I get that?
> >
> > Regards,
> > Kandarp Desai
> >
> > On Wed, Jul 29, 2009 at 12:57 AM, Kandarp Desai<kandarpde...@gmail.com>
> > wrote:
> >> I want to disable ASCII mode for my ftpserver such that user has to use
> >> binary mode to transfer files to FTPServer.
> >> Can someone tell me which settings I should use? Thanks.
> >
> > You could use a Ftplet that intercepts the commands for upload and
> > downloading and force a check of what mode the user is in. If he's
> > still in ASCII, return an error to the user.
> >
> > /niklas
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message