• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to remove files

 
zb cong
Ranch Hand
Posts: 416
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello
i use "sun.net.ftp" package to read and save files hosted in a ftp server,now,i can "get" and "put" files to ftp server,but i can't find the "delete" method in the "FtpClient" client,if after i read a file,i want to delete it,how can i do?
thank you!
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I remember hearing that the sun.net.* packages are unsupported and should be avoided if possible.
Jakarta has reached 1.0.0 with their commons-net component... Maybe you could switch to that implementation of the FTP protocol client?
 
zb cong
Ranch Hand
Posts: 416
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes,i use the jakarta's package now
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!