I dont know if you're looking for something like this
String myURL = "ftp://yourname:[EMAIL PROTECTED]/file.txt";
URL url = new URL(myURL);
URLConnection myURLCon = url.openConnection();
BufferedReader in = new BufferedReader(new
InputStreamReader(myURLCon.getInputStream()));

I am battling to set the ftp mode to PASV(passive). Does anyone know
how to do this? My thinking was in the line of passing some parameters
to setRequestProperty() method of URLConnection, would anyone know the
parameters to pass here to set the mode to "PASSIVE"?

Vusa

On 8/11/06, Warick Segage <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> Can anyone help me here,
> 1: I wanna know which package to import when doing FTP in Java
> 2: What Threads with subtreads calls classholder?
> 3: When do we use streaming protocol?
>
> Thanks in advance
> Warick
>
> _________________________________________________________________
> Get the ultimate real-time chat experience - Windows Live Messenger!
> http://messenger.live.com
>
>
> >
>


-- 
"In times of change, learners inherit the earth, whilst the learned find
themselves beautifully equipped to deal with a world that no longer exists."

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CTJUG Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/CTJUG-Forum
For the ctjug home page see http://www.ctjug.org.za
-~----------~----~----~----~------~----~------~--~---

Reply via email to