Am trying to connect FTP connection via command prompt. For that I execute multiple command prompt commands in a single run using Java. I need to pull records using FTP. Here I show my command prompt commands Step by step.
cmd commands:
- cd Desktop
- FTP 128.100.100.1
- user id
- pswd
- QUOTE SITE FILETYPE=JES
- PUT test10.txt(filename)
These are the 6 commands I want to execute one by one in the same order, I tried but I cant achieve this, so I hope anyone can suggest some idea to run this code
Thanks.