Friday, December 07, 2012 4:04 AM
I publish via FTP. When I tell it to "Publish Changed Pages" I get a prompt stating it's "listing pages at ftp.mydomain.com" and stays there forever. I gave up and canceled.
If I publish manually by selecting pages they upload very quickly.
I have a forum at mydomain.com/forums which contains thousands of files (it's a Xenforo forum). I wonder if EW is looking through all those files in my "forums" directory as well which is why it seems to get "stuck" at the "listing pages" part of publishing. And if so, can I get EW to exclude/ignore other directories at my server when "listing pages"?
Friday, December 07, 2012 4:11 AMIn your local site right click in folder view on the directory for your forum and select "exclude from publishing", "do not publish" or whatever it is that your version of EW calls it. That way EW will quit trying to get a directory listing of those files to synchronize.
- Marked As Answer by EricBurnby Wednesday, December 12, 2012 7:37 AM
Friday, December 07, 2012 4:19 AM
I don't have a "forums" directory in my local site since I don't use EW to manage any files there. Do you suggest I create a "forums" directory anyways inmy local site and then right click and "exclude from publishing"?
If I right click on the "forums" directory in remote, the "exclude from publishing" selection is greyed out.
I just never thought I'd have to create an empty directory to match other directories on my server just so I could exclude them on my local site. I'd hate to accidentally delete my forums directory on my server by publishing my empty local "forums" directory by mistake.
Friday, December 07, 2012 6:05 AM
Yes, create a local empty forums folder and exclude it. (You can't exclude remote folders - it's a local command.)
If you've excluded the folder, it won't publish - that's what exclude means.
Friday, December 07, 2012 7:33 PM
Create a local empty folder and exclude it. EW will then ignore it completely. Even if you published an "empty" directory it would do nothing to your hosted site as long as the names are the same (including case since Linux based servers are case sensitive and Windows is not.)
I have quite a few clients with blogs on their sites. We simply create a local copy of the folder and exclude it from publishing which would be the same situation as your forum. Otherwise EW will try to synchronize all files and folders including getting a full directory listing on the server. You are in far more danger of creating a problem if you use sync and do not have a local folder that is excluded from publishing since dynamically generated content is more likely to change on the server than locally.