Bir kısmı....
string FileName = Request.QueryString["FN"];
string F = FilePathProcess.DosyalarPath + FileName;
FileInfo info = new FileInfo(F);
if (File.Exists(F))
{
Response.Clear();
Response.AddHeader("Content-Disposition", "attachment; filename=" + F);
Response.AddHeader("Content-Length", info.Length.ToString());Response.ContentType =
"application/octet-stream";
Response.WriteFile(F);
Response.End();
}
else
{
Response.Write("Boyle Br Dosya Yoktur");
}
RapidShare_Application.rar (65,75 kb)