can the NAS DOWNLOAD files via SFTP ?

FTP Server, File Server, DDNS, SAMBA, AFP, NFS
Locked
McCloud
Starting out
Posts: 11
Joined: Tue Apr 05, 2016 7:32 pm

can the NAS DOWNLOAD files via SFTP ?

Post by McCloud »

Hey,

the Telnet/SSH option allows me to connect TO the NAS.

Does it work the 'other way' round ?

Is the NAS able to reach to a server / domain and DOWNLOAD files from it (and save them) via SFTP ?

We need to perform automated backups and download files from a server on the internet.

Or does it need to be configured from the other end, so that the server reaches the NAS via SSH and 'uploads' the backups to it automatically ?

Thanks!
User avatar
OneCD
Guru
Posts: 12146
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: can the NAS DOWNLOAD files via SFTP ?

Post by OneCD »

McCloud wrote:the Telnet/SSH option allows me to connect TO the NAS.

Does it work the 'other way' round ?
It sure does! :geek:

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
McCloud
Starting out
Posts: 11
Joined: Tue Apr 05, 2016 7:32 pm

Re: can the NAS DOWNLOAD files via SFTP ?

Post by McCloud »

would I need to connect via SSH (and terminal on Mac) and configure it via commands ?

I got something like this:
wget -m ftp://<domain>/* --user='<username>' --password='<password>'
User avatar
OneCD
Guru
Posts: 12146
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: can the NAS DOWNLOAD files via SFTP ?

Post by OneCD »

McCloud wrote:would I need to connect via SSH (and terminal on Mac) and configure it via commands ?
Yes, unless you could create a backup job in Backup Station to do this.
McCloud wrote:I got something like this:
wget -m ftp://<domain>/* --user='<username>' --password='<password>'
That may work but I can't check it. ;)

Here's a guide that may be useful for creating an SFTP connection.

To install the sftp binary, you'll first need to install the Entware-ng QPKG.

Then you can install sftp:

Code: Select all

opkg update; opkg install openssh-sftp-client
If your downloads will take a while, I suggest you use screen. This way, you can disconnect your SSH session and reconnect to it later.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
McCloud
Starting out
Posts: 11
Joined: Tue Apr 05, 2016 7:32 pm

Re: can the NAS DOWNLOAD files via SFTP ?

Post by McCloud »

perfect, thanks!

That's some really good info. The Backup Station and RTRR is probably what I was looking for the whole time :)
Locked

Return to “File Sharing”