04-21-2006, 11:43 AM | #1 (permalink) |
Too hot in the hot tub!
|
[php] FTP upload script
Hi all,
I have been trying to put together an FTP upload script in PHP using ftp_put(). It will work for small files, but anything over about 1.8MB never copies. I just get a 4k placeholder in the destination file. Any ideas why it would do this?
__________________
But I don't want ANY Spam! |
04-21-2006, 11:56 AM | #2 (permalink) |
Lover - Protector - Teacher
Location: Seattle, WA
|
I don't know a damn thing about PHP so I'm going to use Google and pretend I do.. is your server preventing files over a certain size?
"To allow large file uploads and transfers, you may have to change these settings: * in the file php.ini (directory C:\windows or /etc): upload_max_filesize, post_max_size, max_execution_time, memory_limit"
__________________
"I'm typing on a computer of science, which is being sent by science wires to a little science server where you can access it. I'm not typing on a computer of philosophy or religion or whatever other thing you think can be used to understand the universe because they're a poor substitute in the role of understanding the universe which exists independent from ourselves." - Willravel |
Tags |
ftp, php, script, upload |
|
|