作者alpe (这麽说来)
看板PHP
标题Re: [请益] 使用 ftp_put() 上传问题
时间Wed Oct 26 11:29:39 2005
※ 引述《windharry (魔鬼的抖音)》之铭言:
: 请问各位,使用ftp_put() 上传档案时,有档案大小的预设吗?
: 我试着用这函式传超过 10MB的档案到FTP上,但是一直传不上去。
: 传5MB就可以,然後对照这着看FTP log档显示,有登入但是很快就离线了,
: 超过10MB就没有传送档案的动作了,
: 是否是因为 用网页上传时 档案大一点时,lag的时间过长,就会跳掉。
不知道是否有用的 POST...
刚刚也用上传了一下... 不过用的是 html 的 <input type=file>
; Maximum size of POST data that PHP will accept.
post_max_size = 8M
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
; Whether to allow HTTP file uploads.
file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
upload_tmp_dir = D:\cache\ ; temporary directory for HTTP uploaded
files (will use system default if not specified)
; Maximum allowed size for uploaded files.
upload_max_filesize = 10M
--
Live Long and Prosper
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 203.67.13.189
1F:推 windharry:感恩 可以了 11/08 00:32