jmace Posted January 24, 2012 Share Posted January 24, 2012 Well, I've been learning Java and I managed to create an FTP client that uploads and downloads files from a server. Oddly, the thing I can't figure out is how to do an FTP delete. Can anyone help me on that? I don't want to use an API or someone else's class, such as the ever-so-popular ftpClient class. (How would I learn from that?) I've tried looking through some existing API's for hints, but their too complicated for me to figure out. You have to go from function to function in tons of files and I still don't get it. Any help or suggestions would be great! Thanks everyone. Quote Link to comment https://forums.phpfreaks.com/topic/255636-java-ftp-delete/ Share on other sites More sharing options...
trq Posted January 24, 2012 Share Posted January 24, 2012 Have you looked at the FTP spec? It will tell you in very low level terms what requests can be performed. http://www.ietf.org/rfc/rfc959.txt Quote Link to comment https://forums.phpfreaks.com/topic/255636-java-ftp-delete/#findComment-1310585 Share on other sites More sharing options...
jmace Posted January 24, 2012 Author Share Posted January 24, 2012 Thanks for the response. I probably should have been more clear-- I knew what request I needed to send, I just didn't know how. I actually figured it out, though, and now it's working. Quote Link to comment https://forums.phpfreaks.com/topic/255636-java-ftp-delete/#findComment-1310763 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.