Prerequisites #
- SFTP-supported rental server
- Windows 11 PC
Download WinFsp #

Download Rclone #
After installation, check the status.
rclone --version
Setting up the Rclone Config File #
Enter configuration mode #
Type:
rclone config
Select New remote by typing n.

Select SSH/SFTP.
Then, configure the basic information such as the server host, password/key, etc.
Find the location of the config file #
rclone config pathsFor reference, here is my config file.
[Drive]
type = sftp
host = example.sakura.ne.jp
user = nekosama
pass = password
use_insecure_cipher = true
shell_type = unix
md5sum_command = md5 -r
sha1sum_command = sha1 -rMount the drive #
Create a .bat file and enter the following content:
rclone mount Drive:/home/user/your_file Z: ^
--cache-dir %LocalAppData%\rcloneLocalAppData ^
--vfs-cache-mode writes ^
--volname "Drive Name" ^
--buffer-size 512MAbout Drive:/home/user/your_file #
Drive: The name of the remote created earlier:/home/user/your_file: The file path you want to specify (optional)
cache-dir #
Specifies the directory that rclone uses for caching. (Optional)
vfs-cache-mode #
Cache mode (writes is recommended)
Please check here for more details.
volname #
The name of the drive (Optional)
buffer-size #
Buffer for speeding up file transfer. (Optional)
Mount #
Finally, run the .bat file, and the drive will appear.
