Servigistics InService Publishing and Loading > Using Publishing and Loading > Servigistics InService Environment Configuration > Configuring the Method to Send Files Between the Publisher and Viewer
  
Configuring the Method to Send Files Between the Publisher and Viewer
The publisher and viewer servers are usually located at two different locations. During the Publish to Site (Preview or Runtime) flow you can use different file transfer methods to send the files between the two systems. This topic provides the configuration steps for the following methods:
FTP
Secure FTP
File system shares
FTP Configuration
You must make configuration changes on both publisher and viewer machines.
Follow these steps on the publisher server:
1. Edit sitesDescriptor.xml located in the INS_CONFIG/System/Config folder to have the following tagging:
<Distribution type="FTP">
<Datatransfer hostname="${ftp.host.name}"
port="${ftp.port}"
username="${ftp.user.name}"
password="${ftp.password}"
transferMode="binary"
path="${ftp.relative.path}"/>
</Distribution>
Put this under the following tag:
<Sites>
<Site id="Runtime">
2. Edit INS_SW/3C.properties and add the following parameters with the desired values.
For example:
ftp.host.name=QAFTP
ftp.port=21
ftp.user.name=qauser
ftp.password=qapass
ftp.relative.path=hrz-qamro1/StorePackets
Follow these steps on the viewer server:
1. Edit SiteInfo.conf.xml located in the INS_CONFIG/System/Config folder to have the following tagging:
<Distribution type="FTP">
<Datatransfer hostname="${ftp.host.name}"
port="${ftp.port}"
username="${ftp.user.name}"
password="${ftp.password}"
transferMode="binary"
path="${ftp.relative.path}"/>
</Distribution>
Put this under the following tag:
<SitesInfo>
2. Edit INS_SW/3C.properties and add the following parameters with the desired values.
For example:
ftp.host.name=QAFTP
ftp.port=21
ftp.user.name=qauser
ftp.password=qapass
ftp.relative.path=hrz-qamro1/StorePackets
Secure FTP Configuration
This configuration is the same as for FTP, except you change the distribution type to SFTP:
<Distribution type="SFTP">
Also, the following parameters are added to 3C.properties:
sftp.host.name
sftp.port
sftp.user.name
sftp.password
sftp.relative.path
File System Configuration
You can use a shared folder to distribute the files through the file system. In this case, add the following distribution type on both servers:
<Distribution type="FS">
<Datatransfer OS="linux" path="${PackageDestinationFolder}"/>
</Distribution>
For a Microsoft Windows machine, the OS value should be windowsXP.
Add the following parameter to 3C.properties with the correct folder location:
PackageDestinationFolder=/data/ptc/InService/InS_Data/Work/StorePackets