Integration Server 10.3 | Flat File Schema Developer's Guide | Sending and Receiving Flat Files | Submitting a Flat File to Integration Server via FTP | FTPing a File From a webMethods Integration Server
 
FTPing a File From a webMethods Integration Server
The pub.client folder contains built–in services that you can use to FTP a file from the Integration Server. To use the pub.client:ftp service, you must set the variables listed in the following table.
Set this variable...
To set...
serverhost
This is the name of the machine running the Integration Server.
serverport
This is the port on the Integration Server that is listening for FTP traffic.
username
This is the valid user name on the target machine.
password
This is the valid password for the username in username.
command
“put”
dirpath
If you are sending to the Integration Server, this is the local path to the service that should be invoked after receiving the flat file. For example, \ns\Purchasing\SubmitOrder. If sending to another type of server, this is the working directory of the FTP server.
localfile
This is the name of the source file.
remotefile
This is the name of the remote file in which you want to save the data you sending. For example, destinationflatfile.txt. If you are sending to the Integration Server, the file name should be followed by the content–type. For example, destinationflatfile.txt;application:x–wmflatfile.
For more information about these services, see the webMethods Integration Server Built-In Services Reference.