Changeset 1382 for extensions/net.sf.basedb.ftp
- Timestamp:
- Aug 19, 2011, 3:39:57 PM (12 years ago)
- Location:
- extensions/net.sf.basedb.ftp/trunk
- Files:
-
- 1 added
- 1 deleted
- 5 edited
- 7 copied
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.ftp/trunk/META-INF/MANIFEST.MF
r1256 r1382 1 1 Manifest-Version: 1.0 2 Class-Path: lib/ftp server/ftplet-api-1.0.5.jar3 lib/ftpserver /ftpserver-core-1.0.5.jar4 lib/ ftpserver/mina-core-2.0.0-RC1.jar5 lib/ ftpserver/spring-core-2.5.5.jar6 lib/ ftpserver/spring-beans-2.5.5.jar7 lib/ ftpserver/spring-context-2.5.5.jar8 lib/ ftpserver/aopalliance-1.0.jar2 Class-Path: lib/ftplet-api-1.0.5.jar 3 lib/ftpserver-core-1.0.5.jar 4 lib/mina-core-2.0.0-RC1.jar 5 lib/spring-core-2.5.5.jar 6 lib/spring-beans-2.5.5.jar 7 lib/spring-context-2.5.5.jar 8 lib/aopalliance-1.0.jar -
extensions/net.sf.basedb.ftp/trunk/META-INF/extensions.xml
r1381 r1382 8 8 Available at http://baseplugins.thep.lu.se/ 9 9 BASE main site: http://base.thep.lu.se/ 10 -----------------------------------------------------------10 11 11 12 12 This is free software; you can redistribute it and/or -
extensions/net.sf.basedb.ftp/trunk/README
r1225 r1382 1 1 == Requirements == 2 2 3 1. BASE 2.16.0 or later.3 1. BASE 3.0 or later. 4 4 5 5 == Introduction == … … 7 7 This package is an extension package to BASE that installs a small FTP 8 8 server as part of the web server. It uses the Apache FTP Server library 9 for the actual handling of the FTP prot col.9 for the actual handling of the FTP protocol. 10 10 11 11 * The homepage for this extension: … … 23 23 SSL-enabled configuration. For more information about configuration 24 24 options see: http://mina.apache.org/ftpserver/documentation.html 25 5. Copy the `base-ftpserver.jar` file and the `lib` directory, including sub- 26 directories and files, to your BASE extensions directory, `WEB-INF/extensions`. 27 6. Run the `Extensions -> Manual scan` command to install the extension. If you 28 have enabled automatic installation, just sit back and wait for it to find 29 the FTP server extension. 30 7. The FTP Server should now be running, but it only allows the root user to 25 5. Copy the 'base-ftpserver.jar' file to your BASE plug-ins directory. 26 Look in your 'base.config' file if you don't know where this is. 27 6. Go to 'Administrate->Plug-ins & Extensions->Overview' page. 28 7. Run the installation wizard and select to install 'base-ftpserver.jar'. 29 8. The FTP Server should now be running, but it only allows the root user to 31 30 login. To enable other users to login you have to start an FTP client, connect 32 31 to your BASE FTP server and login as root. This will register the FTP server 33 32 as a new client application that is shared to `Everyone`. To limit which users 34 that can access the FTP server go to `Admin strate -> Clients` and change the33 that can access the FTP server go to `Administrate -> Clients` and change the 35 34 sharing options for the FTP Server. 36 8. Done.35 9. Done. 37 36 38 37 == Known issues == … … 41 40 FTP clients since that is normally not allowed. The result for certain 42 41 operations is undefined for files and directories that has the same name. 43 * BASE 2.16 introduced an option to register files as a link to an external URL.44 Such files-will show up as read-only in the FTP server. If the file size of an45 external file is not known it isshown as 0 in the FTP server.42 * BASE-files that are a link to an external URL will show up as read-only in 43 the FTP-server. If the file size of an external file is not known it is 44 shown as 0 in the FTP server. 46 45 47 46 == Tips and tricks == … … 66 65 2. Type `ant download-lib` to automatically download the BASE core JAR file that 67 66 are neeed for compilation. You can also do this manually by copying the 68 BASE2Core.jar and BASE2Webclient.jar from the BASE installation directory67 base-core-3.0.0.jar and base-webclient-3.0.0.jar from the BASE installation directory 69 68 (`<basedir>/www/WEB-INF/lib/`) to the `./lib/compile` directory. 70 69 -
extensions/net.sf.basedb.ftp/trunk/build.xml
r1381 r1382 45 45 <property name="javac.target" value="1.6" /> 46 46 <property name="javac.encoding" value="UTF-8" /> 47 <property name="depend.jars" value="http://base2.thep.lu.se/base/jars/2.16.0" /> 47 <property name="depend.jars.directory" value="http://base2.thep.lu.se/base/jars/" /> 48 <property name="depend.jars.core" value="base-core-3.0.0.jar" /> 49 <property name="depend.jars.webclient" value="base-webclient-3.0.0.jar" /> 48 50 49 51 <!-- set up classpath for compiling --> 50 52 <path id="classpath"> 51 53 <fileset dir="lib"> 54 <include name="**/*.jar" /> 55 </fileset> 56 <fileset dir="META-INF/lib"> 52 57 <include name="**/*.jar" /> 53 58 </fileset> … … 80 85 prefix="${tar.prefix}" 81 86 preserveLeadingSlashes="true" 82 includes="${jar.name},README,LICENSE*,ftp-config.xml ,lib/ftpserver/*"87 includes="${jar.name},README,LICENSE*,ftp-config.xml" 83 88 /> 84 89 </tar> … … 90 95 description="Creates the extension JAR file" 91 96 > 97 92 98 <jar 93 99 jarfile="${jar.name}" 94 100 manifest="META-INF/MANIFEST.MF" 95 > 101 > 96 102 <fileset dir="${build}" /> 97 103 <fileset dir="." includes="META-INF/**" /> … … 134 140 <target 135 141 name="checkjar" 136 description="Checks that the BASE2Core.jar and BASE2CorePlugins.jarexists."142 description="Checks that the ${depend.jars.core} and ${depend.jars.webclient} exists." 137 143 > 138 144 <available classname="net.sf.basedb.core.Application" 139 classpathref="classpath" property="base 2core" />145 classpathref="classpath" property="basecore" /> 140 146 <available classname="net.sf.basedb.clients.web.extensions.menu.FixedMenuItemFactory" 141 classpathref="classpath" property="base 2web" />142 <fail unless="base 2core" message="Can't find BASE2Core.jarin ./lib/compile. Try 'ant download-lib' to download the missing file." />143 <fail unless="base 2web" message="Can't find BASE2Webclient.jarin ./lib/compile. Try 'ant download-lib' to download the missing file." />144 <echo>Found BASE2Core.jar and BASE2Webclient.jar.</echo>147 classpathref="classpath" property="baseweb" /> 148 <fail unless="basecore" message="Can't find ${depend.jars.core} in ./lib/compile. Try 'ant download-lib' to download the missing file." /> 149 <fail unless="baseweb" message="Can't find ${depend.jars.webclient} in ./lib/compile. Try 'ant download-lib' to download the missing file." /> 150 <echo>Found ${depend.jars.core} and ${depend.jars.webclient}.</echo> 145 151 </target> 146 152 147 153 <target 148 154 name="download-lib" 149 description="Download BASE2Core.jar and BASE2Webclient.jar."155 description="Download ${depend.jars.core} and ${depend.jars.webclient}" 150 156 > 151 157 <echo> … … 156 162 ------------------------------------------------------- 157 163 </echo> 158 <download-lib file=" BASE2Core.jar" />159 <download-lib file=" BASE2Webclient.jar" />164 <download-lib file="${depend.jars.core}" /> 165 <download-lib file="${depend.jars.webclient}" /> 160 166 </target> 161 167 … … 165 171 <get 166 172 dest="lib/compile/@{file}" 167 src="${depend.jars }/@{file}"173 src="${depend.jars.directory}/@{file}" 168 174 usetimestamp="true" 169 175 verbose="true" -
extensions/net.sf.basedb.ftp/trunk/lib/compile/readme.txt
r714 r1382 4 4 root directory to download those files automatically. 5 5 6 * BASE2Core.jar7 * BASE2Webclient.jar6 * base-core-3.0.0.jar 7 * base-webclient-3.0.0.jar
Note: See TracChangeset
for help on using the changeset viewer.