I'm developing a site under IIS and ASP. I want some help into a free solution to upload the content of an entire folder, even subfolders, to a web server from a client. It can be used ActiveX, COM or other type of components.
I have an Access Database; e.g., DB.mdb, which has 10 Tables; e.g., Table1, Table2, ..., Table10; in a directory; e.g., Directory1.
Using ASP copy method: FileObject.Copy(destination[,overwrite]) I have made a copy of this entire database in another directory; e.g., Directory2.
The Tables from Directory2 has been and will be changed via writing new data into the 10 Tables in Directory2. I need to copy only one of the Tables, e.g., Table5 from the original database in Directory1, to the database in Directory2. Replace Table5 from the DB in directory2 witj Table5 from Directory1 without affecting other 9 Tables. How can I do that?
I'm trying to write a function that allows a user to upload photos (like a photo album). I currently use AspSmartUpload as my upload component - but I only know how to upload one file at a time. Does anyone know if it's possible to upload an entire folder at once, or will the user only be able to upload one photo at a time?
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.
I'm currently doing a project that allow user to upload file to and download file from a server. my asp page funtion as file uploader can only upload a file at a time, and now the problem is when i try to upload an entire cd volume from a cd to a server, what i can do is just browse to individual file and upload it. i know that there's a virtual drive that does this function. but the project is host in intranet mode, so every user is accessing the server. and the virtual drive for server cost a lot. so can i know outside there's any coding or example or solution can help me with this upload entire cd volume problem?
im using a asp file uploader to upload my file into a dedicated server. my uploader can only upload a file once a time. but my concern is if i want to upload the entire CD volume into server, i still have to locate the file in the cd one by one, is there any way or coding to allow entire cd volume to be upload at once?
where to find some decent code samples for using SoftArtisans FileUp Professional.I have used aspUpload to code a webpage to upload select files, rename them and check they have the right file extension but now I need to do the same for uploading the contents of a selected directory.
Can anyone tell me the simplest easiest way to upload pictures to a directory. It's for a content management page - text boxes for new record information and a file browse form box for the picture
I want to know is it possible to upload file into specific directory? Actually I already find how to upload a file, but I can not choose/browse where I want to store/save the file.
I am trying to use SoftArtisans FileUp Professional to upload a directory. I have found some sample code to help but you have to type in the directory name when you run the page.
I want to use a form in the same way as for a file upload to browse and select my directory for upload. Anyone know how to code this?
Also are there any good places other than the official SA site to go for help with sample code?
I know there's a way to do this - well 99% sure anyway - and seem to remember reading an article or tutorial about how to do it but I'm not having any luck finding it. What I need to do (using MySQL & ASP3) is to find all rows with "X" as a non-unique ID - there may be 30 or so total - and grab them to be archived in a CSV file before deleting the record from a DB.The reason I want to avoid hardcoding the field names is that they're going to change with moderate frequency.
I need to do the following in the asp project. The form contains the file upload component and textarea objects. After the user uploads the word file (using file upload), the entire contents of the word file should be copied to the textarea and displayed.
I have deployed a page with 3 frames of which one of them is a asp page.
Whenever the content of the page increases scroll bars apperar individually for each frame ruining the look of the page. I tried using tables instead of frames by giving "server.execute()" inside <td>.The drawback is that server.execute() doesnt accept absolute urls.Server side includes also cannot be used because the page to be loaded is decided dynamically based on the request.
I have written an asp script to pull data from fields in an access database.However it is only displaying the first word of the string.Below is my code:
I understand that I can use "Exit Sub" to terminate an subroutine. However,this does not prevent everything before the "Exit Sub" from processing and displaying. Now, if I can't determine if a certain condition is met or not met until later in the subroutine, how can I prevent any parts of the code from displaying?
For example:
Code: Sub XYZ Response.Write "Table Header" For 0 to all user's online If user's page is an product page, then Response.Write Page_Name Y = Y + 1 end if next
I have written a script to update user information in the Active Directory using ADSI. Here is part of it:
Set User = GetObject("LDAP://<GUID=" & GUID & ">")
User.Department = DepartmentName
User.SetInfo
Set User = Nothing
This works fine unless DepartmentName is an empty string ("").
Then I get error 0x8007200B: "The attribute syntax specified to the directory service is invalid." This happens with all the attributes I have tried, including TelephoneNumber . Do I need to delete the value of the attribute instead of setting it to an empty string? If so, how do I do it?
I am developing a site that has a mixture of both Static and databased content for which the client requires a site wide search to pick up on the text in the database and the text in the static html pages.
My original thought went to Index server? Does this still exist for Win 2003 Server? Are there any other similar server products? We can install what we like on the server, and obviously the cheaper/free'r the better! Or are there better solutions with some hosted search that can have a customisable results page?
I have a page that adds data to an Access DB. When an employee adds a record I want to compare the phone number from the data they inputted to all of the phone numbers that are currently in the database for that field.
If the new phone number currently matches any record in the DB I want to have an alert that notifies the employee that a record with that phone number exists with the date that the first record was inputted and ask whether they want to continue and add the the new record or cancel the addition of the new record. Otherwise, I want the data to just be added. At this point I have a Case statement that will add the record after a submit button click.
I am unable to downlaod entire folder at a time from the server using ASP i.e. all the files and sub-directory in that folder at a time, not by downloading individual files one by one .
We face problems uploading excel (with macros) documents using HTML File Upload.
The file contents are corrupted while viewing the same. However, we are able to upload excel (w/o. macros) documents successfully. Is there anything we have to take care of, while handling uploads of excel documents with macros?
I have been using pure asp upload for uploading pictures and files fo rome time now. I have a question about it thou - Is there any chance that the pure asp upload can upload a file to a directory and then copy it to a backup directory?
If anyone ever come accross this issue please let me know how u resolve it.
im brand new to ASP and all but at school they want a webpage and they wont support PHP which is what i know so i need to figure out how to show everything under a directory then if sub folders have them link to that folder
I would like to do something like this: <!--#include file="C:dbutilsdbConfig.asp"-->
Where the directory C:dbutils is OUTSIDE of the web directory and not accessible by a client web browser. The reason I would like to do this is in case somehow ASP processing gets turned off in IIS. Since "dbConfig.asp" contains a username/password for the database, I don't want this file to somehow get sent back to a client browser as plain text. Two questions: 1) is it possible to use an include file that is outside of the web directory? 2) is there even any way that ASP processing can be turned off? perhaps not explicitly, but maybe via malicious code or virus?
Does anyone know if it's possible to convert files to .pdf format through ASP? or better yet, does anyone know of a utility that can take a directory of word documents and form one pdf file with the contents?
I have an Intranet site sitting on an Windows XP server, which has IIS 6.0 installed. This Intranet site contains a virtual directory (VD), which sits on a second server and has Windows 2000 installed.
To test how a virtual directory would work for this particular Intranet site, I had previously set up the VD on the web server. Everything worked well...no errors.
Once testing was complete and the location of the VD changed to the second server, I have been receiving the following error:
Microsoft VBScript runtime error '800a004c' Path not found
I understand what this error is saying, but I was wondering if anyone knows of any problems between IIS 6 being on a XP server and the VD on a 2000 server and any possible implications.
Is it possible to read the all filenames from a directory? Basically I want to grab all the filenames from a directory and make a flat file with all the values in it.
I'm trying to create my own browsing window for a directory on my webserver. I can access the root the directory and the first sub-directory but anything lower than that I get "path not found". I'm almost sure the problem is attaching the selected directories names on to the objFSO.GetFolder line.
I used the Mid function to get my selected directories. I can't figure out how to add the selected directories to the objFSO.GetFolder line. Code: