473,406 Members | 2,217 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,406 software developers and data experts.

TCP/IP connection, to copy a file

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.
Nov 20 '06 #1
5 2718
Why do you post this to Csharp newsgroup, this is a post for windows one.

Regards,

Bela Istok
"Jason" <so*****@microsoft.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
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.

Nov 20 '06 #2
Bela Istok wrote:
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.
Regards,

Bela Istok
"Jason" <so*****@microsoft.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>>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.


Nov 21 '06 #3
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
"hjgvhv uhhgvjuhv" <as**@asdf.comwrote in message
news:eq**************@TK2MSFTNGP02.phx.gbl...
Bela Istok wrote:
>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.
>Regards,

Bela Istok
"Jason" <so*****@microsoft.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>>>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.

Nov 21 '06 #4
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

"Bela Istok" <be****@hotmail.comwrote in message
news:ul**************@TK2MSFTNGP06.phx.gbl...
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
"hjgvhv uhhgvjuhv" <as**@asdf.comwrote in message
news:eq**************@TK2MSFTNGP02.phx.gbl...
>Bela Istok wrote:
>>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.
>>Regards,

Bela Istok
"Jason" <so*****@microsoft.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl.. .

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.

Nov 21 '06 #5
"Jason" <so*****@microsoft.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
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
Nov 21 '06 #6

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

Similar topics

2
by: Paul | last post by:
Dear All, I want to use web form to upload my file and copy the file to another machine. I can upload the file, but when I copy the file(file.CopyTo(".....", true)) to another machine(map...
0
by: Grey | last post by:
I have a ASP.NET web application which is required to copy file from windows server to Novell Netware server. I have used impersonation to connect to Netware server. The application works fine when...
9
by: MAF | last post by:
Does anyone know why in 2005 I might be getting this error everytime I try and recompile? Error 226 Unable to copy file "obj\Debug\myfile.dll" to "bin\Debug\myfile.dll". The process cannot...
3
by: MAF | last post by:
Does anyone know why in 2005 I might be getting this error everytime I try and recompile? Error 226 Unable to copy file "obj\Debug\myfile.dll" to "bin\Debug\myfile.dll". The process cannot...
5
by: Standist | last post by:
I want install software on PC in my local network. First I want copy file to the PC through default share like c$ or d$ on the PC. Then install the software through wmi. I have the administrator...
0
by: Pivalig | last post by:
Hello, i try to copy file from Pocket PC to network printer using this code : destination = "\\\\pc1\\ep1000\\Bill.txt"; File.Copy("\\Program Files\\MobileKhelner\\Bill.txt", destination); ...
9
rizwan6feb
by: rizwan6feb | last post by:
Hello everybody. I need help on how to use copy function to copy file from one computer to another ( or any other way i can copy the file). The computers are on a local network.
1
by: Irrigho5 | last post by:
i have the open file function just need help with the copy file function and main Ask for a source filename and a target filename. Then copy the source file to the target file using the...
2
by: foss | last post by:
hi all, I am not able to copy file from a directory in the server to another directory. Here, the source is outside the web root directory and the destination is inside the web root directory. ...
1
by: rajibdotnet | last post by:
Till Date, I find no solution to the problem below. Unable to copy file "obj\Debug\Tax2010.dll" to "bin\Tax2010.dll". The process cannot access the file 'bin\Tax2010.dll' because it is being used...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.