Common questions and answers about SFTP file transfer in Bastionhost.
Why can't I access the file directory?
Check the following in order:
Host account password and permissions — The O&M engineer must have a password configured for the host account and the required permissions on the host account. If no password is configured for the host account and the O&M engineer does not have the permissions on the host account, access to the file directory is blocked.
To configure a password for the host account, see Configure account settings for a host.
To grant the O&M engineer permissions on the host account, see Authorize a user to manage the accounts of one or more assets.
Network connectivity — Confirm that the bastion host can reach the server. See Diagnose network issues.
SFTP Channel setting — Verify that SFTP Channel is enabled in the control policy. See Manage control policies.
Server-side SFTP access — Check whether SFTP access is disabled on the server itself.
If the issue persists after the above checks, the client may have cached a stale file directory. Click ... to return to the bastion host list, then refresh the list.

What do I do if the file directory is corrupted and unreadable after logging on to an SFTP client?
Double-click !now_gb18030.next_utf-8 in the client, then refresh the page to switch the Bastionhost encoding to UTF-8.

!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 methods can I use to upload and download files on a bastion host?
| O&M type | Methods |
|---|---|
| SSH-based O&M | Commands such as lrzsz and scp; SFTP-based tools (see O&M overview) |
| Remote Desktop Protocol (RDP)-based O&M | Disk mapping; clipboard (copy with Ctrl+C, paste with Ctrl+V) |
What do I do if no file list is displayed or I can't upload files during web-based O&M?
Contact the administrator to verify that SFTP Channel is enabled in the control policy.

Check whether the administrator has granted you directory permissions for the host account.