Connect-FTP method |
Use this method to copy a file from one file system to another file system using File Transfer Protocol. 5.5 GRP-258
The Connect-FTP method has four parameters:
Parameter |
Description |
FTPServer |
Select the name of an FTP server data instance to use for this file transfer. |
RemoteFile |
Identify the destination file path. Use syntax appropriate to the operating system on the FTP server. OMIT FILE NAME? For example: "C:/temp" If the path contains any backslash characters, escape each backslash character by doubling it: "D:\\PRTemp\\StaticContent\\common" You can enter a property name, property reference or expression that at runtime evaluates to the remote file path. Krishna Prasad 9/4/08 |
LocalFile |
Identify the source file path and file name. Use syntax appropriate to the operating system that hosts the Process Commander server. If the path contains backslash characters, escape each backslash character by doubling it. You can enter a property name, property reference or expression that at runtime evaluates to the local file path and name. Krishna Prasad 9/4/08 |
TransferMode |
Select |
This method updates the pxMethodStatus property. See How to test method results using a transition.
For an example use of this facility, see the Pega Developer Network article PRKB-25569 How to copy files to remote systems using File Transfer Protocol.
About FTP Server data instances |