SFTP backup does not use folders correctly

General discussion about Blue Iris
Post Reply
hokiefan
Posts: 2
Joined: Fri Sep 29, 2023 2:43 pm

SFTP backup does not use folders correctly

Post by hokiefan »

I am attempting to backup files to a linux host using SFTP. I am able to send files, but they all end up in the user home directory on the host. For example, my user “adminuser” home dir is /home/adminuser. I want to put the files in the /clips directory. When I perform a test, the file ends up in the /home/adminuser directory. I think whats happening is the software is attempting to create/check that the directory is there, but when uploading the file, it ignores the path.

I have emailed support 4 days ago and have not received any response or reply.
ftp_config.jpg
ftp_config.jpg (117.66 KiB) Viewed 9424 times
After testing, you can see that the ftptest.txt file was placed in my home directory, not the /clips directory.
dir_listing.jpg
dir_listing.jpg (21.71 KiB) Viewed 9424 times
My sshd logs confirm that blueiris tries to create the folder (but fails since it already exists). I have tried this without the folder already created and all it does is create the folder and then upload the file to the home directory.
sshd_log.jpg
sshd_log.jpg (172.86 KiB) Viewed 9424 times
When I manually sftp a file, I can see my session change to the correct directory and upload the file.
Post Reply