发布到我的电脑 [英] Publish to my computer

查看:63
本文介绍了发布到我的电脑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试将我的网站从我的托管服务器发布到我的计算机上的文件夹中。第一次尝试失败,但第二次尝试有效但是...


首先在Windows资源管理器中我在"我的网站"(我的文档/我的网站/ xxx)下创建了一个子文件夹。接下来在EW4中,我点击了菜单栏上的"站点",然后在服务器上打开了我的站点。 接下来,我选择了发布设置,并在我的计算机上指向我在HD上创建
的文件夹。 然后,我收到一条错误消息,"文件夹不存在,您要创建文件夹吗?" 我点击了是。  (我检查了文件夹确实存在,但我选择了创建它的选项。)然后我
尝试将所有文​​件发布到此文件夹。  该网站排队等候。 超过一小时后,操作失败。


接下来我再次尝试了相同的过程。 这次EW4再次说文件夹不存在,但是当我选择创建文件夹时,EW4创建了一个新文件夹xxx3,添加3并成功发布到该文件夹​​。


如何使用我选择的名称发布到我的HD上的文件夹?

解决方案

一般来说,在EW中执行所有文件操作。这使EW能够使用元数据进行跟踪,因此,如果您移动或重命名文件或文件夹,它将自动更新所有引用。


在当前实例中,可以采用的方式使用Site | Open Site,然后(如果你在Vista上)你可能会在列表顶部看到默认的Documents \ My Web Sites \。选择它,然后右键单击"文件夹列表"窗格并选择"新建"|"文件夹"。
你当时有机会给它命名。


还有其他方法可以做到这一点,但我想说的是,EW基本上是不知道在它打开的情况下在其自己的文件管理系统之外发生的变化,除非它被刷新。


欢呼,

scott


I tried to publish my site from my hosting server to a folder on my computer. The first attempt failed, but the second try worked but...

First in Windows Explorer I created a subfolder under My Web Sites (My Documents/My Web Sites/xxx). Next in EW4 I clicked on Site on the menu bar and opened my site on the server.  Next I selected Publishing Settings and pointed to the folder I created on my HD on my computer.  I then received an error message, "Folder does not exist, do you want to create the folder?"  I clicked on Yes.  (I checked and the folder did exist, but I selected the option to create it anyway.) Then I attempted to publish all files to this folder.   The site was then queued.  After over and hour the operation failed.

Next I tried the same process again.  This time EW4 again said the folder did not exist, but when I chose the option to create the folder EW4 created a new folder xxx3, adding the 3 and published to this folder successfully.

How do I publish to a folder on my HD with a name I select?

解决方案

Generally speaking, do all your file operations within EW. This enables EW to keep track using metadata, so if you move or rename a file or folder, it will automatically update all references.

In the current instance, the way to go would have been to use Site|Open Site, then (if you're on Vista) you'll probably see the default Documents\My Web Sites\ at the top of the list. Select it, then right-click in the Folder List pane and choose New|Folder. You'll have the opportunity at that time to name it.

There are other ways to accomplish this, but the point I'm trying to make is that EW is basically ignorant of changes that occur outside of its own file management system while it is open, unless it is refreshed.

cheers,
scott


这篇关于发布到我的电脑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆