FreeASPupload Problem

Here's what I'm trying to do:

Display a page with a link to upload a file. The link includes a variable with a folder name appropriate to that user like this:

<a href="ANMT_file_upload.asp?uploadpath=<%=vProjectPath%>">Click Here to Upload Files</a>

(vProjectPath is drawn from an Access database earlier).

Then the upload page (renamed "ANMT_file_upload.asp" from "uploadtester.asp") appears. Most of it is unedited. I added code to get the uploadpath. It now looks like this: Code:

View Replies


ADVERTISEMENT

Does Anyone Know Freeaspupload?

I'm trying to store a filename into a variable from aspfreeupload file. Once the file is uploaded I can't seem to fine the variable it's stored in so that pass it to the database without typing the filename in manually. I tried using this Public Property Get FileName() FileName = nameOfFile and found that this is not where the filename is uploaded to.....

View Replies View Related

FreeASPUpload

Using the FreeASPUpload (www.freeaspupload.net) script and can successfully upload files to the server, what I need to do now is insert the filename and another textfield I have added into a record in access. Had a look at the documentation and can't seem to figure it out, can anyone help or preferably got some sample code?

View Replies View Related

Freeaspupload W/ Text Box

I would like to upload files to a server and input data from a text box into a database. I can upload the file and insert that data seperatly but have problems doing it together.
The text box is named txt_name so I know that I need to add the code txt_name = upload.form("txt_name").

I'm not sure where I need to add this code. Using the code from freeaspupload.net I have two files the uploadtester.asp and freeASPupload.asp. Where should I put the code listed above and where do I need to insert the Insert Record Code?

View Replies View Related

FreeASPUpload Check File Existance

I'm using freeASPUpload and trying to create logic to prevent uploaded files from overwriting previously existing files.

The file I'm modifying is too long to post here. It can be downloaded from www.freeASPUpload.net.

I've been trying to insert this code in a number of places in the tester file.

If fso.FileExists(Request.Form("attach1")) then
Response.Write "Filename already exists. Please rename before up load."
Exit Function
End If

I've tried many alternatives to "Request.Form("attach1")". Everything from a variable name like "fileName". All of it only creates errors....

View Replies View Related

Freeaspupload: Retrieving Multiple Values From A Select Field

I'm having problems retrieving all the values from a multiple selection field using the freeaspupload component.

I'm creating an online email app that uses the freeaspupload to add attachement functionality, which means the form encoding type is multipart/form-data. I've done something similar with the persits aspupload component, and had no problems with that, but the freeaspupload version seems to handle <select> fields slightly differently. Code:

View Replies View Related







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