473,320 Members | 1,988 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

SendFIle but no ReceiveFile?

hi, using sockets, how can i receive a file? i see a SendFile method, but no
receivefile? ive done simple text sending and bytes, but that requires
knowing an array size...so how can i receive a file sent by sendfile? thanks
--
-iwdu15
Nov 16 '06 #1
0 951

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: lkr | last post by:
hi i got one file transfer program using serialization which has a limitation that i can send only 8192 bytes(8KB). i want to send more than that wht can i do. how can i divide the file into...
1
by: kmacintyre | last post by:
I am trying to us a simple NetworkStream to transfer a file over tcp. This works most of the time, but one specific file never downloads(.mdb file). It seems to close the socket and I get an...
1
by: djc | last post by:
the system.net.sockets.socket class has the 'sendfile' method. What do you do on the other end to 'receive' the file? I know the regular socket.receive will receive the data into a buffer (a byte...
0
by: Simon Says | last post by:
Hi all, Can anyone advice on how to use the SendFile function? If I have a connection-oriented socket, I'll do a sck.SendFile("C:\test.txt") to send out the file, but what should I do on...
1
by: Aerodyne | last post by:
Hi all, I'm using .NET 2.0 but unfortunately there's a windows service that needs to be implemented in .NET 1.1 ... so I need to send a file to a server, what's the similar method of doing so...
2
by: Bonzol | last post by:
vb.net 2003 Windows application We have a Client/Server system set up by communicating through a TCPClient object. The server loops continuously using a tcplistener device and each time a client...
0
by: iwdu15 | last post by:
hi, ive done work with sockets and such before, so its nothing new. thought id try the Socket.SendFile() method instead of the manual way. however, there is no Socket.ReceiveFile() method. How do...
0
by: Matt | last post by:
Hi all, Probably a silly mistake, but I seem to be losing 24 bytes every time I attempt to send a file using Socket.SendFile(). Here is my code: Here is the server method: void...
8
by: manontheedge | last post by:
I've been trying to parse data on a web page in C, but after a several hours of searching the internet for help with writing this code I'm still lost. Can anyone give me any tips, code, or any...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.