Sitemap

Amicuk Programming Answers

Transfer a file thought a socket

-0001-11-30   Views:0

Advertisement

Hi, i am trying to transfer via web a file from the server to my PC, when i do a txt file transfer all goes allright, but when i try to transfer an other kind of file as a dll the files are diferent, i don't know why it happens this. How could i do t

Hi, i am trying to transfer via web a file from the server to my PC, when i do a txt file transfer all goes allright, but when i try to transfer an other kind of file as a dll the files are diferent, i don't know why it happens this. How could i do this?.

The replay answer
Advertisement
Rather wide field for errors. How about some code? My first question would be: Are you by any chance using Readers or Writers on the Streams on either end? They apply an extra character encoding to the data transferred.

Go to See the other 2 answers

Transfer a file thought a socket

Category:DefaultRelease time:-0001-11-30Views:130

Hi, i am trying to transfer via web a file from the server to my PC, when i do a txt file transfer all goes allright, but when i try to transfer an other kind of file as a dll the files are diferent, i don't know why it happens this. How could i do t[More]

How to transfer a binary file through the socket?

Category:DefaultRelease time:-0001-11-30Views:130

hi, i have a problem when I want to transfer a binary file through the socket. On the server side we write a program with C. On the client side with use java. The socket worked fine when we transfer some asci files. But failed when transfer the binar[More]

Sending a File Using DataGram Sockets

Category:DefaultRelease time:-0001-11-30Views:130

I writting one java program that can be used to transfer a file from one computer to another computer. I wrote using Sockets. But i want to do that using DatagramSockets. Can we send a file using DataGramSockets? Please reply soon.You can use DataGra[More]

Problems sending files throught TCP sockets

Category:DefaultRelease time:-0001-11-30Views:130

I would like to transfer a file throught a tcp socket, here there is what the sender program does : try{      File localFile = new File("shared/"+fileName);      DataOutputStream oos = new DataOutputStream(socket.getOutputStream());           Da[More]

Problem trying to transfer multiple file over a network or the internet

Category:DefaultRelease time:-0001-11-30Views:130

Hello I'm trying to make a file transfer program to transfer file over the internet or a network. I've been able to successfully transfer one file but when I try to send multiple files I keep getting a EOFException after the client trys to send the f[More]

Can't transfer large files with remote connection

Category:DefaultRelease time:-0001-11-30Views:130

Hi all, I'm trying to figure out why we can't transfer large files (< 20MB) over a remote connection. The remote machine is a G5 running 10.4.11, the files reside on a Mac OS X SATA RAID. We are logged into the remote machine via afp with an administ[More]

Can't transfer shared files

Category:DefaultRelease time:-0001-11-30Views:130

I have an Ethernet network that I have used for many years with 2 Macs - the latest being two iMacs (1 x Intel running Snow Leopard (10.6.8) and 1 x PPC running Tiger (10.4.11).  I have never had any (unsolvable) problems transferring  files over the[More]

File reading through Sockets???

Category:DefaultRelease time:-0001-11-30Views:130

Hello, My application has a server and it has to read a file that is sent by the client.. how can the server read a file sent by the client through sockets????? Edited by: s_coder on Feb 19, 2009 11:20 PMs_coder wrote: Yes i read it but there input i[More]

Transfer a file in Java

Category:DefaultRelease time:-0001-11-30Views:130

Hi My requirement is to write a code where I can transfer a file from client machine (when he selects browse button and ok) to server (where application is hosted). In other words, I have to get a file from client. Now, I dont' have to first read con[More]

Unable to transfer large files from MB to External HDs

Category:DefaultRelease time:2015-10-11Views:130

Hi, This may be an unusual one. My 1st edition Macbook won't let me transfer large files to my external hard-drives, either by USB, Ethernet or wirelessly through my home wi-fi network. I've started video editing so I'm importing DVcam tapes through[More]

How do I make space on my MBP and transfer old files to External Hard Drive?

Category:DefaultRelease time:2015-10-11Views:130

I recently ran out of the 250 GB space on my 2010 Macbook Pro, so I bought a non-apple external hard drive. I plugged it in and Time Machine automatically popped up. I just wanted to know what the correct way to transfer all my old files that I'm not[More]

Hot
I ost my iPod and did not set up an iCoud account on it . I was wondering if I can set it up on a different device and then have it found ?If you mean you did not have your iPod associated with your iCloud Apple ID then there is no way to locate it u [More]
I recently bought a new windows computer.  I downloaded itunes on my new computer.  When I went to sync it only allowed my to sync purchased music.  Problem is I have about 200 CD's of mine that I downloaded to the itouch on the previous PC.  How do [More]
When downloading itunes to my laptop computer, using Windows 8.1 my email/network account will not work on that computer.  It is fine on other devices such as ipad and Windows phone.  I can also pick up emails on online on the same laptop.  There app [More]
Hi All, Below is the client requirement *They want to access an infotype "pa9016" in portal* In order to do is I have created a SAP Transactional iview and selected the system and in the Tcode area I have given the infotype name "pa9016&quo [More]
Hi, I would like to set a condition for a report template by the column header content. I have tried the following statement: instr(#COLUMN_HEADER#, 'TITLE')>0 and I have got the error message: "ORA-06550: PLS-00103: Encountered the symbol "# [More]
I created a Slideshow with vacation photos, etc. on my basic mini with DVD read/CD read-write capabilities. From what I can get from Photo Help, I can burn pictures to a CD and I can burn songs to a CD but I cannot burn a Slideshow to a CD to send to [More]
i have problem with date format in developer 10g and developer 6i it show date in this format 2011/25/1 it sould be like this 25/1/2011 how i can reslove this in xp it work fineAre you generating Forms and Reports from Oracle Designer, or using Oracl [More]
Hi, I got a simple GUI program like the following: import javax.swing.*; import java.awt.*; import java.awt.event.*; public class GUI extends JFrame implements ActionListener private JLabel oneLabel; private JButton hitButton; public GUI() Container [More]
Hi, I'm workin on a prototyp based on the netweaver developer studio preview. after i've steped to the several tutorial for webservices und webdynpro. I've implemented a ejb/webservice combination for selecting a insurance contract from our databases [More]
Hi, Can we directly implement the recommendations provided by Oracle EM's SQL Tuning advisor *(10g)* as it's for long running queries or we have to do any extra steps? I hope we have to compare the SQL Execution plan for the existing query and the re [More]