| Name of functions | Tab | Description | Remarks |
|---|---|---|---|
| FTP server connection settings | FTP server settings | Make the settings of FTP Server. |
|
| SFTP server connection settings | SFTP server settings | Make the settings of SFTP Server |
|
| Start FTP Server | Boot and Shutdown | Start FTP server. |
|
| Restart FTP Server | Restart FTP server. |
|
|
| Stop FTP Server | Stop FTP server. |
|
|
| Start SFTP server | Start SFTP server |
|
|
| Restart SFTP server | Restart SFTP server |
|
|
| Stop SFTP server | Stop SFTP server |
|
This is administrative function and can only be performed by administrators.
Changes of FTP server settings are reflected after the FTP server is restarted.
If any invalid value is entered in FTP server settings, the entered value will not be reflected even after [OK] or [Apply] button is pressed.
| Item name | Description | Remarks |
|---|---|---|
| Start FTP Server on DataSpiderServer Start | Select whether to start FTP server when starting DataSpiderServer.
|
|
| Port number | Enter the port number that FTP server uses. |
|
| Active mode port number | Enter the port number to use when data transfer mode is active mode. |
|
| Passive mode port number | Enter the port number to use when data transfer mode is passive mode.
|
|
| Idle time out | Enter the time to destroy session when inactive state that no FTP command or data transfer being executed continues. |
|
| Maximum login number | Specify the maximum number that can login to FTP server. |
|
| Allow anonymous login | Select whether to allow anonymous login.
|
|
| Maximum anonymous login number | Enter the maximum number that can login to FTP server. |
|
This is administrative function and can only be performed by administrators.
Changes of SFTP server settings are reflected after the SFTP server is restarted.
If any invalid value is entered in SFTP server settings, the entered value will not be reflected even after [OK] or [Apply] button is pressed.
| Item name | Description | Remarks |
|---|---|---|
| Start SFTP Server on DataSpiderServer Start | Select whether to start SFTP server when starting DataSpiderServer.
|
|
| Port number | Enter the port number that SFTP server uses. |
|
| Idle time out | Enter the time to destroy session when inactive state that no SFTP command or data transfer being executed continues. |
|
| Maximum login number | Specify the maximum number that can login to SFTP server. |
|
| Passphrase of the host key | Enter the Passphrase of the host key. |
|
| Allow login with password | Select whether to allow login with password.
|
|
This is administrative function and can only be performed by administrators.
| Item name | Description | Remarks |
|---|---|---|
| Start FTP Server | Start FTP server. |
|
This is administrative function and can only be performed by administrators.
| Item name | Description | Remarks |
|---|---|---|
| Restart FTP Server | Restart FTP server. |
|
This is administrative function and can only be performed by administrators.
| Item name | Description | Remarks |
|---|---|---|
| Stop FTP Server | Stop FTP server. |
|
This is administrative function and can only be performed by administrators.
To start SFTP server, host key needs to be allocated in advance. For how to allocate host key, refer to "Host key".
| Item name | Description | Remarks |
|---|---|---|
| Start SFTP Server | Start SFTP server. |
|
This is administrative function and can only be performed by administrators.
To start SFTP server, host key needs to be allocated in advance. For how to allocate host key, refer to "Host key".
| Item name | Description | Remarks |
|---|---|---|
| Restart SFTP Server | Restart SFTP server. |
|
This is administrative function and can only be performed by administrators.
| Item name | Description | Remarks |
|---|---|---|
| Stop SFTP Server | Stop SFTP server |
|
Please refer to "User Management" for DataSpider Servista user management.
You cannot be logged in as anonymous user to SFTP server.
/ftp directory is system-mounted.For more information about system mount, refer to"DataSpider filesystem".
It is not available in SFTP server.
| Command | Description | Command Response | Remarks |
|---|---|---|---|
| ABOR | Stop all currently executing data transfer. |
|
|
| APPE | Adds data to send to server to the specified file.If the file does not exist, create a new file. |
|
|
| CDUP | Use the directory of 1 layer up as current directory. |
|
|
| CWD | User the specified directory as the current directory. |
|
|
| DELE | Delete the specified file. |
|
|
| HELP | Show the list of executable FTP commands. |
|
|
| LIST | Gets a list of files in the working directory.If a directory name is specified, gets the file list of the directory.If a file name is specified, gets the current information of the file. |
|
|
| MDTM | Gets the update date of the specified directory or file. |
|
|
| MKD | Creates the specified directory. |
|
|
| MLSD | Gets the detail of file list in the working directory.If a directory name is specified, gets the detail of the file list of the directory. |
|
|
| MODE | Sets data transfer mode.
|
|
|
| NLST | Gets a list of files in the working directory.If a directory name is specified, gets the file list of the directory. |
|
|
| NOOP | This command does not affect settings or the previously entered commands.The FTP server only returns OK. |
|
|
| PASS | Specifies the FTP user's password. |
|
|
| PASV | Sets the data transfer mode of FTP server as passive mode. |
|
|
| PORT | Specifies the host and port in order to specify the data port to use in data connection. |
|
|
| PWD | Displays the current working directory. |
|
|
| QUIT | Log out from the FTP server. |
|
|
| REIN | Flush all the input/output/account information except for until the executing file transfer is finished.This means the same state as right after a user opens the control connection. |
|
|
| REST | Resumes file transfer from the specified marker. |
|
|
| RETR | Gets the specified file from FTP server. |
|
|
| RMD | Removes the specified directory from FTP server. |
|
|
| RNFR | Rename the specified file.Specify the original file name. |
|
|
| RNTO | Executes right after RNFR to change the name of the specified file.Specify the new file name. |
|
|
| SITE | Executes the specific custom command of FTP server.Custom commands are as follows.
|
|
|
| SIZE | Gets the file size of the specified file. |
|
|
| STAT | Displays the information of current FTP server status and transfer status. |
|
|
| STOR | Transfer data to FTP server in the specified file name.Overwrites if a file with the same name already exists. |
|
|
| STOU | Same as STOR, transfers data to FTP server in the specified file name, but if a file with the same name exists, automatically assign a different name to the new file to avoid overwriting. |
|
|
| STRU | Specifies the structure of file transfer.
|
|
|
| SYST | Displays the system name of FTP server. |
|
|
| TYPE | Specifies the format of the data transfer.
|
|
|
| USER | Log in with the specified user name. |
|
|
For details on generating Host key, refer to "Generating SSH private key and public key".
Allocating public key is not required.
Following steps are not required if public key authentication is not being used.
For generating client private key and public key, refer to "Generating SSH private key and public key".
For details on how to set client private key to SFTP client, refer to the using SFTP client document.
Restarting SFTP server after registering client public key is not required.
To log in to SFTP sever with public key authentication, client private key and public key are required. For details, refer to "Client private key and public key".
If [Allow login with password] is not checked, log in with keyboard-interactive authentication is not available.
If [Allow login with password] is not checked, log in with password authentication is not available.
| Exception name | Cause | Solution |
|---|---|---|
| IllegalArgumentException
port out of range |
Port number specified is outside the valid range. | Please check the port number entered in [Port number] or [Passive mode port number]. |
| IllegalArgumentException
Illegal idle time |
Idle timeout value is incorrect. | Please check the value entered in [Idle time out]. |
| SocketTimeoutException
Accept timed out |
Possible idle timeout in data transfer. | Please check whether the set data connection port is allowed on FTP client side and FTP server side. |
| ConnectException
Connection refused: connect |
Data connection may not be created. | Please check whether the set data connection port is allowed on FTP client side and FTP server side. |
| SocketException
Connection reset |
The data connection may be closed during data transfer. | Please check whether the data is readable or writable. |
| MalformedInputException
Input length = 1 (Hexdump: 54 53 4F 20 52 2F ...) |
The specified file name encoding may be other than UTF-8 on FTP client side. | Please check whether the specified file name encoding is UTF-8 on FTP client side. |
| FtpServerConfigurationException
Failed to bind to address 0.0.0.0/0.0.0.0: <port>, check configuration |
The specified port number of FTP server is not available. | Please check whether the specified port number of FTP server is already used, if it is a well-known port, check whether the well-known port is available. |
| BindException
Permission denied |
The specified data connection port number cannot be used without permission. | Please check whether the root permission of the OS is granted to the user of OS that started DataSpiderServer. |
| SftpServerBootException
Host key is not located. |
SFTP server host key is not allocated. | Allocate SFTP server host key. |
| SftpServerBootException
Passphrase of the host key does not correspond. |
Passphrase set in SFTP server host key and value entered in [Passphrase of the host key] do not match. | Check value entered in [Passphrase of the host key]. |
| SftpServerBootException
Failed to read host key. |
Cannot read SFTP server host key. | Make host key available to read such as checking host key access authorization, checking whether host key is created with OpenSSH format regenerating by modifying host key encryption method. |
| SftpServerBootException
Failed to start SFTP server. |
Failed to start SFTP server by reasons not above. | Make SFTP server enable to launch by restarting SFTP or modifying [Port number]. |
| File transfer | DataSpiderServer Operating OS | Notes |
|---|---|---|
| Upload | Windows | If the file is encoded in Shift_JIS, it may be converted to EUC-JP. |
| If the file is encoded other than Shift_JIS, multi-byte characters may be garbled. | ||
| If the newline is "CR+LF", it may be converted to "CR+LF+CR+LF". | ||
| UNIX/Linux | If the file is encoded in UTF-16, the newlines may be garbled. | |
| If the newline is "CR+LF", it may be converted to "LF+LF". | ||
| Download | Windows | If the file is encoded in EUC-JP, it may be converted to Shift_JIS. |
| If the file is encoded other than EUC-JP, characters may be garbled. |