mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
12NextPage
backToList newPost
view: 1659|reply: 11
打印 prevThread nextThread

可以提供一个下载设备上文件的demo吗,自己获取好几次都不成功。

[copyURL]

9

主题

15

帖子

79

积分

member

Rank: 2

积分
79
jumpTo
owner
poston 2020-7-23 19:27 | authorOnly 回帖奖励 |viewing |阅读模式

reply

使用道具 report

60

主题

1417

帖子

5825

积分

Moderator

Rank: 7Rank: 7Rank: 7

积分
5825
12#
poston 2020-7-28 17:11 | authorOnly
shirtiny post on2020-7-28 17:08
需要OCX插件才能使localFileDir生效,目前只有IE浏览器支持OCX。
http://61.191.27.18:8081/doc.html
...

小马,你来做一个H5非插件的DEMO给客户,可放到github里面去。
reply agree Against

使用道具 report

0

主题

22

帖子

162

积分

member

Rank: 2

积分
162
11#
poston 2020-7-28 17:08 | authorOnly
chenjunwei post on2020-7-24 20:16
http://61.191.27.18:8081/demo/DownloadFileFromPuOrNru.html
运行这个 demo ,设备ID,远程路径 ,本地 ...

需要OCX插件才能使localFileDir生效,目前只有IE浏览器支持OCX。
http://61.191.27.18:8081/doc.html
请在该页下载插件并安装。
然后使用IE浏览器重新尝试:
http://61.191.27.18:8081/demo/DownloadFileFromPuOrNru.html
点击下载文件后直接前往localFileDir查看即可,需要等待传输结束才可使用文件。
reply agree Against

使用道具 report

9

主题

15

帖子

79

积分

member

Rank: 2

积分
79
10#
 Owner| poston 2020-7-24 20:16 | authorOnly
http://61.191.27.18:8081/demo/DownloadFileFromPuOrNru.html
运行这个 demo ,设备ID,远程路径 ,本地路径格式(末尾加反斜杠)都是正确的 ,
点击 下载文件 后 ,如果是 jpg 文件,浏览器会在新的窗口打开,如果是 txt 或者 gps 格式的文件,浏览器会启动下载,并且下载到了浏览器的下载路径
我自己设置的 localFileDir 本地路径下什么也没有,不知道是什么问题?
reply agree Against

使用道具 report

13

主题

373

帖子

2023

积分

vipMem

Rank: 6Rank: 6

积分
2023
9#
poston 2020-7-24 20:09 | authorOnly
发帖的时候点击右上角advanced,里面可以上传图片,选择图片后,要点击上传文件。
reply agree Against

使用道具 report

9

主题

15

帖子

79

积分

member

Rank: 2

积分
79
8#
 Owner| poston 2020-7-24 20:00 | authorOnly
咦,图片怎么没有传上。。。
reply agree Against

使用道具 report

9

主题

15

帖子

79

积分

member

Rank: 2

积分
79
7#
 Owner| poston 2020-7-24 19:59 | authorOnly
file:///C:/Users/skey/Desktop/1595591490(1).jpg
登录成功后,这样调用下载方法,也不知下载有没有执行,我填写的localFileDir路径下没有文件
reply agree Against

使用道具 report

1

主题

383

帖子

1466

积分

vipMem

Rank: 6Rank: 6

积分
1466
6#
poston 2020-7-24 10:07 | authorOnly
具体操作如下

本帖子中包含更多资源

pls login 才可以下载或查看,没有帐号?registerNow

x
reply agree Against

使用道具 report

1

主题

383

帖子

1466

积分

vipMem

Rank: 6Rank: 6

积分
1466
5#
poston 2020-7-24 10:06 | authorOnly
您是用我们的demo测的吗?您可以用这个demo测试一下
http://61.191.27.18:8081/demo/DownloadFileFromPuOrNru.html
登录参数:61.191.27.18    test    123
设备要和demo登录同一个服务器,设备ID的格式为PU_xxxxx(xxxxx表示设备的id 在设备->设置可以查看 )
检索条件是UTC时间  跟北京时间相差8个小时,所以您在检索的时候 注意将范围扩大一点。检索到文件后,会生成URL  双击URL 会自动填写下面的输入框中  点击下载文件即可
reply agree Against

使用道具 report

13

主题

373

帖子

2023

积分

vipMem

Rank: 6Rank: 6

积分
2023
ground
poston 2020-7-23 21:03 | authorOnly
好,我们反馈下给研发
reply agree Against

使用道具 report

QQ|wireless surveillance

GMT+8, 2024-5-17 22:13 , Processed in 0.092777 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList