PDA

Click to See Complete Forum and Search --> : FTP uploads from a web page?


TheGoldenShogun
Apr 25th, 2002, 11:49 AM
I'm trying to allow members the ability to upload files directly from my website... I found a php upload script that works for single files, and there's a size limit. I want to allow my members to upload large folders full of images, sometimes up to 200 MB.

Any ideas or modules anyone heard of?

Thanks

scoutt
Apr 25th, 2002, 12:45 PM
if I am not mistaken php defaults to 2mb uploads. if you don't have access to the php.ini file then you are out of luck.

why is this here if this relates to php?

anyway why don't you edit that file to do a loop on the arrays you creat to upload 5-10 files at once. if you get anymore it might time-out on you.

TheGoldenShogun
Apr 25th, 2002, 01:20 PM
whoops, thought I clicked on the PHP forum. Anyways, I have the members zip their images (high res jpegs and tiffs) and then upload that one file so allowing them to upload 5-10 at a time won't help but is a good idea. What about that php.ini file? I've never edited that before. What do I need to do?

Thanks Scoutt

scoutt
Apr 25th, 2002, 02:03 PM
hehe that's ok.

http://www.php.net/manual/en/features.file-upload.common-pitfalls.php

I would advise on changing the max_file_size as it might lead to bigger problems down the road.

TheGoldenShogun
Apr 26th, 2002, 09:36 AM
ok, that seems to work but lets take it to the next level. I have a seperate file server for this thing. How and can I do file transfers from server a to server b? or send it straight from the php script residing on server a to the storage area on server b?

scoutt
Apr 26th, 2002, 10:00 PM
I don't think you can move a file from server to server. you can do fopen and fread from different servers but I don't think copy will work. also don't think move_uploaded_file can do it.