Manages copy, move and delete of files including local files, UNC paths. FTP, SFTP and FTPS.

Revision History

1.0.0.35 - Added support for explicit passive & active FTP, added support for custom timeout, some bug fixes
1.1.0.0 - Added support for SSH Authentication by providing certificate contents, changed property names for consistency.
1.1.0.2 - Updated the SFTP libaray which contains bug fixes.

1.1.0.6 - Provide a meaningful error when properties are missing

Properties

Connection

Type: Connection Input
Provides a Connection and optionally a DropPoint to service the request.

Username
Type: String
The username used to authenticate access to the source FTP or SFTP server

TargetUsername
Type: String
The username used to authenticate access to the target FTP or SFTP server

Password
Type: String
The password used to authenticate access to the source FTP or SFTP server

TargetPassword
Type: String
The password used to authenticate access to the target FTP or SFTP server

PrivateKeyFileContentsType: Multiline Text Data
The SSH Certificate contents used to authenticate to the source SFTP or FTPS server

TargetPrivateKeyFileContentsType: Multiline Text Data
The SSH Certificate contents used to authenticate to the target SFTP or FTPS server

CreateTargetDirectory
Type: Boolean
When True , indicates that the target path should be created if it does not already exist.

UsePassiveFTP
Type: Boolean
Some servers are configured to expect the PASV command when a connection is initialized. The Node then sends the PASV command instead of the PORT command when initiating a connection to the Server. 

Action

Type: List Input
Copy
Move
Delete
The action to perform on the specified files.

SourcePath

Type: String Input
The path to the source file (see Remarks).

DestinationPath

Type: String Input
The path to the destination file (see Remarks).

Video

Remarks

Use this Node to perform operations on files without actually loading them in to Flowgear. This Node can copy across different types of filesystems - for example from a local file to an SFTP site.

The prefix provided as part of SourcePath and DestinationPath determine the file type as follows:

  • [Drive]:\ local drive
  • \\ UNC path for network share
  • ftp:// FTP
  • sftp://  SFTP
  • ftps:// FTPS

Authentication

The Username and Password or PrivateKeyFileContents provided in the Connection Property will be used to authorize FTP or SFTP sessions only. If you require specific credentials to gain access to a local file or UNC path, change the Windows Service account used by the DropPoint.

Did this answer your question?