Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > ASP file Upload and hidden fields

Thread Tools

ASP file Upload and hidden fields

Posts: n/a
Good afternoon,
I have an .htm page with "input type=file" box, as well as .asp page
to which that file is posted. It works. Since the path for the file to
be uploaded is constant, how can I use the current setup of .htm and
..asp pages to upload a file from a client machine without a utility. I
read on one of the forums that "hidden" field cannot be used for
files. If there is no way to use my current structure, I am also
looking into FSO object, using one .asp page to post to itself,
specifically .getFile method to start. What are the next steps to
take? The code for the single .asp page is below. File.move works
also, not sure if I need it though. Thank You, Igor.

Set fso = CreateObject("Scripting.FileSystemObject")
Set file = fso.getfile("C:\_WebApps\igor\file_upload\scripts. txt")




<form name="upload_form" method="post" enctype="multipart/form-data"

<input type="hidden" id="isdone" name="isdone" value></input>

<!--<input type=file>-->


<input type=submit value="Upload File">

<script type="javascript">

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: passing hidden fields from aspx to asp and back to aspx Nirosh ASP .Net 0 04-28-2009 05:44 AM
Upload a file without file Upload control - ASP.Net =?Utf-8?B?U2FyYXY=?= ASP .Net 3 08-03-2005 01:09 AM
Passing Data with Hidden Fields =?Utf-8?B?UGF0cmljay5PLklnZQ==?= ASP .Net 5 01-27-2005 07:17 AM
Passing Data with Hidden Fields in ASP.NET Patrick Olurotimi Ige ASP .Net 0 01-24-2005 10:28 PM
Netscape hidden fields - array - multiple fields with same name Javascript 0 07-17-2003 03:05 PM