Re: Creating a file that can be seen in the browser



Thanks for your followup Dave,

So when using C#, you can correctly create the temp file in that folder and
also read it later, yes? If so, the NTFS file permission should be ok.
Also, since you're going to read the file, why don't you use the
FileInputStream instead of FileOutputStream?

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
| Thread-Topic: Creating a file that can be seen in the browser
| thread-index: AcYH6bgPMHlxvP/IQnmTHNZzAHo7hw==
| X-WBNR-Posting-Host: 199.45.247.98
| From: "=?Utf-8?B?RGF2aWQgVGhpZWxlbg==?=" <thielen@xxxxxxxxxxxxx>
| References: <FF8E0EB4-A61A-4CAD-A76A-EA525E8E2A87@xxxxxxxxxxxxx>
<eYtfnxaBGHA.1864@xxxxxxxxxxxxxxxxxxxx>
<CBFEA6D6-57D8-4215-A3D9-4F85DFD9A56D@xxxxxxxxxxxxx>
<Fnh7AShBGHA.2560@xxxxxxxxxxxxxxxxxxxxx>
<04FCF1C2-A403-402E-BD9C-7983EFD17FFD@xxxxxxxxxxxxx>
<G83puh6BGHA.1236@xxxxxxxxxxxxxxxxxxxxx>
| Subject: Re: Creating a file that can be seen in the browser
| Date: Fri, 23 Dec 2005 09:53:02 -0800
| Lines: 14
| Message-ID: <C51EEF45-CA78-4DD3-85CF-76D97599F0FA@xxxxxxxxxxxxx>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:366817
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi;
|
| It appears to be a J# issue.
|
| string filename = Request.PhysicalApplicationPath + "images\\tmp_" + fn +
| ".txt";
| FileStream fs = new FileStream(filename, FileMode.Create,
FileAccess.Write,
| FileShare.ReadWrite);
| works.
|
| But using J# new FileOutputStream() for the png fails.
|
| thanks - dave
|
|

.



Relevant Pages

  • Re: Need help on modifying and assembly of a small program!
    ... "broken"...every other "main" browser handles the situation correctly, ... per the W3C standards and RFCs that they should... ... Microsoft won't listen to "put a human on the end of the postmaster ... have two hard drives in it (one 15GB, the other 4GB...yes, not too great by ...
    (alt.lang.asm)
  • Re: Microsoft Browser Under Scrutiny
    ... I already know this, I subscribe to Microsoft Security Updates, and I have ... especially Outlook and Internet Explorer. ... > ubiquitous Internet Explorer browser. ...
    (microsoft.public.windowsxp.general)
  • Re: Microsoft Browser Under Scrutiny
    ... I already know this, I subscribe to Microsoft Security Updates, and I have ... especially Outlook and Internet Explorer. ... > ubiquitous Internet Explorer browser. ...
    (microsoft.public.windowsxp.basics)
  • Re: Microsoft Browser Under Scrutiny
    ... I already know this, I subscribe to Microsoft Security Updates, and I have ... especially Outlook and Internet Explorer. ... > ubiquitous Internet Explorer browser. ...
    (microsoft.public.windowsxp.newusers)
  • Re: Microsoft Browser Under Scrutiny
    ... Of course you hate anything to do with Windows, ... It's been a bad week for many users of Microsoft Corp.'s nearly ... ubiquitous Internet Explorer browser. ... chief technology officer of the nonprofit SANS Internet Security Center. ...
    (microsoft.public.windowsxp.basics)

Loading