The Artima Developer Community
Sponsored Link

Java Answers Forum
File transfer

4 replies on 1 page. Most recent reply: Nov 20, 2003 8:44 PM by sdinesh79

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 4 replies on 1 page
steps

Posts: 14
Nickname: spanishste
Registered: Nov, 2003

File transfer Posted: Nov 20, 2003 4:18 AM
Reply to this message Reply
Advertisement
Hello everybody,

I would like to transfer files between computers in the network.I've already an interface and i would like to incorporate in it.say, if i've a button and when i press this one, a dialog box appears where we can choose the files(like and the one which we see in e-mail attachements)and then press one more button to send the files.OK, before that the user would get connected to the server through the ip-address and the port.As of now, I'm able to communicate between the client and the sever(through sockets).so, for file transfer, i guess i need to write an ftp server and how abt the initial dialog box to select the files and so on.Is there any other efficient way of doing this one???
ALl your ideas are welcome:)
Thanks for your time.


s

Posts: 23
Nickname: codemonkey
Registered: Nov, 2003

Re: File transfer Posted: Nov 20, 2003 7:06 AM
Reply to this message Reply
Im not sure i understand everything you are saying here,
but from what i did understand it sounds like you need to
look at the apidocs for JFileChooser.Could you explain a
little more ... So you have already written the network
part of this and you are just trying to build the gui?

steps

Posts: 14
Nickname: spanishste
Registered: Nov, 2003

Re: File transfer Posted: Nov 20, 2003 2:05 PM
Reply to this message Reply
I've a GUI and i've some basic idea with sockets and am successful in communicating between the server and the client.Now, I would like to implement the file transfer in this GUI.
How shld i proceed with this,did i express it clearly?
Thanks once again

rahul14june

Posts: 1
Nickname: rahulg
Registered: Nov, 2003

Re: File transfer Posted: Nov 20, 2003 8:41 PM
Reply to this message Reply
will the <input type ="file">
be help full in ur case..?

sdinesh79

Posts: 7
Nickname: sdinesh79
Registered: Sep, 2003

Re: File transfer Posted: Nov 20, 2003 8:44 PM
Reply to this message Reply
Its simple once u download the ftp api.Its available for free.Then u can use the classes in it.

Flat View: This topic has 4 replies on 1 page
Topic: Mysql access denied problem. Previous Topic   Next Topic Topic: Java scrolling problem (JScrollPane)

Sponsored Links



Google
  Web Artima.com   

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