[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 236
  • Last Modified:

Download Link for Audio

Hello, all.

This is related to a prior EE thread I closed a few days ago:

http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/ASP/Q_27861215.html


The objective was to simply have a dedicated "download" link for a list of audio; so, it would pop up at "Save" dialog box so you can choose where to save your audio file.

It was working perfectly for a couple of days, then suddenly... it stopped.

I can't find anything different.

It is pulling from an Access database recordset.

The destination file ("dwdfile.asp") has a little markup to extract the file name from the string; and it was working great a few days ago.

Here is the link you can view:  http://islandchurchofwhidbey.org/testdownload.asp

It will take you to a page that says "This webpage is not found", and then it gives the path.. but the file is definitely there.

(I tried to attach the 2 ".asp" files, but it will not allow me.  Is there another way I can attach them?)

Please help.

Thanks!
Shane
<a href="http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/ASP/Q_27861215.html">http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/ASP/Q_27861215.html</a>

Open in new window

0
lshane
Asked:
lshane
  • 5
  • 3
1 Solution
 
Wayne BarronCommented:
You links on the page are given the following error when clicked on.

This webpage is not found

So it is going to be hard to see what is going on, when the links are dead.
-----
As for the code, you might want to get "manumd" back in here and have him assist you with his code, if it is broke.

I would go into the last post, and ask him to come into this one, and assist you with it.

Carrzkiss
0
 
lshaneAuthor Commented:
Thanks, Carrzkiss.

Well, I know it seems like it is broken, but... the path in the URL is correct... and the file definitely does exist at that location.

This was working perfectly a couple of days ago, and I haven't touched the files, since then.


I posted a message on the other thread asking "manumd" to join over - unless anyone else has any ideas.


Can I attach my 2 ".asp" files somehow?  (The "Attach File" link below does not allow classic ".asp" files to be uploaded).
0
 
Wayne BarronCommented:
rename them to .asp.txt
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
lshaneAuthor Commented:
Thanks, Carrzkiss.

I have attached the 2 files.
testdownload.asp.txt
dwdfile.asp.txt
0
 
lshaneAuthor Commented:
Hmmm - all my audio is in that directory path, though.

There must be a way.

Any other ideas out there?
0
 
Wayne BarronCommented:
attach a sample of your database.
And make sure that it will work with the 2 files that you have provided here.
This way I will be able to test it out for you on my end.
Make sure that the data in the database, is exactly as you have it in the live database.
0
 
Wayne BarronCommented:
I got to thinking about something.

Line 12
iPosStart = InStrRev(sFileUrl, "/")
dwdfile.asp

Open in new window

Try changing it to this.

Line 12
iPosStart = InStrRev(sFileUrl, "/audio-player/sermons/")
dwdfile.asp

Open in new window


Run it like this
http://islandchurchofwhidbey.org/dwdfile.asp?dwdfile=eddie_haskel_parable_.mp3

And see if it runs right.
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now