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
ADVERTISEMENT
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
I run my applications perfectly, can make changes to my database, but I cannot upload Documents or Pictures Etc.Etc.I was able to with my Windows ME OS. I now run Windows 2000.
View Replies
View Related
I am triying to upload a file with ASPUPLOAD which works fine the only problem I need to change the folder where is going to be uploaded.
I tried with:
folder = ""+cstr(request.querystring("folder"))
path=Server.MapPath("."&folder)
Set Upload = Server.CreateObject("Persits.Upload.1")
Upload.OverwriteFiles = true
Upload.SetMaxSize 1048576
Count = Upload.Save (path)
But always uploads into the same folder (where the ASP is uploaded).
View Replies
View Related
I use ASPUpload as a component to allow users to upload images to website. I did not find on ASPUpload.com website clear explanation on how to upload entire folder of images to website.
1) Is it possible to do using ASPUpload?
2) Could you recommend me other sites, articles etc to read about this problem (with code samples)? Or could you provide me an example of code samples.
View Replies
View Related
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
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
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
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
I can get this to upload files but I can't get items out of the Files
collection into the database. I'm getting this error
Microsoft VBScript runtime error '800a005b'
Object variable not set
/admin/media_upload_recording_process.asp, line 94
Code:
View Replies
View Related
I'm trying to create a dynamic page where I can edit a region from a simple admin area. I'm pretty confident that I can handle the database and asp coding (yeah who am I trying to kid) but what I want to be able to do is upload an image from the admin area too.
My hosting company is telling me that they have aspupload installed. Is this all I need and if so is there a tutorial anywhere that can help me on my way?
View Replies
View Related
What I'm trying to do is upload an image(which I've managed with the sample code from the ASPUpload site),then I want to rename the image to a number, namely the value of an autonumber field in my Access database.i.e. 1.jpg, 2.jpg etc
I have no problem retrieving the autonumber etc it's the renaming part I'm struggling with.I'm using ASPUpload v2
Could anyone post some sample code or point me to somewhere that covers this.I've had a search around and can't seem to find much.
View Replies
View Related
I need a forum that takes in maybe 5 images. and the a seperate page a script that will upload it to a folder called "images" in the same directory as where the .asp pages are located.I need the script to also read the name of the files - because i plan on inserting them into a db.
View Replies
View Related
I am using ASPUpload and trying to upload images to a database. I have had success in getting the image to the db and then dispalying the imnage on a webpage. The problem is wheni have more than one image for a record and want to display all images for that record. Has anyone done this with ASPUpload that might be able to look at my code and give me some tips?
View Replies
View Related
Does anyone know where I can get a FREE version of the AspUpload.dll file. I know that a paid version is available at aspupload.com and that at one time this utility was free.
View Replies
View Related
I'm trying to get the ASP component ASPUPLOAD to work. I have a form with fields and their own browser button. I'm using the Post method to send to an ASP page. I'm getting an error after clicking the upload button on the form to upload the images that says "Method Post is not allowed for this ASP page.
View Replies
View Related
do I store the images (cover images of movies) in a folder or in the DataBase? Storing in DB has it advantage such as backing-up db will also back-up everything. but will it be fast... enough to retrive the images. I am already conserned over the speed of things... as I am using Access DB with over 5,000 records already in the data base.
View Replies
View Related
Anyone know how to upload a few images file simultaneously and save the server path of all the images in a record in different field?
View Replies
View Related
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
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
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
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
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
I have been struggling with this for a couple days now and wanted to see if anyone can point me in the right direction... I am generating an RTF document using ASP and the FileSystemObject from values selected in a form and database values. I have had no problem creating the document and even using some pretty advanced RTF formatting but I cannot figure out how to add an image to the document.
I have read in many places that it is possible and I know there are third-party components that claim to do it but I wanted to see if anyone had any sample code to do this using ASP and the FileSystemObject. I have an image stored on the server and I want to include it within the RTF document.
View Replies
View Related
I have tried three ways of opening word documents on my win95 machines.
(Yes, my client still has some win95 machine)
#1-With Response.AddHeader "Content-Disposition", "attachment;
filename=yourfilenamehere.doc"
#2-With Response.AddHeader "Content-Disposition", "inline;
filename=yourfilenamehere.doc"
#3 without the content-Disposition header.
#1 is not good because it forces the user through two dialogs. #2,#3 seem good because they open the document in IE, but the window does not have the corresponding document toolbar, so the user can not saveAs xxx.doc
How can I accomplish # 2 or #3 with IE showing a word document toolbar?
View Replies
View Related
displaying word documents onto a webpage? The word documents will contain text/tables/pictures. I am new to this and can't quite find what I need.
View Replies
View Related
I maintain a website, written primarily with ASP, which allows users to fill out a form and upload documents to the web server. Once on the server other users can download the documents. Currently anybody within the Intranet can upload and download any documents. I would like to do something that would allow the user to specify who can view a document. I was thinking of using the users domain/handle as the security key.
View Replies
View Related
How To Create An Object For Word Application To Compare 2 Word Documents In An Asp Page.
View Replies
View Related
I am creating an web application with IIS 5.0 where the user will be given a facility to view a PDF or word document. The user can edit these docuements. But once the document is edited, I want to save the changes on server side. Is it possible to implement such a feature?
By the default behaviour of IE, if abc.doc is opened and edited, if we try to save the file by entering the path as URL we are not able to save the file on the server. This is because server creates a readonly copy of the file. Please let me know whether such a feature is feasible? Or whether I have to develop my own component using which this might be possible?
View Replies
View Related
I have developed ASP Website and have a Login page for 3 different user groups. Each group is directed to their own specific webpage within the site.
Can someone please tell me how to display word documents in these ASP webpages.
This must be a simple process, as these documents are just for viewing purposes, ie: not editable while been viewed by user group.
View Replies
View Related
I have a series of hyperlinks on my page which open up documents. Mainly pdfs. Can anyone tell me if it is possible to send these straight to the users printer or is this just asking too much ?
View Replies
View Related
I intend to send word documents thru mail to my clients. I don't want my clients to save the word document to there system and i don't want them to print the word documents. How can i achieve both the tasks ?
View Replies
View Related
I'd like to take a HTML document as input (preferably a HTTP URL to a HTML / PHP document), render the page as a web browser would, and display the output as a graphic - kinda similar to what the <object> tag can do in HTML (i.e. within the Windows Explorer Web View, you could "Preview" HTML documents like a graphic etc.)
It doesnt matter too much whether the rendering needs to be done in VB.net or ASP.net - although I'd prefer ASP.net!! To be honest, the only method I can think of for doing this is to open the page in an IE window using vb.net, take a sceenshot and resize! But as the request could be run as and when,
I think that it'd add a large workload to the server if it has to launch a (reasonably large) .exe every time!! Plus that method would also rely on no other windows appearing on top of the preview window before the screenshot is taken!!
View Replies
View Related