I am new to using HTTP Client library. I understood how to upload a file in specified location using Apache commons file- upload ,but i was unable to understand how to upload directories using Apache commons file upload . For ex: You see the directory contains some files in it as well as other directories. Basically this directory also has sub-directories and files.
That library is for submitting HTTP forms which include file inputs. HTTP forms have no provision for uploading directories, only files. If you want to upload a whole directory, you could put the directory into a jar file, then upload the jar file.