Modified: mina/site/trunk/content/ftpserver/running_ftpserver_standalone.mdtext URL: http://svn.apache.org/viewvc/mina/site/trunk/content/ftpserver/running_ftpserver_standalone.mdtext?rev=1404261&r1=1404260&r2=1404261&view=diff ============================================================================== --- mina/site/trunk/content/ftpserver/running_ftpserver_standalone.mdtext (original) +++ mina/site/trunk/content/ftpserver/running_ftpserver_standalone.mdtext Wed Oct 31 17:30:43 2012 @@ -27,10 +27,7 @@ Now you should have a ZIP or TARed file First of all, unpack it. If you're on Linux/Unix, you can use: -<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent"> -<PRE>tar -xzvf ftpserver-1.0.0.tar.gz -</PRE> -</DIV></DIV> + tar -xzvf ftpserver-1.0.0.tar.gz On Windows and Linux/Unix, you can use any ZIP tool, like [7-zip](http://www.7-zip.org/) or [Gnome File Roller](http://fileroller.sourceforge.net/) to unzip the file at a location of your liking. @@ -38,17 +35,11 @@ On Windows and Linux/Unix, you can use a Now, open a shell/command prompt where you unpacked the files. On Linux/Unix, run: -<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent"> -<PRE>bin/ftpd.sh -</PRE> -</DIV></DIV> + bin/ftpd.sh On Windows, the same command is: -<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent"> -<PRE>bin/ftpd.bat -</PRE> -</DIV></DIV> + bin/ftpd.bat FtpServer should now start as expected and you should be able to use a FTP client to access the server at localhost on port 21. The default . @@ -58,16 +49,10 @@ Note that on Linux this command will req In the res/conf directory in the unpackaged directory you will find some example configuration files. For this tutorial, we will use the ftpd-typical.xml configuration file. It will set the listener port to 2121, thus fixing the issue with not being able to run the server as non-root on Linux. It will also use a provided user database, allowing logging in as admin (password admin) or anonymous. To run, on Linux/Unix: -<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent"> -<PRE>bin/ftpd.sh res/conf/ftpd-typical.xml -</PRE> -</DIV></DIV> + bin/ftpd.sh res/conf/ftpd-typical.xml On Windows: -<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent"> -<PRE>bin/ftpd.bat res/conf/ftpd-typical.xml -</PRE> -</DIV></DIV> + bin/ftpd.bat res/conf/ftpd-typical.xml That's it. Now you can configure the server to your likings. Have a look at either the ftpd-full.xml example or the configuration documentation. You can also set up FtpServer to run as a service on Windows or daemon on Linux/Unix.
Modified: mina/site/trunk/content/ftpserver/source.mdtext URL: http://svn.apache.org/viewvc/mina/site/trunk/content/ftpserver/source.mdtext?rev=1404261&r1=1404260&r2=1404261&view=diff ============================================================================== --- mina/site/trunk/content/ftpserver/source.mdtext (original) +++ mina/site/trunk/content/ftpserver/source.mdtext Wed Oct 31 17:30:43 2012 @@ -31,35 +31,23 @@ The following is a link to the [online s The source can be checked out anonymously from SVN with this command: -<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent"> -<PRE>$ svn checkout http://svn.apache.org/repos/asf/mina/ftpserver/trunk ftpserver -</PRE> -</DIV></DIV> + $ svn checkout http://svn.apache.org/repos/asf/mina/ftpserver/trunk ftpserver ## Developer access Everyone can access the Subversion repository via HTTPS, but Committers must checkout the Subversion repository via HTTPS. -<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent"> -<PRE>$ svn checkout https://svn.apache.org/repos/asf/mina/ftpserver/trunk ftpserver -</PRE> -</DIV></DIV> + $ svn checkout https://svn.apache.org/repos/asf/mina/ftpserver/trunk ftpserver To commit changes to the repository, execute the following command to commit your changes (svn will prompt you for your password) -<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent"> -<PRE>$ svn commit --username your-username -m "A message" -</PRE> -</DIV></DIV> + $ svn commit --username your-username -m "A message" ## Access from behind a firewall For those users who are stuck behind a corporate firewall which is blocking http access to the Subversion repository, you can try to access it via the developer connection: -<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent"> -<PRE>$ svn checkout https://svn.apache.org/repos/asf/mina/ftpserver/trunk ftpserver -</PRE> -</DIV></DIV> + $ svn checkout https://svn.apache.org/repos/asf/mina/ftpserver/trunk ftpserver ## Access through a proxy @@ -69,10 +57,7 @@ There are comments in the file explainin Example : Edit the 'servers' file and add something like : -<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent"> -<PRE>[global] -http-proxy-host = your.proxy.name -http-proxy-port = 3128 -</PRE> -</DIV></DIV> + [global] + http-proxy-host = your.proxy.name + http-proxy-port = 3128
