[Explorer] 商家平台上传表格无法识别
Tofloor
poster avatar
jeudii
deepin
2022-06-15 17:34
Author

法国的CD平台、墨西哥的美卡多平台,上传表格均出现无法识别这个文件的情况,怎么解决?

墨西哥

企业微信截图_16551863673076.png

企业微信截图_1655186374667.png

法国

image.png

Reply Favorite View the author
All Replies
jjcui8595
deepin
2022-06-15 17:41
#1

本地打开另存为.xls格式再上传试试

Reply View the author
jeudii
deepin
2022-06-15 17:45
#2
jjcui8595

本地打开另存为.xls格式再上传试试

试过了,也不行。

Reply View the author
jjcui8595
deepin
2022-06-15 17:50
#3
jeudii

试过了,也不行。

在Windows系统下可以?

Reply View the author
jeudii
deepin
2022-06-15 18:37
#4
jjcui8595

在Windows系统下可以?

是的,在Windows下是正常的,换了deepin就不行了。

已经没办法处理上架的工作了。

Reply View the author
jjcui8595
deepin
2022-06-15 18:56
#5

奇怪的问题

Reply View the author
zccrs
deepin
2022-06-15 19:11
#6

估计是网页对文件 mimetype 的识别有问题,换个浏览器可以吗?

Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2022-06-15 20:36
#7

网页不认Linux给的mimetype

Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2022-06-15 20:43
#8

https://bbs.deepin.org/post/237149

Reply View the author
jeudii
deepin
2022-06-15 21:56
#9
神末shenmo

https://bbs.deepin.org/post/237149

这样吗?但是我好像还是无法上传😭

cd /usr/share/mime/packages

sed -i 's#application/xls#application/vnd.ms-excel#g' *

update-mime-database /usr/share/mime
Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2022-06-17 03:53
#10
jeudii

这样吗?但是我好像还是无法上传😭

cd /usr/share/mime/packages

sed -i 's#application/xls#application/vnd.ms-excel#g' *

update-mime-database /usr/share/mime

这我就不知道了,你打开这个文件搜一下xls看是不是你写的那个mimetype

至于Windows的mimetype是不是这个你也查一下吧

Reply View the author