i want to create java application in which javaclass looks at the value of the ftpProtocol attribute and if it says ftp then the file will be transferred via FTP instead of SFTP.
1) Write code in Java using standard FTP classes provided with JDK 1.5.
2) See if the suppliers of pscp.exe have a similar tool for normal FTP and use that.
Possibly use of http://www.ncftp.com/ncftp/doc/ncftpput.html which appears to allow transfer using command line only without needing to create control files.
Can you please advise me easiest possible solution??
or if you have any idea about this type of java application please help me.