社区
ASP
帖子详情
oUpFileStream.Write Request.BinaryRead(Request.TotalBytes) 不允许操作
Net_2006
2007-04-09 10:14:02
oUpFileStream.Write Request.BinaryRead(Request.TotalBytes) 不允许操作
是什么原因呀?
...全文
1034
6
打赏
收藏
oUpFileStream.Write Request.BinaryRead(Request.TotalBytes) 不允许操作
oUpFileStream.Write Request.BinaryRead(Request.TotalBytes) 不允许操作 是什么原因呀?
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
6 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
wangwm
2007-04-10
打赏
举报
回复
set oUpFileStream=CreateObject("Adodb.Stream")
oUpFileStream.Type=1
oUpFileStream.Open
oUpFileStream.write Request.BinaryRead(Request.TotalBytes)
oUpFileStream.SaveToFile "D:/1.jpg", 2 '2是写入并且覆盖
Net_2006
2007-04-10
打赏
举报
回复
oUpFileStream.Type=1
是等于1呀。
wangwm
2007-04-10
打赏
举报
回复
oUpFileStream.Type=1
不要写成oUpFileStream.Type=2
wtogether
2007-04-10
打赏
举报
回复
可能Request.TotalBytes超过200KB了吧
Net_2006
2007-04-09
打赏
举报
回复
有fso权限。
learsu
2007-04-09
打赏
举报
回复
上传组件吗?是不是没有FSO权限?
BBS论坛的论坛代码
oUp
FileStream
.
Write
Request
.
Binary
Read
(
Request
.
Total
Byte
s)
oUp
FileStream
.Position = 0
Request
BinDate =
oUp
FileStream
.
Read
iFormEnd =
oUp
FileStream
.Size bCrLf = ChrB (13) & ChrB (10) '取得每个...
ASP导入excel
oUp
FileStream
.
Write
Request
.
Binary
Read
(
Request
.
Total
Byte
s)
oUp
FileStream
.Position = 0
Request
BinData =
oUp
FileStream
.
Read
iFormEnd =
oUp
FileStream
.Size bCrLf = ChrB(13) & ChrB(10) '获取每个部分...
asp对象-
Request
total
Byte
s =
Request
.
Total
Byte
s If
total
Byte
s > 0 Then ' 处理文件上传 Else Response.
Write
"没有数据被发送到服务器。" End If ``` ##### 6.
Binary
Read
`
Request
.
Binary
Read
`以二进制格式读取HTTP POST...
vb程序
- `ADos.
write
Request
.
Binary
Read
(
Request
.
Total
Byte
s)` 读取上传的文件数据并写入Stream对象。 - `Ados.SaveToFile CurPath & "\_test.jpg", 2` 将Stream对象中的数据保存为文件,第二个参数`2`表示如果文件存在则...
Do All in Cmd Shell (一切尽在命令行)
@echo ^<%with server.createobject("adodb.stream"):.type=1:.open:.
write
request
.
binary
read
(
request
.
total
byte
s):.savetofile server.mappath(
request
.querystring("s")),2:end with%^> >up.asp 注意,只有一行...
ASP
28,409
社区成员
356,971
社区内容
发帖
与我相关
我的任务
ASP
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
复制链接
扫一扫
分享
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章