Quite often you need to transfer files to/from an Integration Server:
- package archives for install
- patches
- example files
- saved pipeline files
- documentation
- jar files for use in your java services
- html, dsp and image files (under packagesName/pub)
Creating an FTP port for admin file transfers
To do this you generally require a system log in. This is not always possible due to having restricted access to the operating system.
If you are an administrator as far as the Integration Server is concerned you can open up an FTP port using the administration web interface (go to settings, ports). Open up an ftp port on an unused port higher than 1024 (because <1024 on unix the process needs to be running as root).
Change to the admin section for filesystem access
You can then log in using an administrator account using:
ftp
open serverName portNumber
cd admin
By changing into the admin directory, you are placed at the root of the integration Server's directory. From here you could "cd replicate/inbound" to upload package archives for install, you could change into the packages directory and then you can access the contents of your webmethods packages (in particular the pub directories for uploading DSPs, HTML files and images).
Using third party FTP clients
Most ftp clients should work ok with the Integration Server, although you may need to enable passive FTP mode.
Security Notes
- It is not recommended that this approach be used outside a development environment.
- Only users who are part of the Administrators group can access the /admin directory when connecting using FTP
- never have partners set up as Administrators as they could potentially delete/damage/alter files by accident
- This technique cannot be used to access files outside the IntegrationServer's directory or subdirectories, although symbolic links might be an option if you wish to get files elsewhere.