File transfer

  • Thread starter Thread starter Johnny Jörgensen
  • Start date Start date
J

Johnny Jörgensen

Has anybody got a link to an example of how you transfer files between two
computers over the internet (P2P style)?

I have no idea where to start and all example I can find seems to be done in
C++.

TIA,
Johnny J.
 
Has anybody got a link to an example of how you transfer files between two
computers over the internet (P2P style)?

I have no idea where to start and all example I can find seems to be done in
C++.

TIA,
Johnny J.

That's usually done by choosing a protocol like TCP or UDP and using
NetworkStream object to get stream and write a stream. No sample codes
here, sorry.

Thanks,

Onur Güzel
 
That's usually done by choosing a protocol like TCP or UDP and using
NetworkStream object to get stream and write a stream. No sample codes
here, sorry.

Thanks,

Onur Güzel

And of course these are located under System.Net and
System.Net.Sockets.

Thanks,

Onur Güzel
 
I have tried googling for it as I mentioned.

There's no need for the sarcasm. If it's beneath you to answer such a
"simple" question, just don't bother...

Nevertheless, I thank you for the link if not the attitude.

/Johnny J.
 
I'm simply asking a reasonable question based on your statement that you
weren't able to find any examples other than C++.

Call it sarcasm or whatever you want, but I believe that not only did I
answer your question, but I'm guessing you might try Google in the future?

-Scott
 
Back
Top