I have been asked to write a standalone java program which should upload/download any given file to/from an AppServer using a given protocol(its upto the client i.e it can be http, https, ftp, sftp). I have to write a single java file with these protocol specific methods. Kindly suggest some code.
If it was supposed to be posted in the earlier thread then i will do take care these kind of things in my next post. Here i am looking for some help in coding perspective and also this should be a standalone program without any third party jars.