When running an ascp upload or download transfer from the command line, you may encounter an error like the following:
C:\Program Files\Aspera\Client\bin>ascp firstname.lastname@example.org:C:/tmp/user.ui.conf.default .
Could not chdir to home directory /home/user1: No such file or directory
user.ui.conf.default 100% 161 00:00
Completed: 0K bytes transferred in 0 seconds
(5K bits/sec), in 1 file.
Why does this error occur? This error message occurs because the user's home directory cannot be found on the target server.
What affect does this error have? This error message is harmless and does not affect the transfer from successfully completing.
How to resolve this issue? If you are not the administrator of the target server, contact the administrator to resolve this issue by having them follow the solution below. If you are the administrator, continue to the solution below and follow the instructions to resolve the error message.
To fix this error, follow the below steps.
Step 1: Login to the target server as an administrator who has permissions to modify the system and the Aspera installation.
Step 2: Check that the /home directory is correctly defined. /home by default corresponds to the system's base user home directory, ie C:\Document and Settings.
2.1 Confirm that the system's base user home directory exists.
2.2 If the directory doesn't exist, create the directory.
2.3 Open up
<Aspera installation directory>/etc/fstab in a text editor such as Notepad.
2.4 Confirm that the system's base user home directory for the user's home directories is correct for the /home entry. It should look similar to the following.
C:/Documents\040and\040Settings /home ntfs binary,user 0 0
2.5 If the entry doesn't exist in fstab file, create it.
Step 3: Check that the user's home directory exists under the system's base user home directory.
3.1 Confirm that the user's home directory exists. For example, based on the example above, the directory, C:\Documents and Settings\user1 should exist.
3.2 If the directory doesn't exist, create the directory. This can be either created by having that user login or by manually creating the directory.