Hi team, here's a new case.
Problem
When the Linux operating system functions as the SFTP server, the file fails to be imported or exported.
Fault Symptom
Failed to import or export files using SFTP.
1. Failed to export the file.

2. Failed to import the file.

You can log in to the Linux server using WinSCP.

Cause
The SFTP server is enabled by default in the Linux operating system.
However, importing and exporting files fails because the file path information is not entered.
The user account does not have the read and write permission on the file path to be imported or exported.
Location Method
A message is displayed indicating that the SFTP import and export fails.
Solution
1. For the export operation
1. Export data as the root user.
The root user has the read and write permissions.

2. If a specific user name is used, you need to log in to the system as the specified user and add the path permission.
Failed to export the data without permission.

Run the following command again after the permission is added:


2. For the import operation, add the permission and add the path information.

Emergency Measures
If SFTP is unavailable, you can use the /home/permitdir directory of the storage system to import or export data.
For example, export the configuration file to /home/permitdir/.
export configuration_data ip=172.24.245.15 (controller IP address) user=admin password= (system password) db_file=/home/permitdir/conf.dat protocol=SFTP
Attachments
How to Use WinSCP
Use WinSCP to log in to the storage array.
Use the admin account and password to log in to the storage array.

To access the directory using WinSCP, perform the following steps:
