org.apache.turbine.services.xmlrpc.util
Class FileTransfer

java.lang.Object
  extended byorg.apache.turbine.services.xmlrpc.util.FileTransfer

Deprecated. This is not scope of the Service itself but of an application which uses the service. This class shouldn't be part of Turbine but of an addon application.

public class FileTransfer
extends java.lang.Object

Test class for FileHandler.

Version:
$Id: FileTransfer.java 534527 2007-05-02 16:10:59Z tv $
Author:
Jason van Zyl

Constructor Summary
FileTransfer()
          Deprecated.  
 
Method Summary
static void get(java.lang.String serverURL, java.lang.String sourceLocationProperty, java.lang.String sourceFileName, java.lang.String destinationLocationProperty, java.lang.String destinationFileName)
          Deprecated. Method to allow a client to get a file to a server.
static void get(java.lang.String serverURL, java.lang.String username, java.lang.String password, java.lang.String sourceLocationProperty, java.lang.String sourceFileName, java.lang.String destinationLocationProperty, java.lang.String destinationFileName)
          Deprecated. Method to allow a client to get a file from a server that requires a user name and password.
static void remove(java.lang.String serverURL, java.lang.String sourceLocationProperty, java.lang.String sourceFileName)
          Deprecated. Method to allow a client to remove a file from the server
static void remove(java.lang.String serverURL, java.lang.String username, java.lang.String password, java.lang.String sourceLocationProperty, java.lang.String sourceFileName)
          Deprecated. Method to allow a client to remove a file from a server that requires a user name and password.
static void send(java.lang.String serverURL, java.lang.String sourceLocationProperty, java.lang.String sourceFileName, java.lang.String destinationLocationProperty, java.lang.String destinationFileName)
          Deprecated. Method to allow a client to send a file to a server.
static void send(java.lang.String serverURL, java.lang.String username, java.lang.String password, java.lang.String sourceLocationProperty, java.lang.String sourceFileName, java.lang.String destinationLocationProperty, java.lang.String destinationFileName)
          Deprecated. Method to allow a client to send a file to a server that requires a user name and password.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileTransfer

public FileTransfer()
Deprecated. 
Method Detail

send

public static void send(java.lang.String serverURL,
                        java.lang.String sourceLocationProperty,
                        java.lang.String sourceFileName,
                        java.lang.String destinationLocationProperty,
                        java.lang.String destinationFileName)
                 throws TurbineException
Deprecated. 
Method to allow a client to send a file to a server.

Parameters:
serverURL -
sourceLocationProperty -
sourceFileName -
destinationLocationProperty -
destinationFileName -
Throws:
TurbineException

send

public static void send(java.lang.String serverURL,
                        java.lang.String username,
                        java.lang.String password,
                        java.lang.String sourceLocationProperty,
                        java.lang.String sourceFileName,
                        java.lang.String destinationLocationProperty,
                        java.lang.String destinationFileName)
                 throws TurbineException
Deprecated. 
Method to allow a client to send a file to a server that requires a user name and password.

Parameters:
serverURL -
username -
password -
sourceLocationProperty -
sourceFileName -
destinationLocationProperty -
destinationFileName -
Throws:
TurbineException

get

public static void get(java.lang.String serverURL,
                       java.lang.String sourceLocationProperty,
                       java.lang.String sourceFileName,
                       java.lang.String destinationLocationProperty,
                       java.lang.String destinationFileName)
                throws TurbineException
Deprecated. 
Method to allow a client to get a file to a server.

Parameters:
serverURL -
sourceLocationProperty -
sourceFileName -
destinationLocationProperty -
destinationFileName -
Throws:
TurbineException

get

public static void get(java.lang.String serverURL,
                       java.lang.String username,
                       java.lang.String password,
                       java.lang.String sourceLocationProperty,
                       java.lang.String sourceFileName,
                       java.lang.String destinationLocationProperty,
                       java.lang.String destinationFileName)
                throws TurbineException
Deprecated. 
Method to allow a client to get a file from a server that requires a user name and password.

Parameters:
serverURL -
username -
password -
sourceLocationProperty -
sourceFileName -
destinationLocationProperty -
destinationFileName -
Throws:
TurbineException

remove

public static void remove(java.lang.String serverURL,
                          java.lang.String sourceLocationProperty,
                          java.lang.String sourceFileName)
                   throws TurbineException
Deprecated. 
Method to allow a client to remove a file from the server

Parameters:
serverURL -
sourceLocationProperty -
sourceFileName -
Throws:
TurbineException

remove

public static void remove(java.lang.String serverURL,
                          java.lang.String username,
                          java.lang.String password,
                          java.lang.String sourceLocationProperty,
                          java.lang.String sourceFileName)
                   throws TurbineException
Deprecated. 
Method to allow a client to remove a file from a server that requires a user name and password.

Parameters:
serverURL -
username -
password -
sourceLocationProperty -
sourceFileName -
Throws:
TurbineException


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.