Streaming Documents To The Client

I am working in an intranet/extranet application in which the user should be able to see some documents (specially doc and pdf). These documents will be stored in a safe place in the server preventing anybody from downloading them directly from the URL.

In order to achieve this, I have made an activeX component which takes the original file and stream it to the client. I have basically two questions/problems.

First, is there a way to manipulate the document generated dinamically in order to change the way it is displayed in the browser(zoom factor,etc)? By default it depends on the client configuration. Maybe I could use an application.word object in the ASP but the problem is that I don't have the document in a file, I only have a stream sent from the server.

Another question is, how can I avoid the download dialog(open/download file prompt) on the client? I always want the document to be displayed on the browser. I know this is for security reasons, but can this be configured in some way through the IIS options for the web site? Code:

View Replies


ADVERTISEMENT

Streaming XLS To The Client

I have a page which allows the user to open one of several spreadsheets by
streaming the XLS to the client.

On my development site, everything appears to work fine. On the live site,
it works fine for the vast majority of users, but not for my colleague & I.

When this page is called with the correct inputs, the standard
Open/Save/Cancel/More Info dialog should appear. In the dialog, it gives the
following details:

Filename: Gothenburg Sweden.xls
File type: Microsoft Excel Spreadsheet
From: Servername

Clicking on open, means that the file will be opened in the local copy of
Excel; this works for most people, except one colleague and myself. In our
case, after clicking on Open, we get the following error msg:

"Internet Explorer cannot open travel.asp?journey=1 from <servername>
Internet Explorer was not able to open this internet site. The requested
site is either unavailable or cannot be found. Please try again later."

Anybody got any ideas about this? Code:

View Replies View Related

Streaming An XLS To The Client

I have a page which allows the user to open one of several spreadsheets by streaming the XLS to the client.

View Replies View Related

Example Of Streaming Response To Client???

Could you give me an example of streaming a page to the client?

View Replies View Related

Streaming

Is anyone know the streaming (playing while downloading) in asp. Actually right now it's downloading all the song before it plays.

View Replies View Related

Streaming

I would like to ask something regarding my project. i've been planning to develop a website using asp code for streaming multimedia features.

unfortunatly i have zero knowledge bout all this things that needed. can someone give me a rough guideline abt what should i do step-by-step. such as what database should i use. how can i store or create a database that can hold my multimedia files?

View Replies View Related

Binary Streaming

Here is a written descripton of my webpage.
One frame split down the middle. The left side is the menu and the right
displays what is selected from the menu.

the user selects from the menu and on the right, clicks on "download image"
link. the user is presented with a download dialog box. The user saves the
image and when it is completed goes and selects another item from the menu.
But this time nothing happens.

It is like i have to refresh the page before anything works again. It is
like it is stuck on the ASP binary stream file that forced the download.

on my link i have

<a href="donwload.asp" target="right">download image</a>

How can i fix this?

View Replies View Related

ASP File Streaming

I have the following code which works fine downloading smaller files, the
trouble is most of the files to be downloaded are large. With large files it
just returns a HTTP 500 error. Code:

View Replies View Related

Video Streaming

i used active x plugin (quicktime), in source file of the plugin i placed the code "Myservermyvideovideo.mov" but when i browse the page, it cant view the view, i used iis6.0. ider an addtiional code on this when retrieving the source from a network?

View Replies View Related

Webcam Web Streaming

A Client With a Web Cam Want go to www.domain.com choose stream details and start.streaming his video and other people can go to

www.domain.com/ClientName

The Client Webcam Stream Should Go Trough a Linux / Windows Server And The Server Show it on web page that every one can see

View Replies View Related

Audio Streaming

I am trying to set up audio streaming on my website. I would like to know if there are any good articles out there that can at least get me started.

View Replies View Related

Streaming An XML Using SOAP

I've got a particular project to do and because of my very basic understanding I'd appreciate being pointed towards a relevant example. Basically I want to have my client side stream the contents of an XML using SOAP to a webserver.

I don't want to attach an XML file, rather just stream the contents. I have to write both parts. There must be good tutorial around somewhere.

View Replies View Related

Streaming Video

does anyone have a good way of streaming video on my site? I guess it doesn't matte what format they are in, is there something which kicks off media player?

View Replies View Related

Streaming Videos In ASP

neeeded some advice and code snippets on trying to stream a video file in ASP. I know i can run that video file in flash file and then run it in asp but i dont intend to do that. I need to use only ASP.

View Replies View Related

Asp And Word Documents

I have created a word template containing logos. I want to be able to open the document and dynamically add data to it and save the file as something else. the problem is when I use the streamobject method it does not work! I can only add data if the file is a notepad (unicode file). Is there any way to do this? I can't find any ttutorials on the web.

Also I know how to write word documents using html and I cant use this method because when I open the document the image will not display. Is there a way to keep the image contained within the document?

If I can get either of the methods above to work that it would have solved my problem!

Or if anyone knows of other ways to creating a word document using logo's and dyanmic data then please let us know.

View Replies View Related

Word Documents

I have a HTML page with field data on, I would like to know if in ASP i am to pick up that field data and send it to a Word document, the application this data comes from is hosted in an IIS box and uses an ISAPI filter to parse the data from SQL tables to that GUI for the user. This function is need for an individual page at a time, & unfortunately I'm still quite new to ASP so I'm not sure if this is possible.

View Replies View Related

Upload Documents

I have a documentation management system written with ASP.This is a simple system.I want to upload necessary documents and create folders when necessary delete folders etc.When uploading documents I should select both the uploaded file & also the target location.Because I have many many folders and subfolders.

View Replies View Related

Delete Documents

If there a way using ASP to delete files from a folder on the server if the file doesnt exist in the database.

I have heard of something called FSO (File System Object) but not sure how to use it - does anyone know of an ASP method or how to mate ASP and FSO?

View Replies View Related

Secure Documents

I have a client who needs to be able to upload confidential documents (.doc and PDF) to a "hidden" area within their website so other members of their organization can later view them at their convenience. This area would be restricted by logins and passwords, but it also needs to be secure enough that no outsiders could gain access to these documents if they tried.

I've read on here about placing files in a directory outside of the root directory and then reading them back with a script but I'm wondering if there are other options that would be even more secure than this. Maybe with using some sort of file encryption or something else used in conjunction with files outside the root. I would be open to any 3rd party commercial software if someone has had good experience with it. Does anyone have suggestions to offer?

View Replies View Related

Streaming Video Capture Using ASP

I'm about to venture onto a new project of developing an ASP Page that captures images from a streaming web camera, and displays them (refreshs) the image every 15 seconds.

The question I have, is it possible to capture images (every 15 secs- from the webcam on the intranet) and store that snap shot as say a .jpg file in a folder, and then have the ability to continuously add images to this folder, so at a later date you could develop a system that would display photo after photo simultaneously, fast motion of the project in action.

View Replies View Related

MHTML, MHT Web Archives Streaming Via ASP Or CGI

We are using ASP pages and the response object in conjunction with the
binarywrite method and a custom com dll in order to stream files back to
users. All works fine, except mhtml web archives(*.mht or *.mhtml files) .
When we stream an mhtml web archive back to the user we see the actual file
inside the browser window and not the web archive document the way it should
be displayed.

We are setting the content type property to message/rfc822
for mhtml files. We also set the content-disposition header ( like this
content-disposition: filename="mytest.mht" ) This file opens up fine if we
place a direct link to the file, however exposing a directory of files is
not an option available to us.

We have also created a cgi in c that does
the same thing as the ASP however to no avail we still get the actual
contents of the file and not the mhtml document. This happens on both IIS 5
and 6. Any suggestions???

View Replies View Related

File Streaming Over HTTP

I'm having a trouble with HTTP file transfer. I use an ASP file to provide controlled access to some files and stream them back to the client by adding the "content-disposition: attachment" header.

This usually works perfectly, but I've noticed that if I try to stream a ..RAR file, the client browser does not show any "open/save" window (it simply ignores the file transfer), and .RAR appears to be the only file type which causes it to behave this way. Can anyone explain me what this means or what it may be due to?

I use MS IE 6 and IIS 6... and the transfers are all HTTP/1.1 of course.

View Replies View Related

Streaming Binary Files

I am working on an app that needs to stream binary files(such as PDF or WORD docs) to the browser. I cannot just pass a URL pointing to the file directly. I've tried the following in an ASP file:
Code:

Response.ContentType = "application/doc"
Response.BinaryWrite strData

where strData contains the binary data content of the WORD file in a string variable (for PDF, I would set the content type to "application/pdf").
However, the browser displays the data itself, rather than hosting the doc in the appropriate browser applet.

View Replies View Related

Binary File Streaming

I have an exe file on a server that reads an XML file ( as a parameter) and generates a new file for downloading. However, most servers won't allow an exe file to create the new binary file. Is there any way that I can execute the exe file and have it download straight to the client instead of saving to the server?

View Replies View Related

Streaming OWC11.Spreadsheet

I have created a Spreadsheet object that I need to stream directly to a file through the browser. I can not save this file, that I would then stream, to the web server, even though this would save me a lot of aggravation.

Since Microsoft seems to see no value in providing any documentation for their OWC 11 components, I am just one of many developers groping around trying to find how to use this.

View Replies View Related

Share Price Streaming

Does anyone know of a quick and easy way to stream a particular share price
eg: msft into one's website....I have done a google search but I am not
finding anthing specific...is there an asp solution?

View Replies View Related

Streaming Query Results

I am working on a classic ASP application. This application needs to run an SQL query and take the result set and stream it into an XCEL spreadsheet for processsing by the users. Is there an ASP method of third party product to do this?

View Replies View Related

Streaming Foreign Characters

I was wondering if anyone could help me with the following problem. I have a page set up to display various foreign language characters using:

<%@ Language=VBScript CodePage=65001%>
And
Response.charset = "utf-8"

The web page displays everything fine. However when I stream the page to MS word using Response.ContentType="application/msword", the foreign language characters are replaced by garbage. Interestingly, when I cut and paste directly from the original web page to Word, the characters are displayed correctly.

View Replies View Related

Upload Documents With Aspupload

I am using what seems to be a straight forward script but am getting an error, is the term Funtion not accepted in aspupload?:

the error is:

Microsoft VBScript compilation error '800a03ea'

Syntax error

/legacyUploadscript.asp, line 15

Function isValidFile(filename)

The script I have created is this: ...

View Replies View Related

Generating A Set Of Word Documents Using ASP

May I know how I can create a set of word documents using ASP? Is there any sample code available on the web for such document generation system?

View Replies View Related

Searching Text Documents

I'm making a new database that is to store details about word/pdf documents. I need to have a search function that can search through the content of the file. Is this possible? [I'm using Access].

View Replies View Related

Generating Word Documents

Here's a quick query for any ASP/MS Office gurus out there!
When attempting to use the following code:

Set WordApp = CreateObject("word.application")

I get the following error message:

ActiveX component can't create object: 'word.application'

Could this be because MS Office is not installed on my server? Or is there another reason for this error message?

View Replies View Related

Formatting Word Documents

I'm using ASP to create a word document using response.contenttype=("application/msword"), which works fine, but I want to do some formatting to the page setup (such as change the margin sizes) before delivering it to the client.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved