Exemple #1
0
        protected void CheckForFile()
        {
            var f = new Web_Client.FileTransmute.FileHandlerSoapClient();

            while (file == null)
            {
                file = f.GetFile(fileName);
            }
            FileReady(Label1, new EventArgs());
        }
Exemple #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     curr     = Response;
     fileName = Request.QueryString["dl"];
     if (string.IsNullOrEmpty(fileName))
     {
         MessageBox.Show("Improper access!");
     }
     else
     {
         FileReady   += EnableButtonEvent;
         Label1.Load += StartNewThread;
         var f = new Web_Client.FileTransmute.FileHandlerSoapClient();
         file = f.GetFile(fileName);
         if (file != null)
         {
             DownloadFile();
         }
     }
 }