|
|
|
 |

August 13th, 2003, 02:10 PM
|
 |
Major General
|
|
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: OT:Is this the right forum for HTML help?
It's the easy way out, but then it's harder for the one's downloading as it then wants to owerwrite the previous zipped turn.
They would also have to download it and unpack it to verify that it is indeed the latest turn and that I haven't messed up.
With the turn number in the file name it's easier for both them and me to know that all is ok.
I'd prefer to keep it to PBW standards.
[ August 13, 2003, 13:12: Message edited by: Ruatha ]
|

August 13th, 2003, 02:27 PM
|
General
|
|
Join Date: Jul 2001
Location: Canada
Posts: 4,603
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: OT:Is this the right forum for HTML help?
here is the article that explains it in php
http://www.devshed.com/Server_Side/P...ion/page1.html
http://newdev.com/ws/?downloading has a perl script called down ad which is a downloader
http://www.sitepoint.com/article/1156
article on how to write a perl script on downloadin files
perhaps the best way to do it is to set up a script to read the directory of contents ( only put that file in there) then pass this info over to your download part... as you now know the name. That way you do not have to rename the file every time
or do what sj said so you can download that file.
__________________
RRRRRRRRRRAAAAAGGGGGGGGGHHHHH
old avatar = http://www.shrapnelgames.com/cgi-bin...1051567998.jpg
Hey GUTB where did you go...???
He is still driving his mighty armada at 3 miles per month along the interstellar highway bypass and will be arriving shortly
|

August 13th, 2003, 02:28 PM
|
General
|
|
Join Date: Jul 2001
Location: Canada
Posts: 4,603
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: OT:Is this the right forum for HTML help?
i guess if you read the directory of contents... then you can just let them download what ever...
__________________
RRRRRRRRRRAAAAAGGGGGGGGGHHHHH
old avatar = http://www.shrapnelgames.com/cgi-bin...1051567998.jpg
Hey GUTB where did you go...???
He is still driving his mighty armada at 3 miles per month along the interstellar highway bypass and will be arriving shortly
|

August 13th, 2003, 03:03 PM
|
 |
Major General
|
|
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: OT:Is this the right forum for HTML help?
I have been pointing to the directory so far but I don't think that's a "nice" solution.
Will check the links.
The "down ad" wants a fixed filename I belive...
Will check how to do it myself then,
thanx
[ August 13, 2003, 14:09: Message edited by: Ruatha ]
|

August 13th, 2003, 03:16 PM
|
 |
Major General
|
|
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: OT:Is this the right forum for HTML help?
Darned again.
The do it yourself works for me, but you have a fixed filename....
http://ruatha.homelinux.org/test.htm
[ August 13, 2003, 14:32: Message edited by: Ruatha ]
|

August 13th, 2003, 03:29 PM
|
Major
|
|
Join Date: Nov 2000
Location: Biddeford, ME, USA
Posts: 1,007
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: OT:Is this the right forum for HTML help?
It's too bad you can't use ASP. I have a script that lists contents of any folder / file. You can sort, hide certain extensions, etc. I use it VERY frequently in our Intranet for issues just such as yours....
|

August 13th, 2003, 03:31 PM
|
General
|
|
Join Date: Jul 2001
Location: Canada
Posts: 4,603
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: OT:Is this the right forum for HTML help?
here is how you do that in php
this file will read everything in the directory and the person can right click and save as
just put this as a file in the directory and then call it download.php or something and get the person to link to that. you can add stuff to it etc... to make it all pretty like
1060781471.zip
__________________
RRRRRRRRRRAAAAAGGGGGGGGGHHHHH
old avatar = http://www.shrapnelgames.com/cgi-bin...1051567998.jpg
Hey GUTB where did you go...???
He is still driving his mighty armada at 3 miles per month along the interstellar highway bypass and will be arriving shortly
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|