Contents
- SFTP uses SSH, not FTP data ports
- Verify the profile and prepare the appropriate directory before transferring
- The local file and its provider are part of the transfer
- Upload from phone: first a harmless file and a new name
- Download from server: confirm the actual destination and readability of the copy
- Breaks, symlinks, and directories
- Integrity: size helps, checksum compares content
- Completion and resolution of a specific error
- Frequently asked questions
App screenshots

SFTP uses SSH, not FTP data ports
SFTP transfers files over a secure SSH transport. It typically connects to the same SSH port and uses both account and host authentication. It is not FTP with added encryption and does not require its passive data port range. Therefore, confirm the protocol that the mobile client is actually using before configuring the firewall.
The server must provide a proper SFTP subsystem, and the account needs permissions to the appropriate directories. A working terminal does not prove working SFTP or writing to every location. Similarly, a public web address does not mean that the browser and SFTP are working with the same path. The web can read the unmodified published revision, while the account only writes to the staging.
CH-J Tools Mobile in the 0.0.4 series offers SFTP browsing and transfer. However, please check the specific iOS/iPadOS release from TestFlight separately. Do not assume support for auto-rewrite, transfer continuation, or directory tracking just because another desktop application has them. In this procedure, we expect targeted transfer of selected files.
Verify the profile and prepare the appropriate directory before transferring
Confirm the host, port, user, and trusted server fingerprint. Start in the user's home directory or another location reserved for the transfer. Uploading the first test directly to /etc or the active webroot unnecessarily couples the transfer test with operational intervention. Handle production activation permissions separately.
# Čtecí kontrola ve vzdáleném terminálu:
whoami
hostname
pwd
ls -ld /home/spravce /home/spravce/prenos
df -h /home/spravce
df -i /home/spravceThe paths are an example and the directory prenos does not have to exist. If you need to create it, do it specifically under the appropriate account and with the necessary rights. Free gigabytes do not exclude exhausted inodes or quota. In addition, with a chroot, the visible path / may correspond to another host directory. Explain both views before writing.
For a restricted SFTP account or external storage, the administrator may only allow certain operations. Do not remove these policies as a first response to a rejected upload. You need to determine whether the permissions, subsystem, space, or the server path itself are missing.
The local file and its provider are part of the transfer
On your phone, you select a document through the system interface and the relevant provider. It can be a local storage, an external drive, or a cloud document. Therefore, the application may not have general access to all paths and may need to actually download the selected cloud content before uploading. The file name in the list is not proof of its offline availability.
On Android, the Storage Access Framework passes permissions to the selected document or tree. A URI is not the same as an arbitrary POSIX path. On iOS and iPadOS, the work is governed by the system File provider and permissions. If the document cannot be opened after changing the location or removing permissions, select it again in the correct supported way.
For sensitive data, think about both the destination and the source in advance. A direct SSH connection does not mean that a file selected from your cloud is not being used by any cloud. A private key, database backup, or token log must not end up in an unwanted shared folder just for the sake of a convenient system dialog.
Upload from phone: first a harmless file and a new name
Open the remote target directory in the client, select upload, and select the document. Read the entire name and target path before confirming. Long names may be visually shortened on a small display. If the same existing name is used, respect the client's overwrite protection; do not consider it a server error.
In the verified mobile series, transfers reject the existing target. Use a different approved name for the new version, or choose a managed editor or publish operation. It is not safe to delete the active file first just to make the upload go through: there will be a period when the application cannot find it, and you may not have a working copy if a subsequent error occurs.
When finished, refresh the list and verify the size and content as needed. A positive transfer report does not say anything about whether the file has already been loaded by the website or service. If the change is to go into production, use its test and activation. Uploading a source package is not an automatic build or safe deployment.
Download from server: confirm the actual destination and readability of the copy
When downloading, select a remote file and a supported system save or share destination. For the share dialog, verify that you actually saved the document or just passed it to another application. Completion includes opening the resulting copy from the expected location, not just closing the dialog without an error.
For a long-term file, verify that it can be accessed later. The cloud provider may have its own way of managing the content, and a file in the application's temporary space may not be a suitable archival copy. Additionally, backing up an important document requires not only the existence of the file, but also the ability to restore it and the correct access rights.
When dealing with a large file, monitor your phone's capacity and the application's behavior. Some functions work with the document in memory and may have their own limit, although SFTP itself can handle a different volume. If the operation is interrupted, do not mark any partial copy as finished by its name.
Breaks, symlinks, and directories
Network changes, application hibernation, or application locking can interrupt the transfer. In the described series of Vault locks, SSH disconnects. For larger operations, leave the application in the expected operational state and verify the result upon return. Do not assume automatic continuation from the last byte unless the specific client and operation explicitly supports it.
Furthermore, continuing into an existing file is only safe if the existing content matches. The same name or length is not enough. Therefore, do not transfer the general rule from another SFTP program to a mobile client. For important data, start with a new file and confirm completeness with appropriate verification.
CH-J Tools Mobile of this series restricts symlink traversal and directory deletion is non-recursive. Such restriction can protect against unexpected path overrun or large tree deletion. It is not correct to automatically introduce remote rm -rf as a replacement for an inactive menu item. For directory transfer and deletion, please follow the actual supported workflow.
Integrity: size helps, checksum compares content
For innocuous text, you can open and inspect the result. For a package, backup, or important binary file, it is a good idea to compare the cryptographic checksum of the same bytes at both ends. The server example below creates a fingerprint of the remote copy; it does not itself compute the file stored on the phone.
# GNU nástroje na serveru, pro ověřenou cestu:
sha256sum /home/spravce/prenos/test.bin
sha512sum /home/spravce/prenos/test.binThe 0.0.4 mobile release does not have a separate local Hash & Checksum tool. For the other side, use a suitable trusted local tool or verify on your computer. The internal conflict check in the editor is not a public universal hashing panel. Sending a private file to an unknown online service just to calculate a hash would unnecessarily expose its contents.
A matching fingerprint confirms virtually identical content due to the method used, not the identity of the author. If you are verifying the origin of an installation package, the expected sum and any digital signature must come from a trusted source. A file and checksum downloaded from the same spoofed page may be consistent with each other.
Completion and resolution of a specific error
Permission denied can mean missing permissions to a file or directory; when saving via renaming, the parent path also matters. No space left on device requires checking the blocks and inodes of the correct volume. Subsystem request failed, on the other hand, points to starting SFTP. One universal change of permissions does not explain all these situations.
- The correct server, account, and destination directory were used.
- The local source and destination were actually available from the chosen provider.
- The existing production file was not deleted just to bypass the write protection.
- The completed copy has the expected completeness and, if necessary, a consistent print.
- Activation and cleanup of temporary or sensitive copies were done consciously.
When submitting an issue, include the stage, time, size, and anonymized path. Do not include login secrets or the sensitive file itself unless necessary. A good transfer process includes not only moving bytes, but also a verified outcome and a clear decision about where which copy will remain after completion.
Frequently asked questions
Is SFTP the same as FTP over TLS?
No. SFTP works over SSH and does not use the same data channel method as FTP.
Why does the upload reject an existing file?
In the described mobile series, this is about overwrite protection. Use a new name or an appropriate managed editor or publishing procedure.
Can mobile 0.0.4 universally calculate local SHA-512?
It does not have a separate Hash & Checksum tool. Use another verified local procedure, not the supposed panel from the desktop.
Is the provider's file always locally on the phone?
Not necessarily. System selection can also work with cloud documents or temporarily available content.
Detailed documentation
OpenSSH: SFTP client and working with transfers →
OpenSSH: server SFTP subsystem →
Android: documents and storage providers →