brijesh kadecha
2006-07-13 12:52:31 UTC
Hi,
My requirement is uploading/downloading files from different systems on different platforms. For uploading/downloading files from MVS server, we first need to pass some site parameters to the server (for normal ftp using Jakarta's commons.net API we use FTPClient.sendSiteCommand() for this purpose). I have following doubts.
1. How can we send site parameters in SFTP?
2. How can we set Binary mode/ASCII mode before file transfer in SFTP?
3. The SFTP example provided here runs on JVM1.4 but gives error on JVM 1.3 (NoMethodFoundError for method java.net.INetAddress.getByAddress().). What modifications are needed to run this example on JVM 1.4?
4. When I executed SFTP example on my system with out line System.exit() then application did not terminated even after quit/exit. I observed that there were 7 child threads still active so application did not terminated. Is it a bug?
Thanks & Regards
Brij
---------------------------------
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail Beta.
My requirement is uploading/downloading files from different systems on different platforms. For uploading/downloading files from MVS server, we first need to pass some site parameters to the server (for normal ftp using Jakarta's commons.net API we use FTPClient.sendSiteCommand() for this purpose). I have following doubts.
1. How can we send site parameters in SFTP?
2. How can we set Binary mode/ASCII mode before file transfer in SFTP?
3. The SFTP example provided here runs on JVM1.4 but gives error on JVM 1.3 (NoMethodFoundError for method java.net.INetAddress.getByAddress().). What modifications are needed to run this example on JVM 1.4?
4. When I executed SFTP example on my system with out line System.exit() then application did not terminated even after quit/exit. I observed that there were 7 child threads still active so application did not terminated. Is it a bug?
Thanks & Regards
Brij
---------------------------------
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail Beta.