You are here
lexalalex - Thu, 2017/11/30 - 16:31
Hello, sorry for my english. I use TurnKey Redmine version (14.1). I make the backup by the command tklbam-backup --address=ftp://user:password@IP. How to make ncftpls work in PORT mode, and not in PASV mode?
Forum:
Hi there!
Having said that, if your FTP server is not using the default plain FTP port (21), you should be able to include the port in your address, i.e. something like this:
If your server is using SFTP (via the default port, 22) then change the url to start with sftp:// e.g.:
Assuming plain FTP (change ftp to sftp for sftp as noted above), a username of 'user', a password of 'password', the IP of your FTP server as 192.168.1.100 and a remote port of 19, then it should look something like this: You should also be able to specify a path, e.g. to use /home/user/backups/: Hopefully that works for you. Let me know how you go.Awesome! :)
But it sounds like it assumes that users are using SFTP, unless they explicitly set it up otherwise.
Thanks for posting back with your findings.
Add new comment