AnyChat技术支持论坛

标题: 文件上传 [打印本页]

作者: meijie541940291    时间: 2016-8-26 19:17
标题: 文件上传
文件上传后,服务器端OnAnyChatTransFile方法得到的路径错误,C:\**\AnyChat5.2\bin\server\temp\17-41-10-520_user10100029_81.mp4,事实上没有这个文件,请问该怎么查错,按理说是应该存到D盘anychat文件夹下的。



作者: 佰锐科技-陈伟    时间: 2016-8-26 20:10
您好 ,核心服务目录下 AnyChatCoreServer.ini配置文件中,tempfilepath  路径有设置吗?另外麻烦把日志贴上我们看看!
作者: meijie541940291    时间: 2016-8-28 19:58
[2016-08-13 06:00:34(446)]        Lost the connection to the server(errorcode:100), ready to reconnect...
[2016-08-13 06:00:53(587)]        Successfully connect to the anychatcoreserver!
[2016-08-13 06:01:33(774)]        Lost the connection to the server(errorcode:100), ready to reconnect...
[2016-08-13 06:01:43(352)]        Successfully connect to the anychatcoreserver!
[2016-08-15 09:27:28(250)]        AnyChat Record Server Init,V5.2, Build Time:Jan 19 2015 11:32:25
[2016-08-15 09:27:28(250)]        Record Root Directory: C:\SBC\AnyChat5.2\bin\recordserver\record\
[2016-08-15 09:27:28(250)]        Record Stream Buffer Time: 10000 ms
[2016-08-15 09:27:28(265)]        Ready to connect anychatcoreserver  127.0.0.1(8907)....
[2016-08-15 09:27:28(593)]        Load BRMediaUtil.dll success!(V5.2 Build Time:Jan 19 2015 11:32:58)
[2016-08-15 09:27:28(625)]        Successfully connect to the anychatcoreserver!
[2016-08-24 19:46:39(285)]        AnyChat Record Server Init,V5.2, Build Time:Jan 19 2015 11:32:25
[2016-08-24 19:46:39(286)]        Record Root Directory: E:\SBC\AnyChat5.2\bin\recordserver\record\
[2016-08-24 19:46:39(286)]        Record Stream Buffer Time: 10000 ms
[2016-08-24 19:46:39(287)]        Ready to connect anychatcoreserver  127.0.0.1(8907)....
[2016-08-24 19:46:39(294)]        Load BRMediaUtil.dll success!(V5.2 Build Time:Jan 19 2015 11:32:58)
[2016-08-24 19:46:39(296)]        Successfully connect to the anychatcoreserver!
[2016-08-25 21:02:38(967)]        AnyChat Record Server Init,V5.2, Build Time:Jan 19 2015 11:32:25
[2016-08-25 21:02:38(978)]        Record Root Directory: E:\SBC\AnyChat5.2\bin\recordserver\record\
[2016-08-25 21:02:38(978)]        Record Stream Buffer Time: 10000 ms
[2016-08-25 21:02:38(979)]        Ready to connect anychatcoreserver  127.0.0.1(8907)....
[2016-08-25 21:02:39(119)]        Load BRMediaUtil.dll success!(V5.2 Build Time:Jan 19 2015 11:32:58)
[2016-08-25 21:02:39(128)]        Successfully connect to the anychatcoreserver!
[2016-08-26 18:33:57(028)]        Lost the connection to the server(errorcode:0), ready to reconnect...
[2016-08-26 18:33:59(219)]        AnyChat Record Server Stoped...

[2016-08-26 18:35:26(494)]        AnyChat Record Server Init,V5.2, Build Time:Jan 19 2015 11:32:25
[2016-08-26 18:35:26(496)]        Record Root Directory: E:\SBC\AnyChat5.2\bin\recordserver\record\
[2016-08-26 18:35:26(496)]        Record Stream Buffer Time: 10000 ms
[2016-08-26 18:35:26(497)]        Ready to connect anychatcoreserver  127.0.0.1(8907)....
[2016-08-26 18:35:26(617)]        Load BRMediaUtil.dll success!(V5.2 Build Time:Jan 19 2015 11:32:58)
[2016-08-26 18:35:26(625)]        Successfully connect to the anychatcoreserver!


作者: meijie541940291    时间: 2016-8-28 19:59
tempfilepath  路径没有设置
作者: 佰锐科技-邵光清    时间: 2016-8-29 09:09
meijie541940291 发表于 2016-8-28 19:59
tempfilepath  路径没有设置

您好,默认是在\bin\server\temp,这个路径下是否有读写权限了?请右键--属性查看一下;

另外, AnyChatCoreServer.ini配置文件中,tempfilepath可以修改保存路径,这个路径必须是真实存在的;




欢迎光临 AnyChat技术支持论坛 (http://bbs.anychat.cn/) Powered by Discuz! X3