Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training  
 

File transfer from client to server

Ads

 
 

Share on Google+Share on Google+

raied
File transfer from client to server
1 Answer(s)      7 years 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.
Ads
View Answers

April 16, 2011 at 9:11 PM


hi


Ads









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
FTPClient : Server File transfer
In this tutorial, you will learn how to transfer file on the server by using FTPClient class
Advertisements
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
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 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
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
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
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
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
Delete a file from FTP Server
In this section you will learn how to delete file from FTP server using java
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 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
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
FTP Server : Download file
This tutorial contains description of file downloading from the FTP server using java
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
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
display multiple image file or pdf file in multiple column of a row from server or database
display multiple image file or pdf file in multiple column of a row from server or database  hello sir I have uploaded the file to the server and I want to display that file to the user page but I want to display that file
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
How to read a log file from server location and send a mail when exception occurs.
How to read a log file from server location and send a mail when exception occurs.  HI, How can i read the 2GB to 4GB log file from server. and i need to send a mail when exception occurs. Thanks Rajeev
How to import data from sql server table into an excel file by creating the rows dynamically in the excel according to the dataabase??
How to import data from sql server table into an excel file by creating... data from sql server table into an excel file by creating the rows dynamically in the excel according to the dataabase?? There is a table in sql server having
Export SQL database schema from SQL server management studion express2005 into MS excel file
Export SQL database schema from SQL server management studion express2005 into MS excel file  HI I need to export Database Schema from SQL Server.... but i need to have Excel file contains database schema. how can i do with SQL
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
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
jsp upload file to server
jsp upload file to server  How to create and upload file to server in JSP?   Find the given example that explains how to upload single and multiple file on server using JSP
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