This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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

Win a copy of Java 8 in Action this week in the Java 8 forum!
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.
Similar Threads
delete using ftp protocol
question about sun's ftp package
how to read/write/delete ftp files?
why cannot delete file
delete file from ftp server