Hey!

I download TFTP and it works fine.

Question though, is how did you get it to stream.
It just writes a file named delete.me to the local file system of the client.

Could you please send some code snippetts showing how you used this in a
servlet.

Thank you.

Danny Rubis

_+_+_+_+_+_Below is the console output.+_+_+_+_+_+_+_+_+_+_

C:\>tftp ntserv get delete.me
Transfer successful: 23 bytes in 1 second, 23 bytes/s

C:\>tftp

Transfers files to and from a remote computer running the TFTP service.

TFTP [-i] host [GET | PUT] source [destination]

  -i              Specifies binary image transfer mode (also called
                  octet). In binary image mode the file is moved
                  literally, byte by byte. Use this mode when
                  transferring binary files.
  host            Specifies the local or remote host.
  GET             Transfers the file destination on the remote host to
                  the file source on the local host.
  PUT             Transfers the file source on the local host to
                  the file destination on the remote host.
  source          Specifies the file to transfer.
  destination     Specifies where to transfer the file.


+_+_+_+_+_+_+_+_+_+_+_+


"J.B. Spence" wrote:

> The quickest way to use a Java application to get to an ftp site is to
> use the IBM Alphaworks ftp classes.
> They are free and you can distribute them as well.
> Go to http://www.alphaWorks.ibm.com/formula/TFTP
> and download the classes and doc.
> I used them and they work just fine, however there is no source
> available.
> IBM-er's on this site are very responsive and helpful!!
> John Spence
>
> ---Tarek Elzanaty <[EMAIL PROTECTED]> wrote:
> >
> > Hi Guys,
> >
> > I understand this is not the place to ask this question but ..
> >
> > If you want to use Socket class to ftp files. How do I specify the
> > Username and Password and eventually the Directory to go ?
> >
> > Thanks in advance
> >
> > Rgds
> > Tarek
> >
> >
> >
> > Binu Jose M J wrote:
> >
> > > Hi
> > > I'm learning sevlets with the help of documentaion at the Java
> site using Servletrunner which comes with the jsdk2.0
> > > I tried to run the servlets example(single threaded) which posts
> from an html form( which comes with the jsdk2.0 package ) .When i
> repeat the posting by pressing the submit button quickly in succession
> I get error message from the IE 4.0 browser "connection with the
> server was reset" .The problem does not occur when i try to post data
> from the form after some interval.
> > > Please help.
> > >
> > >
> ___________________________________________________________________________
> > > To unsubscribe, send email to [EMAIL PROTECTED] and include in
> the body
> > > of the message "signoff SERVLET-INTEREST".
> > >
> > > Archives:
> http://archives.java.sun.com/archives/servlet-interest.html
> > > Resources:
> http://java.sun.com/products/servlet/external-resources.html
> > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
> >
> ___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in
> the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources:
> http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
>
> _________________________________________________________
> DO YOU YAHOO!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to