Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The WebMatrix Publish Preview dialog does not show some files when publishing using FTP


Symptoms

When publishing a site from WebMatrix using the FTP protocol, some files are not listed in the Publish Preview dialog.


↑ Back to the top


Cause

Microsoft has confirmed that this is a problem in the product(s) listed in the applies-to section of this article.


↑ Back to the top


Resolution

When publishing using the FTP protocol, WebMatrix by default keeps track of files that are changed on the local computer. This makes all FTP transfers after the first transfer faster because WebMatrix does not need to obtain a folder list from the remote server to determine what files are different.


There are two resolutions available:



1) (Recommended) Clear the cached list of changed files

a. Close WebMatrix


b. Open the IIS Express configuration directory in Explorer: %USERPROFILE%\IISExpress\config\PublishUI


c. Open the folder named after your site. For example, if your site is named Bakery, open the bakery folder.


d. Open the folder named after your remote server. For example, if you are publishing to ftp.contoso.com, open the ftp.contoso.com folder.


e. Delete the CSV file in this folder


f. Open WebMatrix and try publishing again





2) Disable the feature

a. Open WebMatrix


b. Click the Application Menu in the top-left corner of the window


c. Click Options


d. Click Publishing


e. Uncheck “Make FTP faster by only publishing the files that have changed on this computer”


Note: This will make FTP transfers significantly slower






↑ Back to the top


More Information

The problem can be reproduced by following these steps:

  • Publish site from to Remote Server 1 using the FTP protocol.
  • Change a single file associated, foo.html, with the site on Remote Server 1 (for example, by using an FTP client to download the file, modify it, and upload it again).
  • Publish site to Remote Server 1 using the FTP protocol. Notice that foo.html does not show up in the Publish Preview dialog because WebMatrix does not recognize it as being changes.

 


↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2493960
Revision : 1
Created on : 1/7/2017
Published on : 1/10/2011
Exists online : False
Views : 604