I have:
1.Host Download (there is all my file , i want to share them)
2. localhost server (simple)
I have file: test.zip on SERVER 1 (HostDownload - Direct Link ex:http://ift.tt/1LDOwq7) AND I want to response download link for download file by user in SERVER 2 using function but The user does not know the actual address
i writhed this but not work :
public WebResponse GetWebRequest()
{
string address =(@"http://ift.tt/1LDOwq7");
WebRequest request =WebRequest.Create(address);
request.Method = "POST";
request.ContentType = "application/x-zip-compressed";
WebResponse response1 = request.GetResponse();
return response1;
}
Aucun commentaire:
Enregistrer un commentaire