Wednesday 23 November 2011

Downloading files to client side computer through asp.net whithout knowing client (Forcefully)

Downloading files to client side computer through asp.net whithout knowing client (Forcefully) 

 

By this code server can upload file to client computer without knowing the client.
But you have to know that the folder (path) in which you are going to send and save i.e. downloading
in client computer must be exist.




WebClient client= new WebClient();



string ClientFullPath = "D://abhay timetracker/Interopasdasdas.dll"

client.UploadFile( @"ClientFullPath", Server.MapPath(@"File/Interop.SAPbobsCOM.dll"));




No comments:

Post a Comment