This topic provides answers to some frequently asked questions about SFTP-based file transmission.
What are the methods that I can use to upload and download files on a bastion host?
What do I do if no file list is displayed or if I am unable to upload files during web-based O&M?
Why is an O&M engineer unable to access the file directory?
If an O&M engineer cannot access the file directory, you can perform the following operations to resolve the issue:
Check whether a password is configured for the host account on your bastion host and whether the O&M engineer has the permissions on the host account. If no passwords are configured for the host account and the O&M engineer does not have the permissions on the host account, the O&M engineer cannot access the file directory.
For more information about how to configure a password for a host account, see Configure account settings for a host.
For more information about how to authorize an O&M engineer to manage host accounts, see Authorize a user to manage the accounts of one or more assets.
Check whether your bastion host is connected to the server. For more information, see Diagnose network issues.
-
In the control policy, ensure that the SFTP Channel option is selected. For more information, see Manage control policies.
Check whether Secure File Transfer Protocol (SFTP)-based access is disabled on the server.
If you still cannot access the file directory after performing these checks, the issue may be due to a cached directory on the client. To resolve this, click ... to return to the Bastionhost asset list and refresh the page.
To refresh, right-click a blank area in the asset list and select Refresh from the context menu.
What do I do if the file directory is corrupted and unreadable after I log on to an SFTP-based client?
To switch the Bastionhost encoding standard, double-click !now_gb18030.next_utf-8 and then refresh the client page. If your Xftp client displays a Cannot show remote folder warning after you log on via SFTP, click OK to close the dialog. Then, find the encoding switch folder, such as !now_UTF-8,next_gb..., in the remote directory.
! now_gb18030.next_utf-8 indicates that the default encoding standard of the current bastion host is GB 18030. After you double-click ! now_gb18030.next_utf-8, the encoding standard is changed to UTF-8.
What are the methods that I can use to upload and download files on a bastion host?
SSH-based O&M
You can use commands, such as lrzsz and scp, to upload and download files.
You can use SFTP-based tools to transfer files. For more information, see Overview.
Remote Desktop Protocol (RDP)-based O&M
You can use disk mapping to upload and download files.
You can use the clipboard to copy (Ctrl+C) and paste (Ctrl+V) files.
What do I do if no file list is displayed or if I am unable to upload files during web-based O&M?
-
Contact the administrator to check whether SFTP Channel is enabled for the control policy.
Check whether the administrator granted you the directory permissions of the host account.