I had to automate a manual work of creating file and uploading it to server via Winscp.
I have done that part and its working well and good. But I will have to host it as a web application.
When I run from local my file path is static so file gets uploaded properly.
But now Many ppl will have to use this. So they ll have to upload the file from their machine. That uplaoded file has to be stored in my machine(where i have hosted this tool-tomcat) once the file is uploaded and is palced in a path specified automatically the file should be picked up and SFTP has to be done.
How can I do this ?
PS : SFTP via java I have done. Its working fine. How to upload a file and pick it up automatically for SFTP transfer using JAVA SERVLET JSP .