Sometimes there are system restrictions that hinder you from completing something. For instance, I needed to upload a ~200Mb zip to my home directory and unzip it to some other disk device in one Unix machine.
Background This article demonstrates how to use native Unix sftp command in Java. The codes on this article essential invoke the command: [wp_ad_camp_1]
sftp -b batch_file.txt userid@remote-ftp-host:/home/userid/tmp/
Software Environment Windows 7 Professional SP1