TCP/IP connection, to copy a file

J

Jason

I've got twp PC's that are connected via xover cable.

I want to get a file from one pc, and put a copy of it on the other. How
can I accomplish this? I assume it would be done over a TCP/IP connection.

Anyone have any ideas, or examples of how to do that.
 
B

Bela Istok

Why do you post this to Csharp newsgroup, this is a post for windows one.

Regards,

Bela Istok
 
H

hjgvhv uhhgvjuhv

Bela said:
Why do you post this to Csharp newsgroup, this is a post for windows one.

Does you mean that you could not transfer files under *nix with csharp ??

The group name is microsoft.piublic......., so it is a windows group.
 
B

Bela Istok

You can do this with C#, the problem is that the question is better for a
windows Newsgroup ;) (because is a windows general question, not a
programing question)

Regards,

Bela Istok
 
J

Jason

Maybe I should have rephrased that question.
Yes, I know you can \\pcname\c$ get into a pc through the administrative
share, or create a shared, but I'm not looking for that.

I meant if you had a file on a remote PC that you wanted to copy onto the PC
your currently on, could you do it, via a TCP/IP socket connection?

Thanks
 
P

Peter Duniho

Jason said:
Maybe I should have rephrased that question.
Yes, I know you can \\pcname\c$ get into a pc through the administrative
share, or create a shared, but I'm not looking for that.

I meant if you had a file on a remote PC that you wanted to copy onto the
PC your currently on, could you do it, via a TCP/IP socket connection?

Of course you can. How do you think files get downloaded by your web
browser or other program?

Still, this question has nothing to do with C#. It's a general procedural
question, and while it should be obvious that what you want to do is
*possible*, you are a long way from having a real understanding of *how* to
do it (which presumably would be your next question). I readily admit, few
people adhere to restricting this newsgroup only to questions about the C#
language, but I would agree that asking about downloading a file over TCP/IP
is a bit far afield from the usual discussion here.

In other words, you may have better luck asking your question elsewhere, in
a newsgroup more specifically related to the use of sockets, TCP/IP and/or
file transfers.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top