The Artima Developer Community
Sponsored Link

Java Answers Forum
FTP question

1 reply on 1 page. Most recent reply: May 20, 2002 3:11 PM by Thomas SMETS

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Marco

Posts: 1
Nickname: zzmarco81
Registered: May, 2002

FTP question Posted: May 17, 2002 3:14 AM
Reply to this message Reply
Advertisement
How can I download a file from a remote machine to a local one using Java with an FTP connection?I don't know any method that do it.


Thomas SMETS

Posts: 307
Nickname: tsmets
Registered: Apr, 2002

Re: FTP question Posted: May 20, 2002 3:11 PM
Reply to this message Reply
There is globally two approaches :
1?. You open a socket your self & gimmic the FTP chat between the C & S.
2?. You implement a Network class the class loader will automatically load when the URL will be called. In more length, you will see that the URL class loader will take the right class when seing the URL loaded uses the ftp protocole (it will do exactly the same when attempting to use any other protocole for which no default implementation has been provided).

Rgds,

Thomas SMETS,
SCJP2 - Brussels

Flat View: This topic has 1 reply on 1 page
Topic: How to get thing from set Previous Topic   Next Topic Topic: jdbc.odbc.jdbcodbc error

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use