Zen Cart Logo
Forums / General Questions / Moved Download Folder Out of Directory Need Answers

Moved Download Folder Out of Directory Need Answers

Locked

Views: 816

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
20 May 2009, 1:41 PM
#1
ahillworks avatar

ahillworks

New Zenner

Join Date:
May 2009
Posts:
9
Plugin Contributions:
0

Moved Download Folder Out of Directory Need Answers

Ok so I host threw Network Solutions. I have moved the downloads folder out of the sites directory to pertect it and it works no issues. BUTTTTTTTT........... Here is the thing.
I have greated a basic html index file to play a flash player and flash file I want my customers to watch. All of the files are in the downloads folder but the video never loads when I try it.

Directory as follows: Hcd - Downloads
My site store is: Hcd - Site - Store

Can anyone tell me why the video will not play when I try it?
And should I just move the downloads folder back to the site directory like hcd - site - downloads??????

All the help would be great.

21 May 2009, 7:07 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Moved Download Folder Out of Directory Need Answers

If you want customers to be able to run a html file that contains references to other scripts in other folders on a website, then all the referenced files have to be accessible from any browser. Maybe you need to rework how you're referencing the flash file ... maybe keep it in a publicly-reachable folder, but keep other content elsewhere.

22 May 2009, 12:31 AM
#3
ahillworks avatar

ahillworks

New Zenner

Join Date:
May 2009
Posts:
9
Plugin Contributions:
0

Re: Moved Download Folder Out of Directory Need Answers

Has any one else been able to do this same thing and get it to work. I have even moved the download folder to my directory and it still does not work. When I place the same html page on my site in a directory with all the files it works. When I upload all the same files to download it does not work.

When I tell the html file to possible go to a location not in the downloads file it does not work. Is there a reason this html file will not load like it should when in the download file. Is something stopping my flv file from playing with a swf player???????

22 May 2009, 3:06 AM
#4
ahillworks avatar

ahillworks

New Zenner

Join Date:
May 2009
Posts:
9
Plugin Contributions:
0

Re: Moved Download Folder Out of Directory Need Answers

Ok some one please answer this for me its driving me crazy. Ok so when you purchase a product on my site it goes to a html page in the download folder. When the html site loads its supposed to play a flash video. When i try my code it does not work. I have tried just about it all but there are somethings i may not have tried... For example take that same html page and take my code out of it and them replace my code with youtubes code in like example code:<object width="873" height="525"><param name="movie" value="http://www.youtube.com/v/fZpveqd-x6Q&hl=en&fs=1&border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/fZpveqd-x6Q&hl=en&fs=1&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="873" height="525"></embed></object> and then save it and then try the product order again and then look at there the youtube video plays when the html page loads.

Ok so can some one please tell me is there a way to make my own code like youtubes to make my flash video play? If so and if you know such code please post it in this post.

Thank you so much for reading.