Forums

ASP

This topic is locked

pure asp upload path need help once again

Posted 28 Sep 2003 05:47:37
1
has voted
28 Sep 2003 05:47:37 joe cerami posted:
i need help i want to use
prefix with full path so the path shows in the file name in my database
the question is why does it put the directory in front of the path example


/client/../../uploadMP3/cerami2/CADILLAC BLUES/03 - Love For Sale.mp3

client is the folder the asp upload is in

how am i suppose to use the path to hyperlink it to the page with it this way

i need it to be this way ../../uploadMP3/cerami2/CADILLAC BLUES/03 - Love For Sale.mp3

is there a fix in this program so it takes out the folder name client out of the path

can this be done ? this is very inportent for my site top work the wasy i need it to

please help me i am desparate.......

Replies

Replied 29 Sep 2003 05:00:01
29 Sep 2003 05:00:01 asp1 asp1 replied:
Just store the filename only to the database. make you on your page something like this.

<a href="../../uploadMP3/cerami2/CADILLAC BLUES/<%=(rsYOUR_RECORDSET.Fields.Item("FIELD NAME".Value)%>">

That will work for sure!!

Reply to this topic