FTP Recurse Directory Listing?
Feb 12, 2010
has anyone got any pointers for recursively listing the directories and file structure within an FTP space with the built in .NET FTP client, ideally I would like to bind the results to a tree view at once.
View 3 Replies
Similar Messages:
Oct 27, 2010
I made a web form on a development website of mine (we'll call it dev.somewhere.com) and tried to publish it out to the web (we'll call it [URL]) in a subfolder. I named it default.aspx like I was supposed to and it worked flawlessly on the dev site. When I published it out the web, I wound up getting the following error when trying to get to the subfolder: [URL] Directory Listing Denied
This Virtual Directory does not allow contents to be listed. Confused and flustered, I tried to go to [URL], but I wound up with some error that won't tell me the problem. Instead it tells me to change the my web.config to read <customErrors mode="Off"/>.
View 1 Replies
Mar 11, 2010
I've just started developing a web site in VS 2008. When I try and view the page (click 'start debugging') an IE window pops up displaying a directory listing of all the files in my web application directory rather than my masterpage or content. Why is this and how can I correct it?
View 2 Replies
Jan 2, 2010
I have installed blogengine and dasblog in my system.when i try to open those pages i get the folloeing error in ,my web browser
Directory Listing Denied
This Virtual Directory does not allow contents to be listed.
View 3 Replies
May 7, 2015
How can I hide the directory listing in web-browser?
View 1 Replies
Oct 5, 2010
I have set the destinationpageurl of my login control to login.aspx. On successfully logging in to my website, I get redirected to the directory listing. Why is this? What am I doing wrong?
Also, what do I need to do to not allow the user to see the directory listing ever.
View 2 Replies
Nov 1, 2010
I've seen various tutorials and scripts online which show how to create a directory tree which list the file name, size etc.My question is, I need a script that is basically a normal directory listing but it doesn't show the file extension. If anyone can even point me in the right direction it'd be of much help!
View 28 Replies
Nov 3, 2010
I have some issues regarding listing images from inside a directory. What I want to do is to create a Default.aspx page that will search and list the images located inside a folder of my website (where I simply drop them in it). I tried with a treeview, DirectoryInfo and both worked when I compiled my website with visual studio, but when I access them via another computer, I get a 404 for the page. My bet is that iis7 is blocking my code from accessing the folder containing the images. Any idea of how to fix this and make it work ?the code I use to browse in my image folder
string path = AppDomain.CurrentDomain.BaseDirectory;
DirectoryInfo diFiles = new DirectoryInfo(AppDomain.CurrentDomain.BaseDirectory + @"contentmiscimages");
foreach (var f in diFiles.GetFiles("*.jpg"))
{
Lit.Text += "<a href="" + f + ""rel="lightbox[img]" title=" + f + ">" + f + "</a>" + "<br />"; //I format the image as an url inside a literal
}
View 1 Replies
Jan 16, 2010
I am having trouble populating two dropdownlist controls with a list of files.The controls should be loaded with a list of images and paths that are held in the IDictionary object.The dropdown controls are nested in a Formview Control under the currentmode of insert or edit.Here's a clip of my form code:
[Code]....
Here's the code behind
[Code]....
[Code]....
View 3 Replies
Dec 3, 2010
In my asp.net 3.5 web site i have default.html page defined as first default document in iis 6 web site configuration window. I have URL rewriting module written and when the request for default.htm comes its pointed to default.aspx page.
View 1 Replies
Dec 13, 2010
Iam using ftp client wrapper class for accessing ftp.
iam able to download files from ftp when used in windows application
when i try to use the same code with windows service i get an error
the error is
"The underlying connection was closed: An unexpected error occurred on a receive. "
this error i get on directory listing
the stack trace is:
[Code]....
Note:
FTP is getting connected throgh service
FTP is getting connected throug FileZilla, internet explorer
soruce code:
[Code]....
View 5 Replies
Dec 20, 2010
I'm developing the most simple ASP.NET application which is giving me an annoying error.
I'm having a textbox- and a button-control, where I would like the text in the textbox to be saved to a database table when clicking the button. The text will be propagated to the database by means of a WCF service.
Since I'm a rather mediocre programmer, I tend to get errors now and then which results in lots of error messages displayed in the browser. That I can understand. I fix them and build my solution and press F5 to get going. But after fixing the errors, everytime the browser displays a directory listening like the one below instead of my astonishing UI.
Directory Listing -- /
Monday, December 20, 2010 10:10 PM <dir> bin
Saturday, December 18, 2010 10:10 PM 1,303 MainForm.aspx
Monday, December 20, 2010 10:28 PM 467 MainForm.aspx.cs
Saturday, December 18, 2010 10:09 PM 2,118 MainForm.aspx.designer.cs
Friday, December 17, 2010 10:25 PM <dir> obj
Friday, December 17, 2010 10:25 PM <dir> Properties
Sunday, December 19, 2010 10:09 PM <dir> Service References
Monday, December 20, 2010 02:01 PM 5,552 SimpleChat.csproj
Monday, December 20, 2010 02:01 PM 1,170 SimpleChat.csproj.user
Sunday, December 19, 2010 10:09 PM 1,810 Web.config
Friday, December 17, 2010 10:25 PM 1,285 Web.Debug.config
Friday, December 17, 2010 10:25 PM 1,346 Web.Release.config
Version Information: ASP.NET
Development Server 10.0.0.0
I know how to work around but its tedious: in MainForm.aspx.cs I comment the rows concerning the call to the service, then I rebuild the solution, uncomment the call to the service and rebuild the solution again. Then everything works as expected till I ran into the next bug.
View 2 Replies
May 5, 2010
I am using System.directory services namespace in framework 2 to query active directory. I have used fixed user account impersonisation in the web.config file, find the code:
<identity impersonate="true" userName="enterprise ang09" password="Telcome123"/>
<authentication mode="Windows"/>
I have disabled anonymous access in IIS. Also i have given Read & write access to the account tang09 for the website virtual directory and Microsoft.NET folder located in windows folder. But still i get prompted for the domain username and password to access the website.
View 4 Replies
Apr 10, 2014
I have a method who return list of data from database. i want to know how we can get value from list which is return by method.
public List<Company> GetCompanyInfo (int CompID)
{
db_CompanyDataContext obj_comp = new db_CompanyDataContext();
var Compnay_Info = from Cinfo in obj_comp.Companies where Cinfo.CompID == CompID
select Cinfo;
return Compnay_Info.ToList();
}
i am trying below mention statement but it gives error.
List<Company> cmp = sm.GetCompanyInfo(qry).ToList();
View 3 Replies
Oct 5, 2010
I'm trying to achieve a dynamic contact lists/info. > From the Left Column, it may contain three hyperlinks that could update the list of contact lists for a specific department office. And on the Right column, I'm planning to have a loop over the data view collection from a Model(e.g. Contacts) that will be displayed after selecting any of the hyperlink from the left column.
View 2 Replies
Jul 2, 2010
I used [URL] as a guide and have something configured to show me the users which are logged into the system. This uses the aspnet_Users.LastActivityDate column to see when someone last did something on the system. It also uses the userIsOnlineTimeWindow within the web.config to determine whether a user is online or not.
But because of this userIsOnlineTimeWindow limitation of .NET, even when someone logs out of the system or closes their browser window, the system still sees them as being online. Also, if they are on a page and don't do anything for 10 minutes, the system will show them offline until they refresh their page or go to another page. know of a better, more real-time way to tracking users which are logged in, logged out, etc?
I don't want to wait 10 minutes for the system to show that a user is offline and also if there's 10 minutes of inactivity, it shows them being offline.
View 1 Replies
Oct 18, 2010
I have started to get confused with the setting and security issues of asp.net. Hope someone could answer me. Problem 1: I am curious why we have to encrypt connection string, appsetting and more in the web.config file even though file listing is set to "not allowed" on server setting. Does it mean some strangers can still view and steal such file from server? Problem 2: I know that session id is sort of protected but could
hacker be able to change the information inside ? Let say hacker browser my webpage and some data are stored in the session cookies, could they change the information inside the session cookies?
View 1 Replies
Oct 14, 2010
I am looking to create a Career Listing Page for my website. Anyone have any idea where to start or if there's some suedo code out there?
View 2 Replies
Apr 5, 2010
I have to import the contents of a spreadsheet in my asp.net project. The code behind is c#. how to locate the spreadsheet on the user's computer and how to import the data from a given worksheet into a datable. The problem is I may not know the name of the worksheet ahead of time. How do I present the user with a list of available worksheets and have them pick one?
View 2 Replies
Apr 20, 2010
I am having trouble listing two columns from a SQL database into a DDL. I dont want to concatenate them but just want to list them down as a list in the DDL.Here is the code for the DDL which currently is concatenating the two fields:
<asp:DropDownList ID="DropDownList10" runat="server"
DataSourceID="SqlDataSource3" DataTextField="Vendor_Name"
DataValueField="Vendor_Name"
[code]...
View 7 Replies
Mar 23, 2011
I am trying to tweak a ASP intranet website that was created for my company. It uses a control to show all files in a folder, so they can be selected with ease by our employees. What I would like to do if possible is set it up where if a new form is added a bubble notification will appear next to the tabbed section. See the image below to see what I am refering to. I spoke to our site designer and he stated it is not possible. I feel that with all the creative minds in the world anything is possible. [URL]
View 2 Replies
Feb 17, 2011
I am sorting the grid using DataView's "Sort" property. I am passing sort expression and the order in which the grid is to be sorted(ASC or DESC). But the problem is, since the column on which I am sorting the grid is listing the intergers, the sorting is happening as if it is a string. But I need integer sorting rather string sorting on that column.
The grid displays below as ascending order(string sorting)
55
77
8
But I need the columns to be displayed like this(Integer sorting)
8
55
77
View 2 Replies
Feb 22, 2010
I have a problem, i have a gridview populated with items and in the pager i have controls for previous and next and a dropdownlist that shows the total number of pages. I also have a search function to search for item.
if i for exemple search for *egg* i get a number of results and the ddl is populated with total number of pages for the searchterm. but if i click on the button for "next" the search result disapear and i get all the pages back (because of the postback) but how do i do to keep the state of the īsearch so that i can use the next and previous buttons and the ddl listing of pages, depending on the search?
View 5 Replies
Mar 9, 2011
I have sucessfully published a couple of WebMatrix sites withour a problem but this time I'm stumped. When I try to visit the new site all I get is a directory listing of my files and folders. The home page does not show.
View 4 Replies
Feb 1, 2010
I currently have a gridview that is displaying tabular data from an sqldatasource that looks something like this:
[code]....
Since I have an unpredictable number of categories coming from the database, I would like to continue to use a single datasource with only one query to the database. There is no editing, it is simply for display purposes. What's the simplest way?
View 1 Replies