FW deleting .php on live server

I have a project where the FW pages have links to external .php pages, with
one case when doing an upload, FW is deleing this file:

login.inc.php

The file is called from here “Before HTML” on the FW page.

Best wishes Peter

================================
Peter Tucker, Oxford UK email@hidden


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Can you move that external file into a folder called ‘includes’ for example then FW certainly will leave it alone. And change the path in the FW doc to suit.

But I think that this is strange behaviour for FW - it shouldn’t touch it at all!

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

on 21/04/2009 20:41, DeltaDave at email@hidden wrote:

Can you move that external file into a folder called ‘includes’ for example
then FW certainly will leave it alone. And change the path in the FW doc to
suit.

Thanks I’d thought of that, but we’re going to try making the file read-only
then FW cannot update or delete it, we hope

But I think that this is strange behaviour for FW - it shouldn’t touch it at
all!

Strongly agree.

Best wishes Peter

================================
Peter Tucker, Oxford UK email@hidden


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The only case where Freeway will delete a file on the server is if it
was once a part of the current document (either a page or a file
managed through an Action like Upload Stuff or Extra Resources) AND
that file (or reference) has been deleted in the Freeway document.

Let’s say you had used one of the uploading Actions to include this
inc.php file in your project, and had uploaded that Freeway document.

Now, you subsequently delete the page that held the reference to that
file, or removed it from the uploading Action manually.

Next time you upload, Freeway will say “Hrm, don’t need that any
more…”, and delete it (once only).

If after that point you upload the inc.php file using Transmit or
Fetch (and therefore Freeway has no reference to it in the current
document) when you upload from Freeway the next time, it won’t ever
try to delete it again.

Walter

On Apr 22, 2009, at 11:35 AM, Peter Tucker wrote:

on 21/04/2009 20:41, DeltaDave at email@hidden wrote:

Can you move that external file into a folder called ‘includes’ for
example
then FW certainly will leave it alone. And change the path in the
FW doc to
suit.

Thanks I’d thought of that, but we’re going to try making the file
read-only
then FW cannot update or delete it, we hope

But I think that this is strange behaviour for FW - it shouldn’t
touch it at
all!

Strongly agree.

Best wishes Peter

================================
Peter Tucker, Oxford UK email@hidden


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

on 22/04/2009 16:51, Walter Lee Davis at email@hidden wrote:

The only case where Freeway will delete a file on the server is if it
was once a part of the current document (either a page or a file
managed through an Action like Upload Stuff or Extra Resources) AND
that file (or reference) has been deleted in the Freeway document.

Let’s say you had used one of the uploading Actions to include this
inc.php file in your project, and had uploaded that Freeway document.

Now, you subsequently delete the page that held the reference to that
file, or removed it from the uploading Action manually.

Next time you upload, Freeway will say “Hrm, don’t need that any
more…”, and delete it (once only).

If after that point you upload the inc.php file using Transmit or
Fetch (and therefore Freeway has no reference to it in the current
document) when you upload from Freeway the next time, it won’t ever
try to delete it again.

All of that is what I understood was the procedure, but FW has now done this
twice, so you can imagine I was surprised. There are many other .php files
in various directories, none of these have been touched, strange.

AFAIK the .inc.php file was never uploaded via an Action. It was uploaded
manually using an FTP app by the guy writing the PHP stuff.

Next time we do a refresh of the live website, I’ll monitor and report back.

Best wishes Peter

================================
Peter Tucker, Oxford UK email@hidden


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options