Click here to Skip to main content
16,022,413 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please help any one
How we can run a program or send a file or both to remote computer from server computer(Different program for every client computer at a time) without using remote desktop manager. but preview of all client on server is necessary.

Antaru
Posted

1 solution

You don't need Desktop Manager for this purpose.

"Send file" sounds like running FTP server on your remote computer. Setup the FTP server on remote computer.

There are a lot of code samples showing how to act as an FTP client. First of all, make a search on CodeProject: FTOCient C# — will find you more than enough; Google the the same thing. Better yet, see Microsoft help on the class System.Net.FtpWebRequest: http://msdn.microsoft.com/en-us/library/system.net.ftpwebrequest.aspx[^] and supplied simple and clear code samples.

Another opportunity would possibly work for you if you have a HTTP server running on your remote computer, then you could use HTTP upload. To do this, you need to create at least one upload page in the server side. If you need security, you would need HTTPS instead of HTTP (http://en.wikipedia.org/wiki/HTTPS[^]).

If you can have FTP server and not very concerned about security, it's a much better and easier option.

For overview on the secure variants of FTP, you may want to read this: http://en.wikipedia.org/wiki/SFTP[^], http://en.wikipedia.org/wiki/FTPS[^], for starters.

—SA
 
Share this answer
 
v4
Comments
Antaru 19-Feb-11 22:51pm    
Thanks you again
Sergey Alexandrovich Kryukov 19-Feb-11 23:30pm    
You're very welcome, hoping it works for you.
Thank you for accepting my Answer.
May I ask you what are you working at? can it be something like alternative to Remote Desktop?
--SA
Antaru 20-Feb-11 8:17am    
Yes. i am a beginner in programming working with vertex softech pvt. ltd. bilaspur, chhattisgarh, india. i am developing a software for ThinClient network. our customer want to handle all client from server. he want to play video, display a instant msg without touching client. so i was search for this type of solution thanks again to you.
Amit Tiwari
Antaru 20-Feb-11 8:19am    
My English poor so please don't mind if you got any mistakes.
Amit Tiwari
Sergey Alexandrovich Kryukov 20-Feb-11 14:35pm    
Four changes fixed your sentence above :-).

Please pay attention for capitalization, especially words like "I", "India" or "English" as this is a matter of politeness and respect.

Thanks for trying. This is not my native language also, so I can understand. Your writing is good enough to be understood (while many questions of some other Inquirers are not understandable at all). Just doing spell check and being careful is often enough.

Careless writing, that's something hard to tolerate. Wrong spelling, no punctuation, no capitalization (or, worse, all-capital), "text speak", all careless and rush stuff is impolite, plain rude.

So, thanks for your consideration and trying the best; language will improve with experience.
In everyday light, do you write using Devanagari-based scripting, or something? Just curious...

--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900