6.16
FTP/SFTP File Transfer, Client Session
The FTP/SFTP le transfer directory is /var/ftp.
Show Files in Transfer Directory
Command:
> request show-file filename <path>
Parameter Value Descripon
path
</var/ftp> Full path of le transfer directory
Request FTP/SFTP File Transfer
Use this command to open an FTP/SFTP client session with a remote FTP/SFTP server and either download a le
from the server or upload a le to the server.
Command:
> request transfer <ftp|sftp> action [upload|download] local-file-path
<local-file-path> remote-file-path <remote-file-path>
Parameter Value Descripon
ftp|sftp
<p, sp> FTP—Use FTP le transfer protocol
SFTP—Use SFTP le transfer protocol
upload|download
<upload, download> Upload—Upload to server
Download—Download from server
local-file-path
/var/ftp/filename
Full path lename of local le
remote-file-path
ftp://user:password@host/filename
sftp://user:password@host/filename
Uniform Resource Idener (URI) path to
remote le
Command Example (FTP Upload):
> request transfer ftp action upload local-file-path /var/ftp/1FINITY-071716.dbs
remote-file-path ftp://anonymous:anonymous@192.168.1.2/1FINITY-071716.dbs
Command Example (FTP Download):
> request transfer ftp action download local-file-path /var/ftp/1FINITY-071716.PGM
remote-file-path ftp://anonymous:anonymous@192.168.1.2/1FINITY-071716.PGM
Command Example (SFTP Upload):
> request transfer sftp action upload local-file-path /var/ftp/1FINITY-071716.dbs
remote-file-path sftp://anonymous:anonymous@192.168.1.2/1FINITY-071716.dbs
System Administration
FTP/SFTP File Transfer, Client Session
250
Release 19.1.1 · Issue 1.1, May 2021
Fujitsu and Fujitsu Customer Use Only