Dec 09

Set the following system properties

  • ftp.proxyHost
  • ftp.proxyPort

java -Dftp.proxyHost=proxy.objects.com.au -Dftp.proxyPort=80 au.com.objects.MyApplication

To do the same programatically use the System classess setProperty() method

   System.setProperty("ftp.proxyHost", proxyHostname);
   System.setProperty("ftp.proxyPort", proxyPort);

written by objects \\ tags: , ,


Leave a Reply

You must be logged in to post a comment.