PDA

View Full Version : Uploading big files (300 megs +)


DrkFusion
02-21-2005, 01:27 AM
Now I know that it may not be meant to upload a 300 meg file, but I waswondering if it is possible (and if a script can be provided - that canbe modified to my likings to incorporate member system etc) to upload300 meg files via php (ftp? function) to a directory on the server.

sabret00the
02-21-2005, 08:41 AM
yes it is possible www.yousendit.com do it with asp i think

Beermonster
02-21-2005, 10:40 AM
A guy I know made a simple script that shouldn't be to hard to intergrate with VB there is a demo here http://webdev.mtnpeak.net/fileupload/

and you can download it from http://webdev.mtnpeak.net/?pg=php

Zachery
02-21-2005, 03:19 PM
Now I know that it may not be meant to upload a 300 meg file, but I waswondering if it is possible (and if a script can be provided - that canbe modified to my likings to incorporate member system etc) to upload300 meg files via php (ftp? function) to a directory on the server.
Sure, however that script will need to run at least as long as the upload will take ;)

miz
02-21-2005, 08:08 PM
set_time_limit(0);

can slove the problem i think

but its will be sucks any way
heh

Zachery
02-22-2005, 12:14 AM
set_time_limit(0);

can slove the problem i think

but its will be sucks any way
heh
Not all hosts allow that ;)

DrkFusion
02-23-2005, 03:16 AM
I am looking for a script based (possibly FTP) which will allow me to upload the file to a specific folder set by me. I will see what I can whip together - I remember I tried this a couple of times.

DrkFusion
03-02-2005, 09:49 PM
*bump*

Uranium-235
03-03-2005, 02:02 AM
it's more complicated then that

you need to change your PHP configuration. Yourupload_max_filesizeandpost_max_size would have to be changed to 300M oraboveifyour'eplanning on using a form to upload the file

if you're planning on opening the file in PHP, your memory_limit will also have to be above 300M

there's a bug in VB, if I try and edit this post and put spacesbetweenand & post and your'e & planning, it won't take effect