Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

stop FrontPage from asking to delete files!

Status
Not open for further replies.

RobBroekhuis

Technical User
Oct 15, 2001
1,971
US
Hi,
Couldn't find this in the FAQs, although I figure it's a common issue: I have an application that resides on my web space, put there by an SSH transaction. The rest of the web pages are ones I've created in FrontPage. When I publish the web through FrontPage, I get dozens of questions asking if I want to delete each of the files belonging to the application off my web (I don't), and unfortunately there is no "No to all" button. Is there a way to get around this in FrontPage? I can use FTP to upload my files, but apart from this "feature", I like the one-click approach that FrontPage offers.
Thanks for your help!

Rob
[flowerface]
 
I usually have not seen this problem when the files are put there by another program other than FP.

But there may be a work-arround. Let's say that you have the files in a folder called ssh. Create a folder on your local web called ssh. Now right click it & choose Do not Publish. FP should not compare those files now.

__________________________
Corey

 
Thanks Corey - I was hoping for something simple like that. I will try it.


Rob
[flowerface]
 
Unfortunately, it doesn't. You can tell FrontPage not to publish pages and other files, but there is no way to not publish a folder (the Workgroups tab doesn't appear). There are way too many files to recreate each one on my local web.
Still looking for a work-around...


Rob
[flowerface]
 
I'm actually not completely conversant on many of these topics, so I will just tell you what I know. I used PuTTY to log on to my web space account, and followed instructions from my hosting provider to install phpMyAdmin onto my web space. Yes, the user name and password for my ftp account are the same as for my ssh account. Does that help?


Rob
[flowerface]
 
That's right (about the Unix question). I'd have thought this was a common problem, but I guess it isn't so.

Rob
[flowerface]
 
This behavior is by design if you have "Publish changed pages only" checked on the Publish Dialog Box. By selecting the "Publish all pages, overwriting any already on the destination server" check box, FP should no longer attempt to delete any files or folders that don't reside on your local copy of the site.

If this is not happening, then there is clearly some miscommunication taking place between FP and the Unix hosting server.

Thanks,
Sean Powell
 
Well, yes, but I don't want to publish all pages every time I publish. My connection isn't fast enough to make that approach feasible.

Rob
[flowerface]
 
Well, certainly one workaround is to just create a subweb of that folder on your live site (FP won't look there) but I'd need to be sure that your application doesn't use any permissions, shared borders, etc. that would be disrupted by creating the subweb.
 
Yes - I've just completed some more testing on this. If the folder was created "by you" on the live FP site, then publishing with Changed Pages only should "not" delete those files. Because this is a separate app, FP is not recognizing the folder as part of your content.

It's hard to diagnose because I don't know your structure. Is there anyway that you can create a folder on the live site, and move those files into it, without compromising the app?
 
Hi,
Thanks for your help. I'm not entirely sure what you are suggesting, probably because of my unfamiliarity with the terminology.
What is a subweb? How is it different from just another folder in the webspace? One thing that is probably pertinent is that I need to be able to run the app through my web browser using a URL:
In other words, the app needs to be "visible" through my regular domain. The folder was created by unzipping a gz file (with me logged in doing the unzipping).
Make sense?


Rob
[flowerface]
 
"I have an application that resides on my web space, put there by an SSH transaction"

Is this application on your local computer?
If not can, it be put there?

It sounds like the application is only on the server you are publishing to and FP wants to update/delete because FP thinks you've deleted it.
 
Yes, the app is only on the server, and you're right about WHY FP is doing this. I have no easy way of replicating it on my local PC. I guess I could FTP it all over, but that seems like a blunt approach to a problem that should be so much easier to get around... I'm still hopeful that SeanPowell's post above can be the basis of that easier solution, even if I don't quite understand it as of yet ;-)


Rob
[flowerface]
 
Basically there is no difference. It is sort of what I suggest - do not publish the folder. It will not publish this sub-web. The sub-web is useful if you are using themes & want another theme applied. But for your case - there is no difference.

__________________________
Corey

 
I'm still not clear on how I can tell FP not to publish a folder/subweb. Not publishing a page is easy enough, but FP doesn't seem to allow for not publishing folders. Am I missing something that's staring me right in the face?


Rob
[flowerface]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top