Trying To Browse A Directory
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:
View Replies
ADVERTISEMENT
I am looking for a way that a user can click on a button which will allow the user to see his harddrive and specify a path to a folder. This is much like upload in ASP except the user is not selecting a file. They are only selecting a folder. Does anyone know if this is possible using JavaScript or something else?
We need a user to be able to tell us where on their harddrive they want to save files when they download them using SoftArtisans XFile. I do not wish to create the directory. I just want to make it simple for a user to specify a path by opening a window and double clicking on the directory they want to use. The path then appears in a text box (like upload) and then we can save the file path for them.
View Replies
View Related
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?
View Replies
View Related
How can I add a second browse box and submit button to the script FreeASPupload ?
View Replies
View Related
I'm using Frontpage to Design the page and .NET to edit the code behind it.
Is there an easy way, like a button, or some simple syntax to add a button to "browse PC" where when the user clicks on the button it opens up that standard HardDrive browse box and you can select a file?
And question 2, can you do directory reads where you open a directory and then just keep reading through each file in the directory till you get to the end?
View Replies
View Related
ASP does not work locally on my main web site when I browse the machine locally at the console itself, but to the outside world all is fine, and ASP executes normally.
I have 4 other virtual webs on this server and I can browse ASP pages fine, locally. We need this working for a search engine product that is failing when trying to execute URLs against this virtual web site, locally. Code:
View Replies
View Related
I have a form. I need to get the pdf file from the server directory, put the complete URL to the input box and insert it into the DB table. Code:
<INPUT TYPE='FILE' SIZE='40' NAME='FILE1'>"
When I clicked on the browse button, the file string appears like this --> serverInetpubWeblettersfile.pdf in the input box
The way I like it is
---> G:Weblettersfile.pdf
then convert the string to "G:Weblettersfile.pdf"
View Replies
View Related
This HTML will give you a browse button that allows you to select a file on your hard drive:
***********************************************
<INPUT TYPE="File" NAME="FileName" >
***********************************************
Is there something similar that will allow you to select a partcular directory? For example, I may want to select a folder called projects rather than a file.
When I click search in Editplus, I get a browse button that allows me to select directories. Under ODBC Data Sources in my control panel, there is a button to select directories. What programming is needed to get this type of browse capability?
View Replies
View Related
what setting should i need to do if i want to share this website (asp) to the other? i try to use the ip address instead of my localhost, but it still not work. Can any one help me to solve this problem?
View Replies
View Related
i want to is how to create in a Dreamweaver ASP page, a "browse button" that allows a user to insert a image or file that is related to a ms access database...
View Replies
View Related
How can I make the Excel and Word files to be browsed in IE, instead of
download when click the Link?
View Replies
View Related
I started to put code into my website for uploading files via the browse button and realized that the "how to" mentioned a database etc etc. Do I really need a database?
All I want is the file to be sent to an email address - info@ - with some basic information provided the user... but I did research on attaching files via email and it said that the file needs to be on the server anyway(???) - is it really that
complicated?
View Replies
View Related
How do I allow users to browse their local machine and upload a file to the server? I'm looking for the pop up window that allows the user to search for a file in their local machine. Also, once the file is in the server and the user needs to delete it, how do I do that?
View Replies
View Related
I m looking for some tutorial or code on how to browse and upload photos and in asp.
I want users to be able to browse for a photo in their hardrive and upload it to the form. this should be submitted to a database for retrieval afterwards.
View Replies
View Related
What is the easiest way to use the IIS to browse the ASP web page?
View Replies
View Related
I have no idea how to browse an image file and then view it, in this case i developed HR application that can browse their own photo and view in the page. but anyone have a script or idea for doing that?
View Replies
View Related
In IIS, when I try to browse an aspx, I get a popup message asking me if I want to open or to save the file instead of actually browsing to the page. Any idea of what could cause this issue?
View Replies
View Related
I have a IIS server somewhere hosting an aspx website. Whenever i tried
to access the website after some times, my browser will like wait about
10-20 seconds before showing the contents. But after that, subsequent
pages is load up almost instantly. The page is not heavily loaded and
every pic should be cached.
And sometimes, after 1 or 2 days didn't access the site, when i tried to
access again, it will never load up the page. My IIS server is never
shutdown running 24/7. I have to go to my IIS server and move around
with the mouse then go back to my workstation and try again in order for
it to work. (My IIS server (also my Internet gateway) will not go into
Sleep mode because i still can surf from my workstation.)
View Replies
View Related
Is it possible to have a form where people fill out their basic information and then have an option to where they can browse their files and send a file when they send the form? You know, add an attatchment like they have in email forms?
Then when the form is sent to the email address whoever received it can download the attatchment? If this can be done, can someone point me in the right direction on where to go to figure out how to do this? I dont know much about asp.
View Replies
View Related
I have a form where a user enters their name, date etc. i also want them to be able to click on a browse button and select a file which will then appear in a textbox. when they press submit i want the file name and path to be put into the database. e.g.
"C:windowsworkwork.doc".
Basically I don't want to UPLOAD the file just enable the user to browse to it and send the filename and path to the database.
View Replies
View Related
I've been trying to send a (large) file to the browser via a download
page that uses a file download component. The file downloads fine,
except that Internet Explorer refuses to browse to a different page
while the file is downloading! I don't understand why it does that
and I don't know how to fix this problem.
Any idea? Code:
View Replies
View Related
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
View Replies
View Related
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?
View Replies
View Related
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?
View Replies
View Related
I've been playing with the script at http://www.asp101.com/samples/dir_list.asp
What I want to know is if the script can be changed to 'read' from the dir it 'loads' from..
So I can just put the script is heaps of folders without having to edit the 'strPath' for each.
View Replies
View Related
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.
View Replies
View Related
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.
View Replies
View Related
I'm trying to protect a directory from users not logged in.
Let say i'm trying to protect a direcory called files.
I only want the user to acces the files when they've logged in.
http://www.sitename.com/files/filename.doc
Even though they know the name and path i want to prevent people from downloading the files.
I don't want the user to be able to send out the link to another friend without logging in.
Is this possible i'm using a wiindows server.
View Replies
View Related
I am using CDONTS with winnt and all the sent emails are sitting in the QUEUE directory in c:inetputmailroot.
View Replies
View Related
I'm trying to connect to the active directory using asp. I'm having problems with logging in, what happens is the username accepted is not the user logon name but the displayname is accpeted heres the code:
View Replies
View Related
Could anyone show me a sample, snippet, code chunk ... etc of how I can get ASP to find the Active Directory username based on a supplied email address?
For example: I want ASP to query active directory and retrieve the AD username for where user email address = 'whatever@whatever.com'
View Replies
View Related
Not sure how to address this, but...
Obviously in the SEO world, this:
http://domain.com/my-article-name
Is better than:
http://domain.com/article.asp?articleid=67
Here's the challenge though: How do you get your dynamic pages to appear as a directory rather than an asp page with a querystring? I'm fairly certain that there is a workaround to this to be able to have one dynamic asp script that appears in your address bar as a directory.
View Replies
View Related
Is there a way in asp to create a new default web site within IIS
I am setting a content managament system and want to create a new default web site during on of the processes.
So for example if people create a new site within the admin section and call it Jacinto this will create a new virtual directory called Jacinto.
This would then be accessed at http://localhost/jacinto
View Replies
View Related