Click here to Skip to main content
15,896,118 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Modifing values of list control.... Pin
Hamid_RT26-Jun-07 22:07
Hamid_RT26-Jun-07 22:07 
QuestionHelp to solve the problem of memory Pin
James_Programmer26-Jun-07 21:03
James_Programmer26-Jun-07 21:03 
AnswerRe: Help to solve the problem of memory Pin
Nibu babu thomas26-Jun-07 21:19
Nibu babu thomas26-Jun-07 21:19 
AnswerRe: Help to solve the problem of memory Pin
KarstenK26-Jun-07 21:24
mveKarstenK26-Jun-07 21:24 
Questionconcept of uploading... Pin
tasumisra26-Jun-07 20:56
tasumisra26-Jun-07 20:56 
AnswerRe: concept of uploading... Pin
_AnsHUMAN_ 26-Jun-07 21:50
_AnsHUMAN_ 26-Jun-07 21:50 
GeneralRe: concept of uploading... Pin
tasumisra26-Jun-07 22:04
tasumisra26-Jun-07 22:04 
AnswerRe: concept of uploading... Pin
Mark Salsbery27-Jun-07 6:07
Mark Salsbery27-Jun-07 6:07 
"Uploading" a file basically means sending a file from one place to another.

To do it programmatically, you can use an existing communication protocol or create your own
protocol.

HTTP and FTP are examples of existing protocols capable of transferring files. Both require
a server to connect to, so if you wanted to upload a file with FTP, you need to connect to an
FTP server and send the commands and data necessary (as defined by the protocol) to upload the
file.

To create your own protocl, think about what you may need -

1) A connection to get the data from one place to another (sockets work well)
2) Some kind of header, structure, or command that both ends understand so the sending end can
tell the receiving end the file name, the number of bytes to expect, etc. (whatever info you
decide is necessary - it's your protocol Smile | :) )

Once the endpoints have established what will be transferred, the sending side will read the file
and send the bytes. The receiving end could create a new file, receive the bytes, and write
those bytes to the new file.

Mark


"Go that way, really fast. If something gets in your way, turn."

GeneralRe: concept of uploading... Pin
tasumisra29-Jun-07 6:12
tasumisra29-Jun-07 6:12 
GeneralRe: concept of uploading... Pin
Mark Salsbery2-Jul-07 13:44
Mark Salsbery2-Jul-07 13:44 
AnswerRe: concept of uploading... Pin
Moak29-Jun-07 1:26
Moak29-Jun-07 1:26 
QuestionHow to close a user created message box without effecting the parent window Pin
msr_codeproject26-Jun-07 20:41
msr_codeproject26-Jun-07 20:41 
AnswerRe: How to close a user created message box without effecting the parent window Pin
Jhony george26-Jun-07 21:43
Jhony george26-Jun-07 21:43 
GeneralRe: How to close a user created message box without effecting the parent window Pin
msr_codeproject26-Jun-07 23:29
msr_codeproject26-Jun-07 23:29 
AnswerRe: How to close a user created message box without effecting the parent window Pin
prasad_som27-Jun-07 1:31
prasad_som27-Jun-07 1:31 
GeneralRe: How to close a user created message box without effecting the parent window Pin
msr_codeproject27-Jun-07 2:05
msr_codeproject27-Jun-07 2:05 
QuestionHow to forward delare CArray class ? Pin
VCSharp00726-Jun-07 20:21
VCSharp00726-Jun-07 20:21 
AnswerRe: How to forward delare CArray class ? Pin
CPallini26-Jun-07 20:50
mveCPallini26-Jun-07 20:50 
AnswerRe: How to forward delare CArray class ? Pin
Nibu babu thomas26-Jun-07 21:00
Nibu babu thomas26-Jun-07 21:00 
GeneralRe: How to forward delare CArray class ? Pin
VCSharp00726-Jun-07 22:31
VCSharp00726-Jun-07 22:31 
GeneralRe: How to forward delare CArray class ? Pin
Nibu babu thomas26-Jun-07 22:39
Nibu babu thomas26-Jun-07 22:39 
AnswerRe: How to forward delare CArray class ? Pin
KarstenK26-Jun-07 21:28
mveKarstenK26-Jun-07 21:28 
QuestionEnumerating Installed Apps with MSI Pin
Akin Ocal26-Jun-07 20:13
Akin Ocal26-Jun-07 20:13 
QuestionBSTR in C++ Pin
Axonn Echysttas26-Jun-07 19:45
Axonn Echysttas26-Jun-07 19:45 
AnswerRe: BSTR in C++ Pin
Nibu babu thomas26-Jun-07 20:10
Nibu babu thomas26-Jun-07 20:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.