Using the Simple File Deployment service
9
</Live>
</Site>
<Site>
<staging and live servers for an additional website>
</Site>
</SiteList>
3.
Make sure that your server is running with a user that has sufficient network permissions to copy
files on the staging and live servers.
If you are using Windows, many servers run, by default, with the local system user (which
probably has limited network access). To change a server’s user on Windows, do the following:
a
Right-click
My Computer
, and then select
Manage
.
The Computer Management dialog box appears.
b
Expand the
Services and Applications
node, and then select
Services
.
c
In the right pane, double-click
Macromedia Contribute Publishing Server
.
The Properties dialog box appears.
d
Select the
Log On
tab, and then select the
Select this Account
option.
e
Enter your user name and password, and then click
OK
.
The user name and password you enter must have permission to copy files between the
staging and the live servers.
4.
Now you need to forward client notifications to your Simple File Deployment service, so that
the service knows about publish, delete, and roll back actions that occur on the website.
Complete the procedure in
“Forwarding website events to a custom service” on page 14
, and
then return to this procedure.
5.
Synchronize your staging and live servers.
The file structure and content on your staging and live servers must match exactly before you
can start using the Simple File Deployment service.
6.
Now you can start using the Simple File Deployment service (see
“Accessing and using the
Simple File Deployment service” on page 9
), or you can extend the service before you use it (see
“About extending the Simple File Deployment service” on page 20
)
.
Note:
Macromedia recommends that you extend the functionality of this service; you should at
least add authentication functionality before you use it.
Accessing and using the Simple File Deployment service
After you set up the Simple File Deployment service (see
“Setting up the Simple File Deployment
service” on page 8
), you can start using the service to move files from your staging server to your
live server.
Note:
This procedure is for using the service as is. Macromedia recommends that you extend the
service to meet your specific needs (see
“About extending the Simple File Deployment service”
on page 20
). If you extend the service, you should modify the steps for accessing and using the
service accordingly.