What's new

Curl to download logfile (syslog.txt)

That won't work because the router does not use HTTP Basic Auth, but a custom token-based authentication.
 
I believe curl supports scp and sftp.

Code:
# curl -u admin:password scp://192.168.1.1/tmp/syslog.log -O
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  212k  100  212k    0     0   948k      0 --:--:-- --:--:-- --:--:--  948k
100  212k  100  212k    0     0   943k      0 --:--:-- --:--:-- --:--:--  943k
 
Last edited:
We have liftoff:
Code:
curl -k --user user:pass scp://10.10.333.111:22/tmp/syslog.log -o syslog.log
Or for port 443
curl -k --user user:pass scp://10.10.333.111:443/tmp/syslog.log -o syslog.log
 
Similar threads
Thread starter Title Forum Replies Date
A Large disparity in download to upload speeds on Asus BQ16 ASUS Wi-Fi 7

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top