|
-
Apr 12th, 2004, 06:43 AM
#1
Thread Starter
Addicted Member
Best method to send image across network
Hi,
I am just evaluating a few methods on how to most efficiently send a image (in this case a jpeg) across a network.
The purpose is to store employee images in a shared network folder and retrieve them when required.
I have decided against storing the image, even as a byte stream in the SQL Server db.
I have looked at:
1. Reading local copy the jpeg as a binary file Binary Read/Get and sending the byte stream to the server object which then writes the byte stream using Binary Write/Put to the shared folder. To retrieve the jpeg file is read and sent as a byte stream to the client and loaded into the image control using API's.
2. File copy and Load Picture using UNC's
Most of the jpegs are pretty small - around 6kb
Just hoping to get some feedback from those who have implemented this in their app about which is the better approach.
Jack
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|