Code to delete an FTP file: HELP!...

Discussion in 'Java' started by Biuri, Jul 22, 2003.

  1. Biuri

    Biuri Guest

    Hi there!I am able to read and to write an ftp file...but not to delete it!...
    I think it should be done by URLConnection and OutputStream...

    Thank you very much for the help! ;-)
    Biuri, Jul 22, 2003
    #1
    1. Advertising

  2. (Biuri) writes:

    > Hi there!I am able to read and to write an ftp file...but not to
    > delete it!... I think it should be done by URLConnection and
    > OutputStream...


    Why do you think that? The FTP protocol is different from HTTP, but
    Java supports the standard limited FTP usage (retrieval) for URLs.

    To do a delete you need a "real" FTP connection - try searching for
    some of the many Java implementations out there.
    Tor Iver Wilhelmsen, Jul 22, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Biuri
    Replies:
    0
    Views:
    417
    Biuri
    Jul 21, 2003
  2. Scott Yanoff

    Re: How to delete an FTP file?

    Scott Yanoff, Jul 22, 2003, in forum: Java
    Replies:
    1
    Views:
    427
    Biuri
    Jul 23, 2003
  3. Drew
    Replies:
    1
    Views:
    646
  4. Jeff Miller
    Replies:
    0
    Views:
    495
    Jeff Miller
    Mar 26, 2009
  5. D. Buck
    Replies:
    2
    Views:
    482
    D. Buck
    Jun 29, 2004
Loading...

Share This Page