43 Topics
|
|
|
Hi all, I searched this topic and found a couple of posts but I couldn't find what I am looking for. Here's the problem - I am trying to send an image to a client (browser in this case) over a socket. After the image is received I am trying … |
You know those older machines that have IDE and you bought A SATA drive and having a hard time doing well this might help you 1.Look on the board for a little word called SATA (small print) and it has a light usually 2.You'll see a little plugin right above … |
|
Need to find code for one way folder sync. I deliver a flash drive to users with an html front-end, leading them to the pdf file they need. I am creating a web site for the user to go to, click on a button and have them down load updated … |
|
Hi, My webserver code is trying to send an image file over a TCP connection. However, the send() function is returning a -1 value with the error: Connection Reset by peer. I am using a web-browser to access the server so my guess is that the server is somehow sending … |
|
HI, I want to transfer a text file from local machine to linux server using ftp in Visual Basic 6.0. Can you please share your thoughts on how to acheive this? |
|
Hi all My code for the server side : [CODE] Dim bmp As New Bitmap(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height, Imaging.PixelFormat.Format24bppRgb) Dim gfx As Graphics = Graphics.FromImage(bmp) gfx.CopyFromScreen(0, 0, 0, 0, My.Computer.Screen.Bounds.Size, CopyPixelOperation.SourceCopy) Winsock1.SendData(bmp)[/CODE] And for the client side in the DataArrival event : [CODE] On Error Resume Next Dim img As Image Winsock1.GetData(img) … |
|
Suppose I have two laptops connecting to the same router. If I want to transfer file btw them, how can I do it ? tks b4hand. |
|
Hello everyone, I'm having trouble with a code I need to write, I have never coded in C and I need to do this program in C. I have created my checksum code already and need to implement this: I need to send a complete ASCII file in 128 byte … |
|
Hi All, This is the first time I'm working with FTP functions in PHP. I have to create a link to send a [B].sql[/B] file to another server using its' FTP logins. I used ftp_put() function in the following way [CODE]ftp_put($connection, $file_name_1, $file_name_2, FTP_ASCII);[/CODE] It works perfectly in my [B]localhost[/B]. … |
|
Hello, I am currently trying to create a server/client file transfer system in which the server sends the client .mp3 files. The file transfers fine but when I go to play the file, it is all scratchy and skips and I think it has something to do with the bytes … |
|
Hi, I am using CArchive class to transfer file in my chat application . The problem is that when i send data through CArchive write and flush, the CArchive Read gets hang in last transmission. I've gone through msdn [URL="http://support.microsoft.com/kb/192704"]http://support.microsoft.com/kb/192704[/URL]. it is telling that it requires one more flush or … |
|
Hello, I have to take a snapshot of my screen and send the image to a client using Datagrams. I think my problem is at the client part. The image is null, and I don't know why. Here is the server part. I tried to send 534 byte packets (bigger … |
|
Hi, I first convert the image on the server application in bytes: [code] //server public void sendImage(File file) throws IOException { ByteArrayOutputStream baos=new ByteArrayOutputStream(1000); BufferedImage img=ImageIO.read(new File(file.getAbsolutePath())); ImageIO.write(img, "jpg", baos); baos.flush(); os.write(baos.toByteArray());// this is a "new DataOutputStream(clientSocket.getOutputStream());" System.out.println("Done! Length is:"+baos.toByteArray().length); baos.close(); } [/code] Then my application freezes when trying to … |
The End.