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:
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?
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:
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.
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?
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?
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...
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?
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?
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.
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?
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?
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.)
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.
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.
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.
I have a website that we display images we have saved into a SQL Server 2000 database as binary BLOB. This is on a Windows 2003 Server. Just recently (a week ago) this website began to save the images it is displaying on the website as ASP pages in the Temporary Internet Files > IE.Content > Folder.
We have other websites where we use the exact same code and these do not save files on the server when they are displayed.
Here is the code to display the image: Set rs = objConn.Execute( SQL ) Response.ContentType = "application/octet-stream" Response.BinaryWrite rs("Product_Image")
SQL is the SQL String to get the image from database
When I add this code:
Response.ContentType = "image/jpeg"
The images still display on the website, but now are saved in the Temporary Internet Files folder as JPG's.
Can a php file be executed inside an asp file? I need to execute a php file in another asp file but i'm not so sure it's possible. My server can run both asp and php and they run without any problems... I just need to find a way to include the execution results of the php file in the asp one. Is it possible to use SSI and include the executed php file and then the executed asp file in a main ssi file?
I have installed PWS in windows 98 in each of the system at various places and put my Sales program files in the WWWROOT directory in all the branches. I'm afraid that the users may tamper my ASP files. Is there any way of converting .ASP files to .exe files so that the dont see my program.
I was wondering how some sites let you search by using a form, then present the results as static .htm files.
The reason I ask is that I tend to use ASP to process form information, then give the user a list of results presented on an .asp page. The list is simply drawn from a database in real-time and formatted into a template page.
The problem with this is that search engines can't see any of the information in the database, since they can't do the form submission. Is there a way around this?
When DLLs are compiled in VB, in addition to the dll, there are also exp and .lib files created. Can somebody tell me what these are for? Do I need to include them when I deploy my application?
I want to include just the result of a PHP file within an ASP file. <--#include won't work, it just imports the text.Is there an alternate way to do this?
Checking our IIS log files we often get the chinese bots probing our sites. My only concern at the moment is that when an item is called by ID (i.e. select category from table where categoryid = id) and the id is called from either a querystring or a form request, I use CLng (i.e. CLng(request.querystring("id")) to convert the id to a long int to prevent the bots injecting the variable with any non-numeric characters.
IYHO, if I have say 10 different product categories that extract their data from say 10 text files or an Access DB, is it more efficient to have an ASP for each product category to query each section or 1 which parses the lot?? The only reason I am asking is for multiple user access I have this strange belief that if 1 page is getting requested and queried by 10 simultaneous visitors then 'spreading the load' on different pages would help. Is my logic correct or do the ISP fairies have this in hand??
when the user submit a form, all the form data's will be saved as a pdf file is it possible? yes means. by what way we can get this..? For doing this we have to use any third party tools..?
i want to know what is the difference between using a .asp include file and .inc include file.I know how an Asp Include file works , but some place i have seen .Inc as Include file. What is the difference?