View Complete Post
I'm about to submit my pad file to multiple sharware sites but the pad file has to have a direct link to the download file and can't link to a download page which is what I would like to do, so I can track the traffic and get the downloader's email before allowing the download. I am running an ASP.NET site in VB. Is there a way to tell the web app to redirect to a specific aspx page when it receives a request for a specific file?
I am using some code similar to the code below to open a word document on my ASP.net app. Once the file has been downloaded and opened I then want to either redirect to another page or refresh the screen but nothing works after response.end and if i add it before response.end the browser never downloads the file?
Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name
Response.ContentType = "application/octet-stream";
Any ideas? Thanks
My organization uses a CMD file to install updated files for a major enterprise application. Currently, we send out an email to users with a link to the file and instructions to run it, BUT inevitably users don't update their machines until their in field and try to start the app.
We're now liking the idea of using an ASPX page to prompt the users to run the updates and to capture the fact that the updates have been run. I realize that we can't capture the success or failure of the update. But we'd like to capture the user accessed the page.
Is it possible to embed into the markup for the page a link to the file on the local intranet that the users can click on to run the file?
The user accessing the page would capture that they did just that. We'd deal with wether or not the update was actually installed or if it failed later with them directly.
i am doing a page to sell files online
the paying method is by a card or bank account and the customer is not registered to the site so i want to make sure that the customer has downloaded the file successfully after that the system completes the payment operation
so if there is any way to know do that tell me please
i use c# thanx all
I have Resource file...
I am using following code for Display Lable Text...
and I want to use that name for page title...
so I used "me.page.resources.resource.NAME" in code behind page.
but I want to use that NAME in
I am using a download handler to handle the downloading of files from my website. I am using a slightly modified code from the Microsoft article http://support.microsoft.com/kb/812406
Everything is working fine and downloading, even with large files, but it does not show the file size for any of the files to download. Even if theyre really small.
Here is my code for the handler
public class DownloadHandler : IHttpHandler
public void ProcessRequest(HttpContext context)
string path = "";
path = context.Server.UrlDecode(context.Request.QueryString["src"]).DecryptString();
System.IO.Stream iStream = null;
byte buffer = new Byte;
string filename = System.IO.Path.GetFileName(path);
iStream = new System.IO.FileStream(context.Server.MapPath("~/" + path), System.IO.FileMode.Open,
Hello everyone. I am having an issue downloading files that I have store in SQL Server. I have no problem in a WinForm. What am I doing wrong in my code?
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim sch As New clsReport
Dim fileData As New clsReport.Letter
fileData = sch.DownloadLetter(Session("LetterID"))
Dim ms As System.IO.MemoryStream = fileData.fil
Dim fil As Byte() = ms.ToArray
Dim nam As String = fileData.name
Dim ext As String = fileData.ext
If Not fil Is Nothing Then
Response.AppendHeader("Content-Disposition", "attachment; filename=" + nam & "." & ext)
' Response.AddHeader("Content-Disposition", nam & "." & ext)
Response.ContentType = "Application/octet-stream"
Response.Buffer = True
Catch ex As Exception
I am trying to understand where the additional file name is coming from in my Page directives Inherits
attribute like so :
inherits ="Track_Milestones2, App_Web_techsrvcs_track_milestones2.aspx.cdcab7d2"
Is the result of this app being published on my local server at one time or could this
page have been compiled on a server ?
Thanks for your insights !
I'm facing an issue with the indexing.
I have 1 WFE+Index server+DB server.
Index server is not installed with MS FIlter pack 1.0
When crawling, the there will be document with warning in crawl log:
The file reached the maximum download limit. Check that the full text of the document can be meaningfully crawled.
Documents that with warning are such as doc, ppt, xls, docs, ppts and many others.
However, I view into the successful crawled document, there are doucments with ext doc and ppt.
For large file index, there are MaxGrowthFactor + MaxDownLoadSize required to be added into the index server.
As my understanding is, MS Filter Pack should installed into index server(already did, correct me if i'm wrong).
I looked into the Office SharePoint Seach(CA>Services in farm), if the server is appointed to "Use this server as indexing server", then MS Filter Pack is suppose to be installed into that particular server as well.
At the bottom, there also has another option is "Use all web front end for crawling".
The question here is, IF the option "Use all web front end for crawling" is selected.
Does the WED FRONT END Server required to installed the Ms Filte