Changes

Line 6: Line 6:     
===File transfer===
 
===File transfer===
 
+
----
 
* Launch WinSCP and fill in the highlighted fields:
 
* Launch WinSCP and fill in the highlighted fields:
   Line 39: Line 39:     
===Upload files===
 
===Upload files===
 
+
----
 
To upload a file from a PC to the router, you must specify the source path to the file on your computer and the destination path to the router.
 
To upload a file from a PC to the router, you must specify the source path to the file on your computer and the destination path to the router.
   Line 60: Line 60:     
* If you upload configuration (''config'') files into the router, changes will not take effect until you reload the related service. You can use the '''''luci-reload'''' command to do so or simply '''reboot''' the router.
 
* If you upload configuration (''config'') files into the router, changes will not take effect until you reload the related service. You can use the '''''luci-reload'''' command to do so or simply '''reboot''' the router.
* In most cases people upload config files, custom scripts or software packages. It useful to know where certain files should be uploaded. For example, all config files are stored in ''/etc/config/''; the [[User Scripts]] file is called ''rc.common'' and stored in ''/etc/''.
+
* In most cases people upload config files, custom scripts or software packages. It useful to know where certain files should be uploaded. For example, all config files are stored in ''/etc/config/''; the User Scripts file is called ''rc.common'' and stored in ''/etc/''.
 
* Configuration files have fixed names. So, for example, if you upload an OpenVPN config file but with a different name than the one used in the example above, the configuration will not work. You can find a list of RUTxxx config file names and related services '''[[UCI_command_usage#Configuration_files|here]]'''.
 
* Configuration files have fixed names. So, for example, if you upload an OpenVPN config file but with a different name than the one used in the example above, the configuration will not work. You can find a list of RUTxxx config file names and related services '''[[UCI_command_usage#Configuration_files|here]]'''.
    
===Download files===
 
===Download files===
 
+
----
 
Downloading files from a router is very similar to uploading. You just have specify the file path of the router in place of the file location.
 
Downloading files from a router is very similar to uploading. You just have specify the file path of the router in place of the file location.
   Line 71: Line 71:  
  scp [email protected]:/etc/config/openvpn ~/Desktop
 
  scp [email protected]:/etc/config/openvpn ~/Desktop
   −
As you may notice, all that is different is that source and destination paths are switched.  
+
As you may notice, all that is different is that source and destination paths are switched.
    
==Transfer directories==
 
==Transfer directories==
Line 91: Line 91:     
===External links===
 
===External links===
 
+
----
 
* [https://winscp.net/eng/download.php WinSCP download]
 
* [https://winscp.net/eng/download.php WinSCP download]
   −
[[Category:FAQ]]
+
[[Category:Control & Configuration]]
Anonymous user