|
Hello!
I am getting an error while trying to run CFmx code on a remote host. Directory Listing Denied This Virtual Directory does not allow contents to be listed.
I did my coding on my "LocalHost". Then for testing ,I copied it to a remote host "ChicaDevTestApp...
Started by vas on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Open up IIS Manager, and select your virtual directory....
This setting a Default Document for that directory (the aug20 directory)...
Sounds like the virtual directory is not set up in IIS to enable directory listing.
|
|
Whenever I list the contents of a directory with a function like readdir, the returned file names also include "." and "..". I have the suspicion that these are just normal links in the file system and therefore indistinguishable from actual files, but...
Started by Lemming on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
These are normal directories....
Without them, we cannot do such things as:
./run_this
Indeed, we couldn't add .
Or get a handle to the current directory.
One reason is that without them there is no way to get to the parent directory.
|
|
Here is the scenario. I have a directory with 2+ million files. The code I have below writes out all the files in about 90 minutes. Does anybody have a way to speed it up or make this code more efficent? I'd also like to only write out the file names ...
Started by Mike on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
The first thing I would need to know is, where's the slow down? is it taking 89 minutes for Directory.GetFiles() to execute or is the delay spread out over the calls to FileInfo file_info = new FileInfo(file); ?
If the delay is from the latter, you can... .
|
Ask your Facebook Friends
|
I've currently got:
ls -1 $(pwd)/*
Gives me all the files in a directory with absolute paths - but formats it with the directory at the start of each list of files.
Is there a way just to get a list of files in a directory recursively (absolute paths)...
Answer Snippets (Read the full thread at stackoverflow):
-type f -print0 | xargs --null --no-run-if-empty grep.
E.g.: find.
Find $(pwd) -type f -print
or
find $(pwd) -type f -ls
If you are feeding it into something else, you might want -print0 (to handle filenames with spaces) .
|
|
How do I get a a list of files from a web directory? If I access the web directory URL the internet browser list all the files in that directory. Now I just want to get that list in C# and download them in BITS (Background Intelligent Transfer Service...
Started by Eric on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Unfortunately, there's no standard on how....
About "get that list in C#" part.
The CodePlex project looks really good but I haven't tried it .
If the Web Server allows to list the files the directory in question, you're good to go.
|
|
Is there a way to make a Security List in Active Directory not also act as a Distribution List?
Started by ahsteele on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
Distribution groups, security groups can also be used as an e-mail entity" ( Active Directory )
Only if you.
|
|
Do you have a new directory or even and existing directory you wish to promote? You can submit your directory for listing at web directory list free of charge.
All you need to do is visit the site, use the directory suggestion form found here to tell ...
Started by povidiu on
, 11 posts
by 11 people.
Answer Snippets (Read the full thread at webcosmoforums):
Cool site with wp rendering.I have submitted my directory for approval.I hope i....
Nice directory, thanks for the link.
I submitted my directory nepalisites.org
Hope it will be approved.
Nice!
Good directory made in wordpress.
|
|
How do I get a list of all files (and directories) in a given directory in Python?
Started by Matt on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Every file and directory in a directory tree:
import os for dirname, dirnames, filenames in os.walk.
|
|
Suppose i have a directory /dir inside which there are 3 symlinks to other directories /dir/dir11, /dir/dir12 , /dir/dir13 etc., I want to list all the files in dir including the ones in dir11, dir12 and dir13.
To be more generic, i want to list all files...
Answer Snippets (Read the full thread at stackoverflow):
Follow means it will follow your directory symlinks
-print will cause it to display the filenames.
|
|
How do I list all tga files in a directory (non recursive) in Python?
Started by Joan Venge on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
This:
import os directory = "C:/" extension = ".tga" list_of_files = [file for file in os.listdir>>> import os >>> for file in [tga for tga in os.listdir(directory(directory) if file.lower().endswith(extension....
|