Can some one share code/tutorial on transfering files from Openwrt to a remote site? :-) I tried wput and scp but did not succeed. I can "pull" the files from remote server using scp or wput but cannot "push" from the openwrt box.
Thanks
Topic: Help with transfering files from Openwrt to a remote site
The content of this topic has been archived on 5 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
Which account do you use trying to transfer the files from openwrt to the remote site via scp? Maybe you don't have permission to write to the destination?
Transfer file from openwrt box:
on the remote box:
scp <openwrt box>:/path/to/file .
on the openwrt box:
scp /path/to/file <remotebox>:
videshi: If vasquez' second command above does not work for you for some reason, you will have to provide more information than "I tried wput and scp but did not succeed."
Transfer file from openwrt box:
on the remote box:
scp <openwrt box>:/path/to/file .on the openwrt box:
scp /path/to/file <remotebox>:
Depending on what ID you're using (on the OpenWRT box, you're probably "root"), you might need to add the non-root name of the user on the remote box:
scp /path/to/file <remoteuser>@<remotebox>:
The discussion might have continued from here.