Difference between revisions of "SFTP Send"

From Commander4j Wiki
Jump to: navigation, search
(Example 1)
Line 23: Line 23:
 
The example above shows some values for a configuration that would be used to upload files of type *.xml to a remote SFTP server with username and password authentication.
 
The example above shows some values for a configuration that would be used to upload files of type *.xml to a remote SFTP server with username and password authentication.
  
Line 7 is a simple heading and is used both for simple documentation and is also used by the email module as the subject for any emails sent.
+
Line 7 '''title''' is a simple heading and is used both for simple documentation and is also used by the email module as the subject for any emails sent.
  
 
Line 8 is a simple "true" or "false" switch which either enables or disables the sending of emails by the SFTP Send application.
 
Line 8 is a simple "true" or "false" switch which either enables or disables the sending of emails by the SFTP Send application.
  
 
Line 12 is the name of IP Address of the remote host. Note that you can encrypt this information if you want using the [[SFTP Send Encrypt Utility]]
 
Line 12 is the name of IP Address of the remote host. Note that you can encrypt this information if you want using the [[SFTP Send Encrypt Utility]]

Revision as of 19:48, 6 December 2020

SFTP Send

Installation

Download the appropriate version of the application from SourceForge[1]

  • Note that the Windows and MacOS version of the application come with their own private Java Runtime bundled as part of the installer. The Linux version of the installer does not have Java included with it and you will need to make sure that you have Java 1.8 or higher available on your machine.

There is no Graphical User Interface (GUI) for this utility. It can be run from the command prompt / terminal or as a background process.

Before running the application you need to configure it by editing 2 xml files which can be found in the xml/config 'subdirectory.

The two files of interest are sftpSend.xml and email.xml. You only need to edit email.xml if you want the application to send you notifications when files are transferred.

Example 1

SftpSend1.jpg

The example above shows some values for a configuration that would be used to upload files of type *.xml to a remote SFTP server with username and password authentication.

Line 7 title is a simple heading and is used both for simple documentation and is also used by the email module as the subject for any emails sent.

Line 8 is a simple "true" or "false" switch which either enables or disables the sending of emails by the SFTP Send application.

Line 12 is the name of IP Address of the remote host. Note that you can encrypt this information if you want using the SFTP Send Encrypt Utility