Passive mode in sun.net.ftp.FtpClient

Posted on 2003-03-19
Medium Priority
Last Modified: 2012-06-21
Is any knows which instance variable or method in sun.net.ftp.FtpClient used to control passive or active mode in transmission ?

Question by:leungpingkei
1 Comment

Accepted Solution

garypingkei earned 400 total points
ID: 8179727
No variable or method to control passive mode or not in sun.net.ftp.FtpClient.

Make your class become subclass of sun.net.ftp.FtpClient and use the protected method issueCommand("passive") to do this.


Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses
Course of the Month8 days, 10 hours left to enroll

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question