473,508 Members | 2,331 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Uploading a file in ASP

Hi to all,
I have developed an ASP and VXML application.
An ASP page record a video with a form and the VXML tag <recordand
passes the parameters, thanks to a submit and the POST method, to
another ASP page which would have to upload the video on a IIS web
server, but it doesn't work. I can't use any servlet or cgi.
I attach the source code that uploads the video:

[...]

dim videofilename
videofilename = "registrazione.3gp"
dim objFS
dim obj3gpFile
set objFS = server.CreateObject("Scripting.FileSystemObject")
set obj3gpFile = objFS.CreateTextFile("d:\video\" & videofilename)
obj3gpFile.writeline request.form("registravideo")
obj3gpFile.Close

set obj3gpFile = nothing
set objFS = nothing

[...]

Can somebody help me?

Thanks a lot.

Giovanni
Mar 13 '07 #1
1 1355
google:

asp upload -.net


"G.G." <gv******@SPAMtin.itwrote in message news:uj****************@TK2MSFTNGP03.phx.gbl...
Hi to all,
I have developed an ASP and VXML application.
An ASP page record a video with a form and the VXML tag <recordand passes the parameters, thanks to a submit and the POST
method, to another ASP page which would have to upload the video on a IIS web server, but it doesn't work. I can't use any servlet
or cgi.
I attach the source code that uploads the video:

[...]

dim videofilename
videofilename = "registrazione.3gp"
dim objFS
dim obj3gpFile
set objFS = server.CreateObject("Scripting.FileSystemObject")
set obj3gpFile = objFS.CreateTextFile("d:\video\" & videofilename)
obj3gpFile.writeline request.form("registravideo")
obj3gpFile.Close

set obj3gpFile = nothing
set objFS = nothing

[...]

Can somebody help me?

Thanks a lot.

Giovanni

Mar 14 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2762
by: dickiedyce | last post by:
Hi there. I've spent the weekend getting ever more frustrated, trying to get an upload file function working on a website. The site is hosted by a company called oneandone. They're using PHP...
9
2365
by: R. Rajesh Jeba Anbiah | last post by:
Q: How should I handle file upload? A: File uploading requires HTML form of content type "multipart/form-data". The file content has to be POSTed/submitted via the form and once the file is...
5
7815
by: Kevin Ollivier | last post by:
Hi all, I've come across a problem that has me stumped, and I thought I'd send a message to the gurus to see if this makes sense to anyone else. =) Basically, I'm trying to upload a series of...
1
2190
by: Jonathan | last post by:
Hi everyone, I have a problem with the file uploading in Asp.Net and I have read a lot on forums on this but never found an answer. Here is the problem: I know Asp.Net maximum Length for...
5
5450
by: Ron Brennan | last post by:
Good afternoon. The entire task that I'm trying to achieve is to allow a user to browse and upload multiple files simultaneously, hiding the Browse button of <input> tags of type="file" and...
13
4281
by: Sky Sigal | last post by:
I have created an IHttpHandler that waits for uploads as attachments for a webmail interface, and saves it to a directory that is defined in config.xml. My question is the following: assuming...
3
2616
by: Jason Chu | last post by:
I've written a file uploading part of my application using the IHttpModule. So now, I don't have the memory problem of uploading something big. Problem: I can't find which function I have to...
5
2709
by: Chris | last post by:
I have a meetings section I'm developing on our intranet. Using PHP/MySQL. Meeting info and Meeting docs reside on 2 related tables in the db. Users may want to upload anywhere from 1 to 10 or...
1
2066
by: wenqiang7 | last post by:
I am encountering a very strang problem with file uploading in my ASP.Net page. When we try to upload certain file, we'll get an error msg of "Cannot find server or DNS Error". We are running...
3
1900
ganesanji
by: ganesanji | last post by:
hi all, I have written a php coding for uploading a file to a specific folder or location in server which is a Linux server. I think the coding for file uploaing is correct. But it does not...
0
7129
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7333
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7398
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7061
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7502
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4716
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3208
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
769
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
428
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.