To test or verify FTP server functions, a test application isn’t required. Perform FTP functions through the client connection.
Prerequisites
Before you begin, set up the device as described in Set up the device for Bluetooth FTP functions.Create a folder
To create a folder on the remote device, run the following command from theobexctl menu:
/var/bluetooth directory.
Parameters
<folder_name> is the new folder name.
Example
To create a folder called new_dir, run the following command:
Change the current folder
To change the current folder of the remote device, run the following command from theobexctl menu:
<folder_path> is the folder that you intend to switch to.
Example
To change the current folder to new_dir, run the following command:
Get current folder information
To get information about the current folder, run the following command from theobexctl menu:
Copy a file to a remote device
To copy a local file to the remote device, run the following command from theobexctl menu:
-
<source_file>is the local file. -
<destination_file>is the target file on the remote device.
Documents/ftp_client.txt to the ftp_client.txt on the remote device, run the following command:
Copy a file from a remote device
Before you begin, change the current folder to the folder of the intended file. To copy a file from the remote device to a local directory, run the following command from theobexctl menu:
-
<source_file>is the file on the remote device. -
<destination_file>is the target file on the local device.
ftp_client_2.txt file from the remote device to the local device, run the following command:
Copy a file in a remote device
To copy a file from a directory to another directory on the remote device, run the following command from theobexctl menu:
-
<source_file>is the file you intend to copy. -
<destination_file>is the target location.
ftp_client.txt to /new_dir_2/, run the following command:
Move a file
To move a file from one folder to another on the remote device, run the following command from theobexctl menu:
-
<source_file>is the file you intend to move. -
<destination_file>is the target location.
ftp_client_2.txt file to /new_dir_2/, run the following command:
Delete a file
To delete a file, run the following command from theobexctl menu:
<filename> is the file you intend to delete.
Example
To delete ftp_client.txt file, run the following command:

