Have a filestream off of my dev-box in a WebService that doesn't see where I
think it should.  My dir is off of InetPub\wwwroot\MyDir.  

FileInfo fi=new FileInfo(file);  shows theDirectory name below

DirectoryName   @"C:\WINDOWS\system32\~\Bulletin\Advertising"   
File I pass in     "~/Bulletin/Advertising/HY25-2452-M1_US.pdf"

Where is this going wrong?  This is the next set of code, and .Exists never
hits.

if (fi.Exists)
{
        string ex1="";
}
FileStream fs=fi.OpenRead();

TIA


Stephen Russell
S.R. & Associates
Memphis, TN 38115

901.246-0159 

http://spaces.msn.com/members/srussell/



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Microsofts_C_Sharp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to