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
ADVERTISEMENT
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Could you give me an example of streaming a page to the client?
View Replies
View Related
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
View Related
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
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
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
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
I have an ASP page which needs to export some HTML content and images into a Word file.
Currently I am displaying the image in the Word file from the URL.
What I need is to stream the image into the word file alongwith the other HTML contents.
View Replies
View Related
i have a problem with streaming files. i want to force a download box to appear, which works fine. however it only works for files with a size of <4mb, anything else and a 0byte file is downloaded. the web server uses IIS6.
is there something i can change to allow bigger files to transfer? Code:
View Replies
View Related
Basically, we are working on a website where we want people to be able to see about 10minutes of our live streaming webcams on a once off basis. We are working on IP address sessions to do this, my question is however we want to have a single page with a countdown timer and the streaming video.
Now the timer is located on a local server but the streaming video is coming from a remote location, can we include use the remote asp page inside our local page. So far we keep getting the remote url displayed but not the media player.
View Replies
View Related
I am looking for live streaming audio/video technology to integrate in my ASP .NET web application. My searches led to a couple of open source products but most of them were old or came under the form of a full blown web application - not an SDK.
The project is academic and is ample therefore building my own is not feasible at this time. The end product will have to provide the functionality of a commercial product but will only be used as a proof of concept so no commercial use is intended.
Ideally all I am looking for is a library that can establish live-audio video connection between two computers over the internet and allows the video be embedded within a web page (with no or a minimum set of other controls). Also there has to be possible to transmit high quality video.
View Replies
View Related
I have many office files saved in sql server. The system sends them by one
web page: RequestFile.asp. So every file has the same name requestFile.asp.
How can i change requested URL on the server from
www.domain.com/requestFile.asp to www.domain.com/someFileName.doc????
I am able to rise "Save or open downloaded file" dialog
View Replies
View Related
I am having trouble trying to output an image using Binary.Write. I have a page which displays a record. One of the fields is an image and I want to display this on the page.
My question is this: Is it possible to use the Binary write command i.e. Binary.Write("MyDatabaseField") on the same page that I want the image displayed on?
If not Is there a way to nest it inside an image tag as follows:
Response.Write("<img src=" & binaryWrite("mydatabasefield" & ">")
View Replies
View Related
I'm working on a client project where i'm importing some data from a programme to a sql database.One of my fields contains a value which is created by bit flags Within this value are 10 bit flags, and i need to find out the value of each flag. An example of one of the bit flags is 0x0001
I'm guessing that it is to do with Binary and I need to apply a bit masks, but that's where my expertise ends.
View Replies
View Related
I am using XMLhttp and responsebody to receive info from a webpage
I dont use responsetext since i need the international chars едц
The information I recieve is binary is there any fast way to convert the
binary data to text ?
I used this function but its slow compared to response.binarywrite
and i need the information in a string so I can alter it with my script.
So is there any way to convert Binary to Text just as fast as
response.binarywrite ?
Function BinaryToString(Binary)
Dim I, S
For I = 1 To LenB(Binary)
S = S & Chr(AscB(MidB(Binary, I, 1
Next
BinaryToString =
View Replies
View Related
Does anyone know of a "pure ASP" upload script that does not use the binary read? I am sure many people are looking for this as well..as you cannot use the binary and request.form in the same script. I am trying to integrate a file upload into an already built script using request.form.
View Replies
View Related
What I would like to do is load a file's contents from a file on the server
and put the contents.
into a record in a database. For this I need to load the contents in binary
format into a
variable. Anywhere I looked, I've only found text I/O in ASP.
(FileSystemObject and TextStream).
How can I load any kinds of file into a byte array? Or is it enough to load
it as a text stream
and then treat the loaded string as a byte array?
View Replies
View Related