I want to write a notepad file and upload it to a WinSCP path.
I used to create those files manually: Open the WinSCP, give the credentials, open the desired path and upload the file.
Now I am in a situation to automate those things. Text will be entered in a text box or fetched from DB, it has to be written in a notepad file and should be uploaded to a WinSCP path. I have implemented writing the file and it is working fine.
Now, how do I upload the file using Java?