Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 28th, 2007, 05:07 PM
deepquiet25
Guest
 
Posts: n/a
Default I need search a file on my server

 Hello! orry, I'm not english, and I don't speak it language very well.

I want to search a file in one of the folders of my ASP.NET WebSite. I'm using c# and I want to search the file.

I used
string[] t = Directory.GetDirectories("\\ArchAudio");

but I don't know how to set my web server like the root directory.
If I use Directory.SetCurrentDirectory("~"); it fails

Anyone could help me?

Thank you!






Similar Threads
Thread Thread Starter Forum Replies Last Post
File Search ybg1 Access 2 October 10th, 2007 02:09 AM
Search a file on my server deepquiet25 C# 5 August 29th, 2007 02:21 AM
Regarding search in SQL SERVER 2005 comvidyarthi SQL Language 0 March 27th, 2007 09:35 AM
File Search / Indexing Search with .net 2.0 maulik77 ASP.NET 1.0 and 1.1 Basics 2 March 15th, 2007 12:45 AM
Search for a particular file snowydust VB How-To 0 July 19th, 2004 05:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.