| java.lang.Object org.apache.turbine.services.xmlrpc.util.FileTransfer
FileTransfer | public class FileTransfer (Code) | | Test class for FileHandler.
author: Jason van Zyl version: $Id: FileTransfer.java 534527 2007-05-02 16:10:59Z tv $ |
Method Summary | |
public static void | get(String serverURL, String sourceLocationProperty, String sourceFileName, String destinationLocationProperty, String destinationFileName) Method to allow a client to get a file to a server. | public static void | get(String serverURL, String username, String password, String sourceLocationProperty, String sourceFileName, String destinationLocationProperty, String destinationFileName) Method to allow a client to get a file from a server
that requires a user name and password. | public static void | remove(String serverURL, String sourceLocationProperty, String sourceFileName) | public static void | remove(String serverURL, String username, String password, String sourceLocationProperty, String sourceFileName) Method to allow a client to remove a file from
a server that requires a user name and password. | public static void | send(String serverURL, String sourceLocationProperty, String sourceFileName, String destinationLocationProperty, String destinationFileName) Method to allow a client to send a file to a server. | public static void | send(String serverURL, String username, String password, String sourceLocationProperty, String sourceFileName, String destinationLocationProperty, String destinationFileName) Method to allow a client to send a file to a server
that requires a user name and password. |
get | public static void get(String serverURL, String sourceLocationProperty, String sourceFileName, String destinationLocationProperty, String destinationFileName) throws TurbineException(Code) | | Method to allow a client to get a file to a server.
Parameters: serverURL - Parameters: sourceLocationProperty - Parameters: sourceFileName - Parameters: destinationLocationProperty - Parameters: destinationFileName - throws: TurbineException - |
get | public static void get(String serverURL, String username, String password, String sourceLocationProperty, String sourceFileName, String destinationLocationProperty, String destinationFileName) throws TurbineException(Code) | | Method to allow a client to get a file from a server
that requires a user name and password.
Parameters: serverURL - Parameters: username - Parameters: password - Parameters: sourceLocationProperty - Parameters: sourceFileName - Parameters: destinationLocationProperty - Parameters: destinationFileName - |
remove | public static void remove(String serverURL, String sourceLocationProperty, String sourceFileName) throws TurbineException(Code) | | Method to allow a client to remove a file from
the server
Parameters: serverURL - Parameters: sourceLocationProperty - Parameters: sourceFileName - |
remove | public static void remove(String serverURL, String username, String password, String sourceLocationProperty, String sourceFileName) throws TurbineException(Code) | | Method to allow a client to remove a file from
a server that requires a user name and password.
Parameters: serverURL - Parameters: username - Parameters: password - Parameters: sourceLocationProperty - Parameters: sourceFileName - |
send | public static void send(String serverURL, String sourceLocationProperty, String sourceFileName, String destinationLocationProperty, String destinationFileName) throws TurbineException(Code) | | Method to allow a client to send a file to a server.
Parameters: serverURL - Parameters: sourceLocationProperty - Parameters: sourceFileName - Parameters: destinationLocationProperty - Parameters: destinationFileName - |
send | public static void send(String serverURL, String username, String password, String sourceLocationProperty, String sourceFileName, String destinationLocationProperty, String destinationFileName) throws TurbineException(Code) | | Method to allow a client to send a file to a server
that requires a user name and password.
Parameters: serverURL - Parameters: username - Parameters: password - Parameters: sourceLocationProperty - Parameters: sourceFileName - Parameters: destinationLocationProperty - Parameters: destinationFileName - throws: TurbineException - |
|
|