|
void | connect (URI uri) throws IOException |
|
void | store (File src, URI dst) throws IOException |
|
boolean | isDirectory (File path) throws IOException |
|
InputStream | openStream (File f) throws IOException |
|
String | getHost (URI uri) |
|
int | getPort (URI uri) |
|
String | getUser (URI uri) |
|
String | getPassword (URI uri) |
|
File | getPath (URI uri) |
|
|
static final int | DEFAULT_CONNECT_TIMEOUT = 10000 |
|
static final int | DEFAULT_SOCKET_TIMEOUT = 60000 |
|
◆ upload()
void eu.baltrad.beast.net.ftp.FTPFileUploadHandler.upload |
( |
File | src, |
|
|
URI | dst ) throws IOException |
|
inline |
Upload a file.
The implementations should determine if the dst
refers to a file or a directory and in case of the former rename the file.
- Parameters
-
src | the file to copy |
dst | the destination URI. |
- Exceptions
-
IOException | when copying fails |
Implements eu.baltrad.beast.net.FileUploadHandler.
The documentation for this class was generated from the following file:
- src/eu/baltrad/beast/net/ftp/FTPFileUploadHandler.java