GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Can you set up files for download without zipping them? (https://gfy.com/showthread.php?t=347196)

stocktrader23 08-27-2004 03:49 AM

Can you set up files for download without zipping them?
 
Anyone know how?

mind 08-27-2004 04:05 AM

huh?

stocktrader23 08-27-2004 04:09 AM

Quote:

Originally posted by mind
huh?
I want to let someone download several files from my server without me zipping them first.

mind 08-27-2004 04:11 AM

hm..to the extend of my knowledge thats not possible - atleast not without using some sort of scripting.

stocktrader23 08-27-2004 04:12 AM

Quote:

Originally posted by mind
hm..to the extend of my knowledge thats not possible - atleast not without using some sort of scripting.
Oh well.

woj 08-27-2004 04:12 AM

you can zip them on the server, does that do you any good?

stocktrader23 08-27-2004 04:14 AM

Quote:

Originally posted by woj
you can zip them on the server, does that do you any good?
Don't think so. I just didn't want anyone to have to go unzip them. All files combined are only like 25k.

graphicsbytia 08-27-2004 04:56 AM

why not just make a directory with no index and put them in there

stocktrader23 08-27-2004 04:57 AM

Quote:

Originally posted by graphicsbytia
why not just make a directory with no index and put them in there
html files.

beemk 08-27-2004 04:59 AM

they cant have ftp access? theres those programs that people use to leech the members areas.... mabye something like that would work.

graphicsbytia 08-27-2004 04:59 AM

it'll still work as long as one of them isn't named index.html or index.htm

stocktrader23 08-27-2004 05:02 AM

Quote:

Originally posted by graphicsbytia
it'll still work as long as one of them isn't named index.html or index.htm
I know but this is for the computer illiterate. Only takes 2 seconds to download a zip, was just trying to make them download all together without worrying about it.

No biggie.

graphicsbytia 08-27-2004 05:36 AM

ahh ok.. I see now

it's hard dealing with someone who doesn't know much about computers.. too bad they don't have servu set up on their computer, then you could just go right onto their hard drive.. ever try that program? It's pretty cool

Stramm 08-27-2004 07:11 AM

you can write a lil php proggie that zips files and/ or dirs on the fly and offers to download the zip. When connection is closed it deletes the temp zip.

edit: sorry... zip doesn't work for you :(

but if it's txt files you can let php read the contents and display them in the browser, lol

Stramm 08-27-2004 07:32 AM

PHP Code:

<? 
$filename = $_GET['file'];
header("Content-Type: application/force-download"); 
header("Content-Dishahahahahahahahahaha attachment; filename=".basename($filename).";");
header("Content-Transfer-Encoding: binary"); 
header("Content-Length: ".filesize($filename)); 
readfile("$filename"); 
?>

save as down.php
call with domain/down.php?file=main.html

forces main.html to download

Fake Nick 08-27-2004 07:36 AM

I hope this isn't an idiots only thread. But why don't you just let him right click and "save target as" . I know it sounds very complicated but you should give it a try.

Just make a html file with a link to the htm file you want this guy to download . Under this link you place the text "Hi **** just right click this link then choose "save target as" and downloading will start" .

Once again I hope this wasn't an idiots only thread .

Basic_man 08-27-2004 07:37 AM

I don't understand..!?

rowan 08-27-2004 07:56 AM

If he's downloading to a PC then make a self-extracting ZIP file. All he has to do is save target as..., and then double click on it to extract it.


All times are GMT -7. The time now is 09:20 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123