Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > auto updating an application dlls in web
 

auto updating an application dlls in web

I'm looking for a way for copying a VS application files via HTTP and TCP? I mean i have published my application and now i am trying to find something like ClickOnce application that copies my updated files from my website to the clients' centers through HTTP and then locally to end users through FTP. I need to a source code or something like that. thanks.
navid.hedayatnia  Friday, September 25, 2009 8:56 PM

Hi navid.hedayatnia,

To download a file from a web site, we can call some download methods of the WebClient class. You can get more about WebClient from:
http://msdn.microsoft.com/en-us/library/system.net.webclient.aspx
You can get more sample from:
http://www.example-code.com/csharp/http.asp

To program a ftp client, we can call some methods of the FtpWebRequest class.
You can get more about FtpWebRequest from:
http://msdn.microsoft.com/en-us/library/system.net.ftpwebrequest.aspx
This is a sample:
http://msdn.microsoft.com/en-us/library/b7810t5c.aspx
You can get more samples from:
http://www.example-code.com/csharp/ftp.asp

To program TCP/IP, you can follow the sample project below:
http://www.codeproject.com/KB/IP/TCPIPChat.aspx
You can get the detail instruction about TCP/IP from:
http://msdn.microsoft.com/en-us/library/ms810606.aspx

Let me know if this helps or not.
Aland Li


Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Monday, September 28, 2009 7:01 AM

Hi navid.hedayatnia,

To download a file from a web site, we can call some download methods of the WebClient class. You can get more about WebClient from:
http://msdn.microsoft.com/en-us/library/system.net.webclient.aspx
You can get more sample from:
http://www.example-code.com/csharp/http.asp

To program a ftp client, we can call some methods of the FtpWebRequest class.
You can get more about FtpWebRequest from:
http://msdn.microsoft.com/en-us/library/system.net.ftpwebrequest.aspx
This is a sample:
http://msdn.microsoft.com/en-us/library/b7810t5c.aspx
You can get more samples from:
http://www.example-code.com/csharp/ftp.asp

To program TCP/IP, you can follow the sample project below:
http://www.codeproject.com/KB/IP/TCPIPChat.aspx
You can get the detail instruction about TCP/IP from:
http://msdn.microsoft.com/en-us/library/ms810606.aspx

Let me know if this helps or not.
Aland Li


Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Monday, September 28, 2009 7:01 AM

You can use google to search for other answers

Custom Search

More Threads

• Problem in Deploying .NET assembly into Server !
• ClickOnce UNC file share path has changed
• VS uninstall does not remove shortcut.
• I am having trouble running a VB.Net application on a client computer which is the only one that has Winnt as system root...
• Publishing with Visual Studio 2008 Express gives errors when I publish with prerequisites from install location
• Installer class
• CAB/ActiveX/MSI/Update: File location
• Simple Unistall Question
• Help with ClickOnce deployment error (.NET 2.0)
• problem to deploy external files which have to be included in the Application Files