http://wiki.dd-wrt.com/wiki/index.php?title=WinSCP&action=history&feed=atom WinSCP - Revision history 2024-03-28T08:29:32Z Revision history for this page on the wiki MediaWiki 1.10.1 http://wiki.dd-wrt.com/wiki/index.php?title=WinSCP&diff=37052&oldid=prev Telcom: /* Uses and Warnings */ 2010-11-11T04:58:24Z <p><span class="autocomment">Uses and Warnings</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 04:58, 11 November 2010</td> </tr> <tr><td colspan="2" align="left"><strong>Line 36:</strong></td> <td colspan="2" align="left"><strong>Line 36:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* or unix2dos and dos2unix utility to convert the file.</td><td> </td><td style="background: #eee; font-size: smaller;">* or unix2dos and dos2unix utility to convert the file.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* Has this been tested?: [http://en.wikipedia.org/wiki/Programmer%27s_Notepad Programmer's Notepad]</td><td> </td><td style="background: #eee; font-size: smaller;">* Has this been tested?: [http://en.wikipedia.org/wiki/Programmer%27s_Notepad Programmer's Notepad]</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">* UltraEdit from [http://www.ultraedit.com/products/ultraedit.html IDM Computer Solutions, Inc.] This has been tested.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Microsoft platforms use Carriage Return and New Line codes at the end of each line, within text files. Unix only uses New Line, and almost all other operating systems are similar to Unix, not Windows.</td><td> </td><td style="background: #eee; font-size: smaller;">Microsoft platforms use Carriage Return and New Line codes at the end of each line, within text files. Unix only uses New Line, and almost all other operating systems are similar to Unix, not Windows.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> </table> Telcom http://wiki.dd-wrt.com/wiki/index.php?title=WinSCP&diff=34949&oldid=prev Alexis99: /* Uses and Warnings */ 2010-07-30T11:21:09Z <p><span class="autocomment">Uses and Warnings</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 11:21, 30 July 2010</td> </tr> <tr><td colspan="2" align="left"><strong>Line 37:</strong></td> <td colspan="2" align="left"><strong>Line 37:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* Has this been tested?: [http://en.wikipedia.org/wiki/Programmer%27s_Notepad Programmer's Notepad]</td><td> </td><td style="background: #eee; font-size: smaller;">* Has this been tested?: [http://en.wikipedia.org/wiki/Programmer%27s_Notepad Programmer's Notepad]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Microsoft platforms use Carriage Return and New Line codes at the end of each line, within text files. Unix only uses New Line, and almost all other operating systems are similar to Unix, not Windows.</td><td> </td><td style="background: #eee; font-size: smaller;">Microsoft platforms use Carriage Return and New Line codes at the end of each line, within text files. Unix only uses New Line, and almost all other operating systems are similar to Unix, not Windows.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">export PATH=/tmp/bin:\$PATH</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">echo &gt; /tmp/bin/groups &quot;#!/bin/sh </td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">echo 'root'&quot; </td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">/bin/chmod +x /tmp/bin/groups</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Use WinSCP to automatically mirror PC files to a DD-WRT Device==</td><td> </td><td style="background: #eee; font-size: smaller;">==Use WinSCP to automatically mirror PC files to a DD-WRT Device==</td></tr> </table> Alexis99 http://wiki.dd-wrt.com/wiki/index.php?title=WinSCP&diff=31927&oldid=prev Glenn: catchg 2010-05-01T06:36:28Z <p>catchg</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 06:36, 1 May 2010</td> </tr> <tr><td colspan="2" align="left"><strong>Line 49:</strong></td> <td colspan="2" align="left"><strong>Line 49:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">[[Category:<del style="color: red; font-weight: bold; text-decoration: none;">English documentation</del>]]</td><td>+</td><td style="background: #cfc; font-size: smaller;">[[Category:<ins style="color: red; font-weight: bold; text-decoration: none;">Management</ins>]]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Basic tutorials]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Basic tutorials]]</td></tr> </table> Glenn http://wiki.dd-wrt.com/wiki/index.php?title=WinSCP&diff=31926&oldid=prev Glenn: /* Uses and Warnings */ +possible alternative notepad? 2010-05-01T06:34:04Z <p><span class="autocomment">Uses and Warnings -</span> +possible alternative notepad?</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 06:34, 1 May 2010</td> </tr> <tr><td colspan="2" align="left"><strong>Line 35:</strong></td> <td colspan="2" align="left"><strong>Line 35:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* [http://www.editpadpro.com EditPadLite] Free version of EditPadPro</td><td> </td><td style="background: #eee; font-size: smaller;">* [http://www.editpadpro.com EditPadLite] Free version of EditPadPro</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* or unix2dos and dos2unix utility to convert the file.</td><td> </td><td style="background: #eee; font-size: smaller;">* or unix2dos and dos2unix utility to convert the file.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">* Has this been tested?: [http://en.wikipedia.org/wiki/Programmer%27s_Notepad Programmer's Notepad]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Microsoft platforms use Carriage Return and New Line codes at the end of each line, within text files. Unix only uses New Line, and almost all other operating systems are similar to Unix, not Windows.</td><td> </td><td style="background: #eee; font-size: smaller;">Microsoft platforms use Carriage Return and New Line codes at the end of each line, within text files. Unix only uses New Line, and almost all other operating systems are similar to Unix, not Windows.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> </table> Glenn http://wiki.dd-wrt.com/wiki/index.php?title=WinSCP&diff=26690&oldid=prev Gritaro: /* Getting Started Guide */ 2009-09-02T22:00:08Z <p><span class="autocomment">Getting Started Guide</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 22:00, 2 September 2009</td> </tr> <tr><td colspan="2" align="left"><strong>Line 14:</strong></td> <td colspan="2" align="left"><strong>Line 14:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">#* File Protocol: SCP, '''not SFTP'''</td><td> </td><td style="background: #eee; font-size: smaller;">#* File Protocol: SCP, '''not SFTP'''</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"># You can save the session now for later use.</td><td> </td><td style="background: #eee; font-size: smaller;"># You can save the session now for later use.</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"># When connecting there is a 'command 'groups' ' error and possibly a 'pwd' error. Ignore these.</td><td>+</td><td style="background: #cfc; font-size: smaller;"># When connecting there is a 'command 'groups' ' error and possibly a 'pwd' error. Ignore these. <ins style="color: red; font-weight: bold; text-decoration: none;">*</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"># Then the window appears of the file manager. Local content is on the left, router content on the right.</td><td> </td><td style="background: #eee; font-size: smaller;"># Then the window appears of the file manager. Local content is on the left, router content on the right.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">&lt;nowiki&gt;*&lt;/nowiki&gt; To get rid of this annoying warnings add this to your startup script:</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> export PATH=/tmp/bin:\$PATH</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> echo &gt; /tmp/bin/groups &quot;#!/bin/sh </td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> echo 'root'&quot; </td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> /bin/chmod +x /tmp/bin/groups</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Uses and Warnings==</td><td> </td><td style="background: #eee; font-size: smaller;">==Uses and Warnings==</td></tr> </table> Gritaro http://wiki.dd-wrt.com/wiki/index.php?title=WinSCP&diff=24189&oldid=prev Alvin: /* Mirroring Content to DD-WRT Device */ 2009-02-05T07:01:39Z <p><span class="autocomment">Mirroring Content to DD-WRT Device</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 07:01, 5 February 2009</td> </tr> <tr><td colspan="2" align="left"><strong>Line 31:</strong></td> <td colspan="2" align="left"><strong>Line 31:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Microsoft platforms use Carriage Return and New Line codes at the end of each line, within text files. Unix only uses New Line, and almost all other operating systems are similar to Unix, not Windows.</td><td> </td><td style="background: #eee; font-size: smaller;">Microsoft platforms use Carriage Return and New Line codes at the end of each line, within text files. Unix only uses New Line, and almost all other operating systems are similar to Unix, not Windows.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">==<del style="color: red; font-weight: bold; text-decoration: none;">Mirroring Content </del>to DD-WRT Device==</td><td>+</td><td style="background: #cfc; font-size: smaller;">==<ins style="color: red; font-weight: bold; text-decoration: none;">Use WinSCP </ins>to <ins style="color: red; font-weight: bold; text-decoration: none;">automatically mirror PC files to a </ins>DD-WRT Device==</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Edit html files locally with your favorite website editor (Dreamweaver or SeaMonkey), and have WinSCP update the DD-WRT device copies automatically.</td><td> </td><td style="background: #eee; font-size: smaller;">Edit html files locally with your favorite website editor (Dreamweaver or SeaMonkey), and have WinSCP update the DD-WRT device copies automatically.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">While connected to the router with WinSCP,</td><td> </td><td style="background: #eee; font-size: smaller;">While connected to the router with WinSCP,</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"># Manually drag the content on the right to the left.&lt;br&gt;Creates a copy of the folder or files on your computer of the folder on the router.</td><td> </td><td style="background: #eee; font-size: smaller;"># Manually drag the content on the right to the left.&lt;br&gt;Creates a copy of the folder or files on your computer of the folder on the router.</td></tr> </table> Alvin http://wiki.dd-wrt.com/wiki/index.php?title=WinSCP&diff=24188&oldid=prev Alvin: /* Uses and Warnings */ 2009-02-05T06:58:50Z <p><span class="autocomment">Uses and Warnings</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 06:58, 5 February 2009</td> </tr> <tr><td colspan="2" align="left"><strong>Line 18:</strong></td> <td colspan="2" align="left"><strong>Line 18:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Uses and Warnings==</td><td> </td><td style="background: #eee; font-size: smaller;">==Uses and Warnings==</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">* WinSCP can be used to save information on the DD-WRT-enabled device <del style="color: red; font-weight: bold; text-decoration: none;">in /jffs&lt;br&gt;If you have JFFS turned </del>on <del style="color: red; font-weight: bold; text-decoration: none;">and there is </del>any space <del style="color: red; font-weight: bold; text-decoration: none;">left in the flash</del>. <del style="color: red; font-weight: bold; text-decoration: none;">See [[JFFS|JFFS2]]</del></td><td>+</td><td style="background: #cfc; font-size: smaller;">* WinSCP can be used to save information on the DD-WRT-enabled device on any <ins style="color: red; font-weight: bold; text-decoration: none;">rw-able </ins>space. <ins style="color: red; font-weight: bold; text-decoration: none;">This is normally /jffs</ins>, /mmc or /<ins style="color: red; font-weight: bold; text-decoration: none;">mnt, /opt</ins></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;">* WinSCP can save to an SD Card</del>, <del style="color: red; font-weight: bold; text-decoration: none;">mounted in </del>/mmc<del style="color: red; font-weight: bold; text-decoration: none;">, </del>or <del style="color: red; font-weight: bold; text-decoration: none;">other attached storage mounted in the DD-WRT file system. See [[SD</del>/<del style="color: red; font-weight: bold; text-decoration: none;">MMC Mod|SD Card Modification]]</del></td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Microsoft's Windows <del style="color: red; font-weight: bold; text-decoration: none;">platforms only: </del>'''<del style="color: red; font-weight: bold; text-decoration: none;">Do Not'</del>'' use Notepad to write or edit the files. <del style="color: red; font-weight: bold; text-decoration: none;">The Edit function within </del>WinSCP <del style="color: red; font-weight: bold; text-decoration: none;">opens </del>a <del style="color: red; font-weight: bold; text-decoration: none;">custom </del>editor which formats correctly for Unix. The following applications can save Unix-formatted files:</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">rw-space has to be enabled first. See: [[Jffs]] for /jffs, see [[SD/MMC_mod|SD Card Modification]] for /mmc, and [[USB_storage]] for /mnt. Also see [[optware]] for /opt in connection with jffs, sd card or usb</ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">&#160;</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">'''About editing scripts on a </ins>Microsoft's Windows <ins style="color: red; font-weight: bold; text-decoration: none;">platform</ins>'''<ins style="color: red; font-weight: bold; text-decoration: none;">: </ins>''<ins style="color: red; font-weight: bold; text-decoration: none;">Do Not </ins>use Notepad<ins style="color: red; font-weight: bold; text-decoration: none;">'' </ins>to write or edit the <ins style="color: red; font-weight: bold; text-decoration: none;">script </ins>files <ins style="color: red; font-weight: bold; text-decoration: none;">- it messes up the &lt;line break&gt; linux codes</ins>. WinSCP <ins style="color: red; font-weight: bold; text-decoration: none;">has </ins>a <ins style="color: red; font-weight: bold; text-decoration: none;">built-in </ins>editor which formats correctly for Unix. </td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">&#160;</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">The following applications can <ins style="color: red; font-weight: bold; text-decoration: none;">also </ins>save Unix-formatted files:</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* [http://notepad-plus.sourceforge.net/ Notepad++]</td><td> </td><td style="background: #eee; font-size: smaller;">* [http://notepad-plus.sourceforge.net/ Notepad++]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* jedit</td><td> </td><td style="background: #eee; font-size: smaller;">* jedit</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* [http://www.editpadpro.com EditPadLite] Free version of EditPadPro</td><td> </td><td style="background: #eee; font-size: smaller;">* [http://www.editpadpro.com EditPadLite] Free version of EditPadPro</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* or unix2dos and dos2unix utility to convert the file.</td><td> </td><td style="background: #eee; font-size: smaller;">* or unix2dos and dos2unix utility to convert the file.</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Microsoft platforms use Carriage Return and New Line codes at the end of each line, within text files. Unix only uses New Line, and almost all other operating systems are similar to Unix, not Windows. </td><td>+</td><td style="background: #cfc; font-size: smaller;">Microsoft platforms use Carriage Return and New Line codes at the end of each line, within text files. Unix only uses New Line, and almost all other operating systems are similar to Unix, not Windows.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Mirroring Content to DD-WRT Device==</td><td> </td><td style="background: #eee; font-size: smaller;">==Mirroring Content to DD-WRT Device==</td></tr> </table> Alvin http://wiki.dd-wrt.com/wiki/index.php?title=WinSCP&diff=20515&oldid=prev S2s2: Structure Structure Structure 2008-05-16T21:56:11Z <p>Structure Structure Structure</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 21:56, 16 May 2008</td> </tr> <tr><td colspan="2" align="left"><strong>Line 1:</strong></td> <td colspan="2" align="left"><strong>Line 1:</strong></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">==Introduction==</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">For Windows XP (or other varients), this article is just an explanation on how to use WinSCP to transfer files and manage folders on the writable storage areas within the router. A lot of articles refer to using WinSCP in the DD-WRT Wiki, however few go into any detail, assuming instead the user knows how to use WinSCP or even what it is.</td><td> </td><td style="background: #eee; font-size: smaller;">For Windows XP (or other varients), this article is just an explanation on how to use WinSCP to transfer files and manage folders on the writable storage areas within the router. A lot of articles refer to using WinSCP in the DD-WRT Wiki, however few go into any detail, assuming instead the user knows how to use WinSCP or even what it is.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">WinSCP gives a norton-commander like interface for transferring files and creating folders on the router.</td><td> </td><td style="background: #eee; font-size: smaller;">WinSCP gives a norton-commander like interface for transferring files and creating folders on the router.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">==Getting Started Guide==</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"># Enable [[Telnet/SSH and the Command Line#SSH|SSH]] in the Web administration page of the router.</td><td> </td><td style="background: #eee; font-size: smaller;"># Enable [[Telnet/SSH and the Command Line#SSH|SSH]] in the Web administration page of the router.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"># Download [http://www.winscp.net WinSCP] and install it.</td><td> </td><td style="background: #eee; font-size: smaller;"># Download [http://www.winscp.net WinSCP] and install it.</td></tr> <tr><td colspan="2" align="left"><strong>Line 15:</strong></td> <td colspan="2" align="left"><strong>Line 17:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"># Then the window appears of the file manager. Local content is on the left, router content on the right.</td><td> </td><td style="background: #eee; font-size: smaller;"># Then the window appears of the file manager. Local content is on the left, router content on the right.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">WinSCP can be used to save information on the DD-WRT-enabled <del style="color: red; font-weight: bold; text-decoration: none;">router </del>in /jffs<del style="color: red; font-weight: bold; text-decoration: none;">, if </del>you have JFFS turned on and there is any space left in the flash. <del style="color: red; font-weight: bold; text-decoration: none;">Or </del>WinSCP can save to <del style="color: red; font-weight: bold; text-decoration: none;">the </del>SD Card, mounted in /mmc, or other attached storage mounted in the DD-WRT file system.</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">==Uses and Warnings==</ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">* </ins>WinSCP can be used to save information on the DD-WRT-enabled <ins style="color: red; font-weight: bold; text-decoration: none;">device </ins>in /jffs<ins style="color: red; font-weight: bold; text-decoration: none;">&lt;br&gt;If </ins>you have JFFS turned on and there is any space left in the flash. <ins style="color: red; font-weight: bold; text-decoration: none;">See [[JFFS|JFFS2]]</ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">* </ins>WinSCP can save to <ins style="color: red; font-weight: bold; text-decoration: none;">an </ins>SD Card, mounted in /mmc, or other attached storage mounted in the DD-WRT file system. <ins style="color: red; font-weight: bold; text-decoration: none;">See [[SD/MMC Mod|SD Card Modification]]</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Microsoft's Windows platforms only: '''Do Not''' use Notepad to write or edit the files. The Edit function within WinSCP opens a custom editor which formats correctly for Unix. The following applications can save Unix-formatted files:</td><td> </td><td style="background: #eee; font-size: smaller;">Microsoft's Windows platforms only: '''Do Not''' use Notepad to write or edit the files. The Edit function within WinSCP opens a custom editor which formats correctly for Unix. The following applications can save Unix-formatted files:</td></tr> <tr><td colspan="2" align="left"><strong>Line 23:</strong></td> <td colspan="2" align="left"><strong>Line 27:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* or unix2dos and dos2unix utility to convert the file.</td><td> </td><td style="background: #eee; font-size: smaller;">* or unix2dos and dos2unix utility to convert the file.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Microsoft platforms use Carriage Return and New Line codes at the end of each line, within text files. Unix only uses New Line, and almost all other operating systems are similar to Unix, not Windows. </td><td> </td><td style="background: #eee; font-size: smaller;">Microsoft platforms use Carriage Return and New Line codes at the end of each line, within text files. Unix only uses New Line, and almost all other operating systems are similar to Unix, not Windows. </td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">==Mirroring Content to DD-WRT Device==</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Edit html files locally with your favorite website editor (Dreamweaver or SeaMonkey), and have WinSCP update the DD-WRT device copies automatically.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">While connected to the router with WinSCP,</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"># Manually drag the content on the right to the left.&lt;br&gt;Creates a copy of the folder or files on your computer of the folder on the router.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"># Click on the left side, then choose, Keep Remote Directory Up To Date...</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"># Click once on Sycronize on Start (unchecked).</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"># Click Start.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"># WinSCP updates the information on the router whenever the mirror on the local computer is modified (I.E. Saved in Dreamweaver).</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:English documentation]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:English documentation]]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Basic tutorials]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Basic tutorials]]</td></tr> </table> S2s2 http://wiki.dd-wrt.com/wiki/index.php?title=WinSCP&diff=20102&oldid=prev S2s2: structure 2008-04-12T10:57:06Z <p>structure</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 10:57, 12 April 2008</td> </tr> <tr><td colspan="2" align="left"><strong>Line 7:</strong></td> <td colspan="2" align="left"><strong>Line 7:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"># Launch the program. Under Session, enter:</td><td> </td><td style="background: #eee; font-size: smaller;"># Launch the program. Under Session, enter:</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">#* Host name: Router's IP address</td><td> </td><td style="background: #eee; font-size: smaller;">#* Host name: Router's IP address</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">#* User name: Always 'root' <del style="color: red; font-weight: bold; text-decoration: none;">(even </del>if you have changed the username for the web interface<del style="color: red; font-weight: bold; text-decoration: none;">)</del></td><td>+</td><td style="background: #cfc; font-size: smaller;">#* User name: Always 'root'<ins style="color: red; font-weight: bold; text-decoration: none;">. Even </ins>if you have changed the username for the web interface<ins style="color: red; font-weight: bold; text-decoration: none;">.</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">#* Password: router password</td><td> </td><td style="background: #eee; font-size: smaller;">#* Password: router password</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">#* Private key file: <del style="color: red; font-weight: bold; text-decoration: none;">your private key file (only </del>if you <del style="color: red; font-weight: bold; text-decoration: none;">wish to use </del>[[Telnet/SSH_and_the_Command_Line#Public_key_method|Public Key authentication]]<del style="color: red; font-weight: bold; text-decoration: none;">)</del></td><td>+</td><td style="background: #cfc; font-size: smaller;">#* <ins style="color: red; font-weight: bold; text-decoration: none;">Optional: </ins>Private key file: <ins style="color: red; font-weight: bold; text-decoration: none;">Only </ins>if you <ins style="color: red; font-weight: bold; text-decoration: none;">are using private/public key authentication, instead of the router username/password. See </ins>[[Telnet/SSH_and_the_Command_Line#Public_key_method|Public Key authentication]]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">#* File Protocol: SCP, '''not SFTP'''</td><td> </td><td style="background: #eee; font-size: smaller;">#* File Protocol: SCP, '''not SFTP'''</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"># You can save the session now for later use.</td><td> </td><td style="background: #eee; font-size: smaller;"># You can save the session now for later use.</td></tr> <tr><td colspan="2" align="left"><strong>Line 17:</strong></td> <td colspan="2" align="left"><strong>Line 17:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">WinSCP can be used to save information on the DD-WRT-enabled router in /jffs, if you have JFFS turned on and there is any space left in the flash. Or WinSCP can save to the SD Card, mounted in /mmc, or other attached storage mounted in the DD-WRT file system.</td><td> </td><td style="background: #eee; font-size: smaller;">WinSCP can be used to save information on the DD-WRT-enabled router in /jffs, if you have JFFS turned on and there is any space left in the flash. Or WinSCP can save to the SD Card, mounted in /mmc, or other attached storage mounted in the DD-WRT file system.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Windows <del style="color: red; font-weight: bold; text-decoration: none;">and DOS </del>platforms only<del style="color: red; font-weight: bold; text-decoration: none;">, </del>use <del style="color: red; font-weight: bold; text-decoration: none;">Carriage Return and New Line codes at </del>the <del style="color: red; font-weight: bold; text-decoration: none;">end of each line, within text </del>files<del style="color: red; font-weight: bold; text-decoration: none;">. Unix only uses New Line</del>. The <del style="color: red; font-weight: bold; text-decoration: none;">difference is between text files generated or edited on </del>a <del style="color: red; font-weight: bold; text-decoration: none;">Windows platform, and </del>Unix <del style="color: red; font-weight: bold; text-decoration: none;">(and almost all other operating systems are similar to Unix, not Windows)</del>. <del style="color: red; font-weight: bold; text-decoration: none;">Editing of a script file on an SD Card plugged directly into a card reader on a PC with Windows, must use a special editor to create or modify the script or text file, like </del>[http://notepad-plus.sourceforge.net/ Notepad++]<del style="color: red; font-weight: bold; text-decoration: none;">, </del>jedit<del style="color: red; font-weight: bold; text-decoration: none;">, </del>or unix2dos and dos2unix utility to convert the file.</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">Microsoft's </ins>Windows platforms only<ins style="color: red; font-weight: bold; text-decoration: none;">: '''Do Not''' </ins>use <ins style="color: red; font-weight: bold; text-decoration: none;">Notepad to write or edit </ins>the files. The <ins style="color: red; font-weight: bold; text-decoration: none;">Edit function within WinSCP opens </ins>a <ins style="color: red; font-weight: bold; text-decoration: none;">custom editor which formats correctly for </ins>Unix. <ins style="color: red; font-weight: bold; text-decoration: none;">The following applications can save Unix-formatted files:</ins></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">&#160;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">* </ins>[http://notepad-plus.sourceforge.net/ Notepad++]</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;">Bonus: Transfer files with WinSCP </del>and text <del style="color: red; font-weight: bold; text-decoration: none;">is automatically converted</del>. <del style="color: red; font-weight: bold; text-decoration: none;">And besides</del>, <del style="color: red; font-weight: bold; text-decoration: none;">it's more convenient than a sneakernet</del>.</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">* </ins>jedit</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">* [http://www.editpadpro.com EditPadLite] Free version of EditPadPro</ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">* </ins>or unix2dos and dos2unix utility to convert the file.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">Microsoft platforms use Carriage Return </ins>and <ins style="color: red; font-weight: bold; text-decoration: none;">New Line codes at the end of each line, within </ins>text <ins style="color: red; font-weight: bold; text-decoration: none;">files</ins>. <ins style="color: red; font-weight: bold; text-decoration: none;">Unix only uses New Line</ins>, <ins style="color: red; font-weight: bold; text-decoration: none;">and almost all other operating systems are similar to Unix, not Windows</ins>. </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:English documentation]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:English documentation]]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Basic tutorials]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Basic tutorials]]</td></tr> </table> S2s2 http://wiki.dd-wrt.com/wiki/index.php?title=WinSCP&diff=19729&oldid=prev Soulstace: easier to follow now I think 2008-03-20T10:13:34Z <p>easier to follow now I think</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 10:13, 20 March 2008</td> </tr> <tr><td colspan="2" align="left"><strong>Line 3:</strong></td> <td colspan="2" align="left"><strong>Line 3:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">WinSCP gives a norton-commander like interface for transferring files and creating folders on the router.</td><td> </td><td style="background: #eee; font-size: smaller;">WinSCP gives a norton-commander like interface for transferring files and creating folders on the router.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"># Enable [[Telnet/SSH and the Command Line#SSH|SSH]] in the Web administration page of the router <del style="color: red; font-weight: bold; text-decoration: none;">(it is located under Services). The default port of 22 is fine. Enable password and/or [[Telnet/SSH_and_the_Command_Line#Public_key_method|Public Key authentication]]</del>.</td><td>+</td><td style="background: #cfc; font-size: smaller;"># Enable [[Telnet/SSH and the Command Line#SSH|SSH]] in the Web administration page of the router.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"># Download [http://www.winscp.net WinSCP] and install it.</td><td> </td><td style="background: #eee; font-size: smaller;"># Download [http://www.winscp.net WinSCP] and install it.</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"># Host name: Router's IP address<del style="color: red; font-weight: bold; text-decoration: none;">. </del>User name: Always 'root'<del style="color: red; font-weight: bold; text-decoration: none;">, </del>even if you have changed the username for the web interface<del style="color: red; font-weight: bold; text-decoration: none;">. </del>Password: router password<del style="color: red; font-weight: bold; text-decoration: none;">. </del>Private key file: your private key file (only if you wish to use <del style="color: red; font-weight: bold; text-decoration: none;">public key </del>authentication)<del style="color: red; font-weight: bold; text-decoration: none;">. </del>File Protocol: SCP, '''not SFTP'''<del style="color: red; font-weight: bold; text-decoration: none;">.</del></td><td>+</td><td style="background: #cfc; font-size: smaller;"># <ins style="color: red; font-weight: bold; text-decoration: none;">Launch the program. Under Session, enter:</ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">#* </ins>Host name: Router's IP address</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">#* </ins>User name: Always 'root' <ins style="color: red; font-weight: bold; text-decoration: none;">(</ins>even if you have changed the username for the web interface<ins style="color: red; font-weight: bold; text-decoration: none;">)</ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">#* </ins>Password: router password</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">#* </ins>Private key file: your private key file (only if you wish to use <ins style="color: red; font-weight: bold; text-decoration: none;">[[Telnet/SSH_and_the_Command_Line#Public_key_method|Public Key </ins>authentication<ins style="color: red; font-weight: bold; text-decoration: none;">]]</ins>)</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">#* </ins>File Protocol: SCP, '''not SFTP'''</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"># You can save the session now for later use.</td><td> </td><td style="background: #eee; font-size: smaller;"># You can save the session now for later use.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"># When connecting there is a 'command 'groups' ' error and possibly a 'pwd' error. Ignore these.</td><td> </td><td style="background: #eee; font-size: smaller;"># When connecting there is a 'command 'groups' ' error and possibly a 'pwd' error. Ignore these.</td></tr> </table> Soulstace