File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Question on ftp. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Question on ftp." Watch "Question on ftp." New topic

Question on ftp.

Srinivasa Raghavan
Ranch Hand

Joined: Sep 28, 2004
Posts: 1228
Hi all,
I want to delete a file from a FTP site.
Can i find any sample code on the NET ar some where for this..
I'm able to create or read a file through I/O package ( inputStreams / outputstreams ) but how to delete a file ?

Thanks & regards, Srini
MCP, SCJP-1.4, NCFM (Financial Markets), Oracle 9i - SQL ( 1Z0-007 ), ITIL Certified
Pradyut Bhattacharya
Ranch Hand

Joined: Aug 12, 2004
Posts: 63
could u pls show the coding for ur program as there may be needed importing some security package. r u writing the program for a applet or a application.

I agree. Here's the link:
subject: Question on ftp.
It's not a secret anymore!