I'm trying to create a folder under D: emp with new folder name xyz I have given permission to temp folder full control and also added users iwam_machinename and iusr_bhavin.
I have also set up read and write access in my application. When I try to execute script, it doesnt show any error but nothing comes up on the screen and Server gets hanged.
I m creating a cookies in my application and it work properly but i can't see the cookies where it will sotred i checked the cookies folder but i didn't find that I want to create a cookies file as the other web site create and store where other cookies will stored in Cookies folder or Temprory Internet files folder eg:1. arvind@google.co[1].txt this stored in cookies folder 2. arvind@msn[2].txt ....
Does anyone know of an asp script, online somewhere, that I can use to find out the permissions of a folder? My ISP says these folders have full permissions, but my programs say "permission denied". I don't know if it is the programming, or if the folder don't really have the right permissions.
I have a folder with about 40 swf training movies. I want to loop through the folder and display the titles of the movies and make them links.I just need help getting pointed in the right direction to make this happen.
I am wriging a web application which cosists of a main directory with all the main code, and a subdirectory with the administration features. althogh the two locations will share configuration resources, I need to protect the admin folder from unauthorised access. I know that in apache their is some kind of authentication (I think it is used through an ".htaccess" command or someting) and I'm wanting to do a similar thing in ASP.
I have a script which allows a user to upload and delete files from the server.Is it possible (and if so how) to do a check to see if the folder is empty (ie if the last file in a particular folder is deleted by a user) and if it is empty, delete the folder?
im having a problem with folder path in include files. I have a solution, but there must be a way better one. The problem is when i have an include file... menu.inc in my root directory root/. This menu.inc references images in the root/images/ folder. I also have an articles folder root/articles/. The menu.inc is included in files in the articles folder, however this messes up the image paths and files in the articles folder are looking for the images in root/articles/images/. to combat this, in front of every image reference in my menu.inc file, i have a variable <%= pathVar %>. At the top of every file in the articles folder, i have the command <% pathVar = "../" %>. this will insert a ../ before the images folder in the reference therfore correcting the image reference. In the root folder I use <% pathVar = "" %> , so the <%= pathVar %> amounts to nothing leaving the paths correct. This works, however means having to switch from HTML to ASP mode for every image in the include file, which is not efficient. Is there a better way around the path problem.
I've managed to get file listings, do textstreams, move around in the file system a bit, just wondering how I get folder listings as I would file listings... Here's what I've tried, but it's not quite working:
Set objFile=objFSO.GetFile(strPhysicalPath) Set objFolder=objFile.ParentFolder Set objFolderFolders=objFolder.Folders
For Each objFolderItem in objFolderFolders mess=mess & "<tr><td><a href=""" & objFileItem.Name & """>" & objFolderItem.Name & "</td><td></td><td></td><td></td><td></td></tr>" Next [/vbs]
I want to allow a user to select a windows folder for reading. I have tried to work it out without success. Can anyone help me out or point me in the right direction. I am an experienced VB6 programmer but this is my first ASP.Net project.
how to download .mdb file from the db folder. I had written .asp file to download that .mdb file. By programming it to copy .mdb file from db folder to httpdocus folder,but say one error that is Permission Denied !
I had tried another way that is converting tables to .xml file and downloading it - Its Working When i tried convert .xml file to table - Here, I need coding for conversion.
I use breadcrumbs for navigation I have a folder called College Students in WWWRoot in college students i have a page called mainpage.shtml when i open the page like this www.abc.com/college students/mainpage.shtml i see the breadcrumbs like this Home >> College%20Students >> Students List but i want to see it like this Home >>College Students >> Students List Students List is the title of the page Can someone tell me how to get rid of those %20 that i see when i have spaces in my folder name
I am looking to pull the contents of a folder and display them. I have been able to do this from the code below but only from a local folder. I would love to be able to get the contents from a web folder. Code:
I'm trying to delete files and folders using FSO. But everytime i run the script, it took very long time to run and files or folders weren't deleted. Here's the script : Code:
I developed an ASP intranet solution but I have problems with the DeleteFolder command. If I try to delete a folder without subfolders everything goes fine. If I add some files in the folder that must be deleted it is going to be ok. I can also add some subfolders and I don't have problems but when I add more subfolders with other subfolders and files I get an error of forbidden authorization on the line where there is the DeleteFolder command. This happens randomly and sometimes I can see that only a subfolder hasn't been deleted (while the rest is deleted from the hard disk). If I try to delete it normally windows tell me that I can't delete it! I have to reboot my system in order to delete it!
I checked the permissions and everything seems ok. I can delete specific files and folders but I can't understand why I get this problem.
how can i allow access to a shared network folder? i am trying to give access to my as pages only. i don't want just anyone to type in the path of my files. i can't seem to do this with a shared folder.
Can any one give the code or the link of how 2 upload a folder consisting of some excel files without using a 3rd party component.Remember i should upload the folder at one click.
i want to view a share folder that just for people have permission only to open this folder. so, i must key in a domain password to view share folder. now, how to i post password to server and check in server. if password collect,i will view this folder.
I am trying to use ASP to create a folder. I went looking on the internet and found one I could use but it doesnt work.
POST DATA: nf=music
<html> <body> <% dim fs,f set fs=Server.CreateObject("Scripting.FileSystemObject") set f=fs.CreateFolder("I:Inetpubwwwroot" & Request.Form("nf") & "") set f=nothing set fs=nothing %> </body> </html>
I have a control panel page, and I'd like it to be able to access a folder that may contain numerous databases. How do I get a listbox to list all the names of the databases in a certain folder on the server?
how to check whether the folder name contains certain word.. Let's say I have a folder "Management", I want to check if there is a word "manage". Should I use FolderExist command or how?