I have a requirement of uploading/downloading a file to/from server in my
java application. Currently I am using Jakarta's commons.net.ftp APIs for it. Now the requirement is that this data transfer should be secured. So this FTP protocol should be replaced by either FTPS or SFTP.
My question is -
1. FTPS is nothing but FTP over secured socket layer. So if server is changed to support FTPS then do I need to change my client API also or there is no need to change my client API which use commons.net.ftp API.
2. If I need to change client API also then which API I can use for FTPS and which API I can use for SFTP. I found some APIs(Secure FTP factory from JScape, edtFTPj/PRO from enterprisedt etc) but they all are not free.
Plz guide me how should I proceed.