FSP entry in
Java FSP library
CopyrightCopyright (c) 2003,2004, 2009 by Radim `HSN` Kolar
You may copy or modify this file in any manner you wish, provided that this notice is always included, and that you hold the author harmless for any loss or damage resulting from the installation or use of this software.
What is Java FSP LibraryJava FSP library adds support for FSP protocol to Java platform. It can be used system-wide or application wide. Library needs FSPD Version 2.8.1b18 or better and supports IOStreams and functions for read and write access. This library supports both client and server method of FSP packet checksum.
Using java.net.URL APIYou can use standard java.net.URL API family to access files on fsp servers by using fsp://host[:port]/path URL syntax. Java FSP library needs to be registered into java.net.URL subsystem first:
Application - wide installationJust add one line of code to your application:
System - wide installationRead API documentation for java.net.URL class. You need to set value of system property java.protocol.handler.pkgs to `net` and install net.fsp package into your CLASSPATH or install provided jar file into Java system directory.
Using FSP util APIYou can also use class net.fsp.FSPutil which has similar API to FSP protocol suite util library.
Using IOStreamsLast way how to move files from/to FSP server is to use FSPInput/OutputStreams. You need to create FSPsession first. See Javadoc API for details.
DownloadFor download see FSP download page.