Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_discuss thread: how to open a file


Message #1 by "len sunga" <len_sunga@y...> on Thu, 23 May 2002 12:39:26
how do i open a file using a link in my page?

i am using a tag <a href="./attachment/trial.smb">. i want to open the 
file with notepad. however, it's not working. it generates an error 
message that says, cannot be accessed... make sure path is correct.

i'll appreciate all the help. thanks.
Message #2 by "John Cardiff" <jimihendrix@t...> on Fri, 24 May 2002 13:57:33
I am not an expert but as no one has answered you yet here is a thought.
Have you got notepad to open *.smb files outside of asp?
Also do you really mean "./" Why not start at the root ie 
c:/path/attachment/trial.smb? in case asp thinks you are in an other 
directory?
Message #3 by len sunga <len_sunga@y...> on Fri, 24 May 2002 21:50:09 -0700 (PDT)
--0-477234508-1022302209=:58377
Content-Type: text/plain; charset=us-ascii


 thanks for the reply.
yes, smb files could be opened using notepad.
i also tried using the exact path which is C:/len/attachment/trial.smb. however, it still won't work. 
is it possible that there are some missing program files which is why i can't open it? just a thought. 
  John Cardiff <jimihendrix@t...> wrote: 
I am not an expert but as no one has answered you yet here is a thought.
Have you got notepad to open *.smb files outside of asp?
Also do you really mean "./" Why not start at the root ie 
c:/path/attachment/trial.smb? in case asp thinks you are in an other 
directory?


---------------------------------
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
Message #4 by "John" <jimihendrix@t...> on Sat, 25 May 2002 21:59:59 +0100
This is a multi-part message in MIME format.

------=_NextPart_000_000A_01C20437.83AFBCC0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Could it be that asp just doesn't know that smb is associated with 
notepad or doesn't know where notepad is.
  ----- Original Message -----
  From: len sunga
  To: asp_discuss
  Sent: Saturday, May 25, 2002 5:50 AM
  Subject: [asp_discuss] Re: how to open a file


  thanks for the reply.

  yes, smb files could be opened using notepad.

  i also tried using the exact path which is 
C:/len/attachment/trial.smb. however, it still won't work.

  is it possible that there are some missing program files which is why 
i can't open it? just a thought.

    John Cardiff <jimihendrix@t...> wrote:


    I am not an expert but as no one has answered you yet here is a 
thought.
    Have you got notepad to open *.smb files outside of asp?
    Also do you really mean "./" Why not start at the root ie
    c:/path/attachment/trial.smb? in case asp thinks you are in an other 

    directory?




-------------------------------------------------------------------------
-----
  Do You Yahoo!?
  Yahoo! - Official partner of 2002 FIFA World Cup --- Change your mail 
options at http://p2p.wrox.com/manager.asp or to unsubscribe send a 
blank email to 




  Return to Index