The device functions as an SFTP client and uses the one-click file operation command to upload files from the SFTP client to the SFTP server or download files from the SFTP server to the SFTP client.
The SFTP server has been configured, and the SFTP client and server have reachable routes to each other.
The system view is displayed.
First-time authentication is enabled on the SSH client.
The configuration is committed.
Establish an SFTP connection based on an IPv4 network.
Run the sftp client-transfile { get | put } [ -a source-address | -i { interface-type interface-number | interface-name } ] host-ip host-ipv4 [ port ] [ [ public-net | -vpn-instance vpn-instance-name ] | [ prefer_kex { prefer_kex } ] | [ identity-key identity-key-type ] | [ prefer_ctos_cipher prefer_ctos_cipher ] | [ prefer_stoc_cipher prefer_stoc_cipher ] | [ prefer_ctos_hmac prefer_ctos_hmac ] | [ prefer_stoc_hmac prefer_stoc_hmac ] | [ -ki interval ] | [ -kc count ] ] *username user-name password password sourcefile destination [ destination source-file ] username user-name password password sourcefile source-file [ destination destination ] command to connect to the SFTP server in IPv4 mode and download files from the SFTP server to the SFTP client or upload files from the SFTP client to the SFTP server.
Establish an SFTP connection based on an IPv6 network.
Run the sftp client-transfile { put | get } ipv6 [ -a source-ipv6-address ] host-ip host-ipv6 [ -oi { interface-type interface-number | interface-name } ] [ port ] [ [ public-net | -vpn-instance vpn-instance-name ] | [ prefer_kex { prefer_kex } ] | [ identity-key identity-key-type ] | [ prefer_ctos_cipher prefer_ctos_cipher ] | [ prefer_stoc_cipher prefer_stoc_cipher ] | [ prefer_ctos_hmac prefer_ctos_hmac ] | [ prefer_stoc_hmac prefer_stoc_hmac ] | [ -ki interval ] | [ -kccount ] ] *username user-name password password sourcefile source-file [ destination destination ] command to connect to the SFTP server in IPv6 mode and download files from the SFTP server to the SFTP client or upload files from the SFTP client to the SFTP server.