public final class FileCommands extends Object
| Modifier and Type | Method and Description |
|---|---|
static Command |
ftCreateDir(String path,
int channelId,
String channelPassword) |
static Command |
ftDeleteFile(int channelId,
String channelPassword,
String... filePaths) |
static Command |
ftGetFileInfo(int[] channelIds,
String[] channelPasswords,
String[] filePaths) |
static Command |
ftGetFileInfo(int channelId,
String channelPassword,
String... filePaths) |
static Command |
ftGetFileList(String directoryPath,
int channelId,
String channelPassword) |
static Command |
ftInitDownload(int transferId,
String path,
int channelId,
String channelPassword) |
static Command |
ftInitUpload(int transferId,
String path,
int channelId,
String channelPassword,
long size,
boolean overwrite) |
static Command |
ftList() |
static Command |
ftRenameFile(String oldPath,
String newPath,
int channelId,
String channelPassword) |
static Command |
ftRenameFile(String oldPath,
String newPath,
int oldChannelId,
String oldChannelPassword,
int newChannelId,
String newChannelPassword) |
public static Command ftCreateDir(String path, int channelId, String channelPassword)
public static Command ftDeleteFile(int channelId, String channelPassword, String... filePaths)
public static Command ftGetFileInfo(int channelId, String channelPassword, String... filePaths)
public static Command ftGetFileInfo(int[] channelIds, String[] channelPasswords, String[] filePaths)
public static Command ftGetFileList(String directoryPath, int channelId, String channelPassword)
public static Command ftInitDownload(int transferId, String path, int channelId, String channelPassword)
public static Command ftInitUpload(int transferId, String path, int channelId, String channelPassword, long size, boolean overwrite)
public static Command ftRenameFile(String oldPath, String newPath, int channelId, String channelPassword)
Released under the MIT license.