Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners File transfer from client to server
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


raied
File transfer from client to server
1 Answer(s)      4 years and 5 months ago
Posted in : Java Beginners


hi,,

I've been trying to make an application where the user select a file using JFileChooser and then the program directly send it to the server using client/server sockets, I've tried many ways an non seems to work .So whats the proper way to do it ? using DataOutputStream or FileOutputStream ? An easy example maybe very helpful.

Advertisement
View Answers

April 16, 2011 at 9:11 PM


hi



Related Tutorials/Questions & Answers:
File transfer from client to server - Java Beginners
File transfer from client to server  hi,, I've been trying to make an application where the user select a file using JFileChooser and then the program directly send it to the server using client/server sockets, I've tried
Create text file at client's directory from server.
Create text file at client's directory from server.  Need java code to create text file at client's directory from server..... Please Help
Advertisements
FTPClient : Server File transfer
In this tutorial, you will learn how to transfer file on the server by using FTPClient class
File download from server to client machine - JSP-Servlet
File download from server to client machine  hi, I want to save a pdf file to my client machine from a button provoded in a jsp page.The file... the generated report in server as follow. exporter.exportIntoPdfFile("c://reports
Server calling of .exe file in the client
Server calling of .exe file in the client   I have a requirement with java webapplication. We are using jboss as appserver on Linux machine. How can I call a .exe file from client machine? I want to run .exe from webpage like
File transfer to teh server - Java Beginners
on client side,then i want to send the file to // the server to do...File transfer to teh server  hi,, I've been trying to make... and then send it to the server using client/server sockets, I've tried many ways and non
File transfer
File transfer  Hi there... I would like to know is it possible to transfer files from one directory to another with out file io operations
File Transfer
File Transfer  How to create a file in server side using java swing
What is FTP (File Transfer Protocol)?
FTP stands for File Transfer Protocol, which is basically a network protocol used to transfer files from one computer or host to another within a network... like mobile devices. FTP or File transfer protocol can be used for exchange
Secure file transfer protocol
Secure file transfer protocol  What is Secure file transfer protocol
Client Server Java app
Client Server Java app  I developed a client server based java networking Instant Messaging app. The client program is needed to be run on the client computer whereas the server program is on server computer. This works in my
Client-Server Architecture
an example of a file server to understand the core process of a client/server... Client-Server Architecture       Client-server architecture can be considered
server client comms
server client comms  i am trying to return frame through server client comms anyone can help me about that i want to return a class to client side but my class defined in server side
scp using file transfer - Security
scp using file transfer  scp(secure copy protocol) using to download a file from linux server to windows xp . using scp, username, password authentication
tcp client server communication
tcp client server communication  i am not been able to find the error...")) break; System.out.println("FROM CLIENT: " + clientSentence...; System.out.println("FROM SERVER: " + modifiedSentence); sentence
How to transfer a file in java using SSH & Telnet
How to transfer a file in java using SSH & Telnet  How to transfer a file in java using SSH & Telnet
how to convert php webpage to jpg file/take screenshot from client side
how to convert php webpage to jpg file/take screenshot from client side  how to convert php webpage to jpg file/take screenshot from client side
java client server program for playing video file(stored in folder in the same workspace) using swings
java client server program for playing video file(stored in folder in the same... a client server program to play a video file, when I run both client and server... class client extends JFrame { clientreceive cr; JPanel p; public void init
java client server program for playing video file(stored in folder in the same workspace) using swings
java client server program for playing video file(stored in folder in the same... a client server program to play a video file, when I run both client and server... class client extends JFrame { clientreceive cr; JPanel p; public void init
java client server program for playing video file(stored in folder in the same workspace) using swings
java client server program for playing video file(stored in folder in the same... a client server program to play a video file, when I run both client and server... class client extends JFrame { clientreceive cr; JPanel p; public void init
java client server program for playing video file(stored in folder in the same workspace) using swings
java client server program for playing video file(stored in folder in the same... a client server program to play a video file, when I run both client and server... class client extends JFrame { clientreceive cr; JPanel p; public void init
Delete a file from FTP Server
In this section you will learn how to delete file from FTP server using java
Remote file transfer in java using SSH & Telnet
Remote file transfer in java using SSH & Telnet  How to upload & download a file in java using SSH & Telnet
Client-Server Architecture
an example of a file server to understand the core process of a client/server... Client-Server Architecture       Client-server architecture can be considered
How to upload zip file from android to server programmatically?????
How to upload zip file from android to server programmatically?????  hi , I want to upload zip file from android phone sdcard to server programmatically. So any one do this task in past so please share your experience with me
how to connect client to server using Sockets
how to connect client to server using Sockets  how to connect client to server using Sockets
proxy server and client using java - Java Beginners
proxy server and client using java  how to write program in java for proxy server and client
Save file on Client Machine - Development process
Save file on Client Machine  Hi my application is running on main...://boserver:9090/AI where boserver is the name of server machine, now when a client from his machine try to save the file it gets saved in the serve machine i want
Problem to print from my properties file - Java Server Faces Questions
Problem to print from my properties file  Hi, I am a new user of this site. It is very interesting. So this is my problem: I have a jsp file where i try to print some messages from my properties file but when i execute
Multicast under UDP(client server application)
Multicast under UDP(client server application)   UDP is used...: In this project, you will write two classes RMulticastServer (called server in the following) and RMulticastClient (called client in the following) in Java
FTP Server : Download file
This tutorial contains description of file downloading from the FTP server using java
Advertisements
 

 

 

DMCA.com