Package | Description |
---|---|
net.sf.fsp.fsplib |
Modifier and Type | Method and Description |
---|---|
static boolean |
FSPutil.canUpload(FSPsession session,
String filename)
Checks if user have enough rights to upload given file.
|
static void |
FSPutil.download(FSPsession session,
String filename,
OutputStream os,
long start_from,
long byteswanted)
Downloads a file from FSP server.
|
static String[] |
FSPutil.list(FSPsession session,
String directory)
get a filename directory list from server.
|
static FSPstat |
FSPutil.stat(FSPsession session,
String path)
Gets information about file or directory.
|
static FSPstat[] |
FSPutil.statlist(FSPsession session,
String directory)
get a FSPstat directory list from server.
|
static boolean |
FSPutil.statSupported(FSPsession session)
Check if FSP server supports CC_STAT command.
|
static void |
FSPutil.upload(FSPsession session,
String filename,
InputStream is,
long timestamp)
Uploads file to FSP server
|
static FSPversion |
FSPutil.version(FSPsession session)
Sends CC_VERSION command to server and parses reply.
|
Constructor and Description |
---|
FSPInputStream(FSPsession session,
String filename)
creates a new Input stream for reading file from FSP server
|
FSPOutputStream(FSPsession session,
String filename)
Creates stream for writing file to FSP server.
|
Copyright © 2020 FSP Project. All rights reserved.