[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
Here's what I do (and it works on my RaQ4i).
Create FPWeb on local machine.
Create a local subweb (if for cgi's etc, it might aswell be called cgi-bin)
and place in it the necessary directory structure for your files)
Publish root web to server specifying the "Include Subwebs" option
Open the root web live on the server via FP Explorer and subsequently open
the Subweb.
Delete all files on the live subweb except any index.htm files which exist
in your tree. You can even edit the index files to redirect back to the root
web if you want to stop prying eyes, using either a javascript or
meta-refresh.
With all files other than index (es) deleted from the live web you can exit
the subweb and the live root web and return to your local machine.
Next ftp the files from your local cgi-bin directory up to your box, with
the exception of the index files. You should also be able to chmod from your
ftp client any files that need to be done.
Turn to your browser and test the scripts. If you want to or need to, you
can also chown the folder cgi-bin via SSH, but I've not found this to be
necessary if I load all cgi scripts into their own directory owned by the
user.
Next (and this should be the last test stage, re-publish the root web via FP
but this time without selecting the option to "Include Subwebs". FP will
still read in to the subweb, but only concerns itself with *.htm *.html and
*.shtml files and seemingly ignores anything else it finds, so the index
files need to be owned correctly by FP ie user nobody, but the cgi's etc can
be owned by the user. Then return to your browser and check the scripts are
still there.
On a side note, FP seems perfectly capable of publishing php files in
addition the the native server side asp's it is intended to work with, so if
your site relies upon elements built in php you can still publish
successfully via FP.
Again, as Colin suggested, if any of this is unclear or not applicable to
your individual requirement, post back with further info about exactly why
you want to mix ftp with fp and I (and others) will attempt to relay the
workaround.
Kind Regards
Si Watts
SiWIS http://www.siwis.co.uk