Topic: 处理web上传文件时如何读取数据较好? |
Print this page |
1.处理web上传文件时如何读取数据较好? | Copy to clipboard |
Posted by: bmcsy Posted on: 2006-07-14 10:44 对于接收web上传的数据,是用指定大小的缓存数据(如:1024),还是指定一个跟上传的数据总大小一样的数组一次性存放所有数据,这两种方式哪个较比好,效率较高?谢谢~~~~ |
2.Re:处理web上传文件时如何读取数据较好? [Re: bmcsy] | Copy to clipboard |
Posted by: bluecrystal Posted on: 2006-07-14 17:09 一般都是前者,难道上传2m的东西,你就开个2m的缓存? |
3.Re:处理web上传文件时如何读取数据较好? [Re: bmcsy] | Copy to clipboard |
Posted by: bmcsy Posted on: 2006-07-16 01:25 在jspSmartUpload里好像就用了后者,一次开了一个跟上传总数据大小的数组。 自己用第一种方法实践了一下,一样好用。谢谢版主!! |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |