分享

写回答

发帖

[提问] Godaddy空间FSO读写问题

GoDaddy GoDaddy 1548 人阅读 | 1 人回复

发表于 2011-1-12 21:06:12 | 显示全部楼层 |阅读模式

我的网站:http://www.wanzhixinli.com/

用Godaddy的Windows空间,10G,付费用户。发生了奇怪的问题,无法重写".js"文件。我给godaddy的邮件这样写的:
My product is "Hosting - Shared - Economy - Windows - 1 year (recurring)".
But it does not support ASP! When a program try to write ".asp" file, it will be mistake:"Your hosting does not allow FSO written." And the ".asp" file will change to 0k. I have already made the directory to be written, but it does not work. The data base can be read and written. The problem is ".asp" file and ASP.How to deal with it?
大意是这样:我是windows经济型虚拟主机用户。发现空间不支持ASP。每当我的程序重写".asp"文件时,就会出现错误:“空间不支持FSO读写。”".asp"文件就会变成0kb。我已经把文件的目录设置成可写,但是没用。数据库都可以被正常读写。问题出在".asp"文件和ASP服务。怎么解决这个问题?(其实是相关的".js"文件出故障并变成0kb,我没仔细看,误写成了".asp"文件。)

Godaddy的回复:
Thank you for contacting Online Support.  I understand you believe ASP is not functioning on your hosting account. Upon reviewing your account we were able to verify that ASP is running properly on the hosting server. At this time it appears that the FSO function is not usable within our shared hosting at this time. For security purposes there are features that are unavailable on the shared hosting environment to protect all of the users on the server. If you are wishing to use programming that requires a wider range of access you may wish to consider a Virtual Dedicated or Dedicated Server We apologize for any inconvenience.

If you have any questions about purchasing a Virtual Dedicated or Dedicated Server you can either call our Server Sales Support at (480)463-8856 or you can talk to a representative in our Live Server Sales chat by going HERE and clicking on the yellow 'Need Advice? Chat Live!' button.
大意是说:ASP功能正常。显示出的问题是FSO功能现在不可用。为了安全,我们的虚拟主机会禁用一些功能。你想有更多的支持服务,请用Virtual Dedicated or Dedicated Server。后面就是如果考虑要这两种空间,就联系他们之类的。

我怀疑的是FSO功能是可用的。只是我的网站语言代码用的是GB2312,在程序写入".js"文件的时候,空间不识别GB2312代码,所以写入失败。如果是这个问题,应该如何解决?一开始网站读取数据库时出乱码,我在一些文件上加代码:<% @language=vbscript codepage=936%>,问题解决。
另外,我在用ok3w文章系统测试时,也产生同样的问题。但是我的网站中论坛程序后台检测服务器运行环境,显示是支持FSO的。

现在我面临的问题是:1、此空间究竟支持不支持FSO,如何测试一下?2、如果是因为文字代码的问题导致写入".js"文件失败,有什么办法处理?3、什么是Virtual Dedicated or Dedicated Server?盼高手能够赐教。

回答|共 1 个

add.c

发表于 2011-1-13 11:01:35 | 显示全部楼层

1.是支持FSO的,
2.都转换到utf-8编码试试,
3.虚拟独立主机,独立主机 (价格更高,权限更大)
另外,这个文章建议你看看:http://bbs.idcspy.com/thread-67294-1-1.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则