Hi,
Pls help me , how to transfer a file from client machine to server
machine.
I have used this statement..

FileTransfer.send("http://user1111:8080/spark/","DOCS/",myFile,"DOCS/",dst);

It is giving err:

    [javac]
C:\tdk\webapps\spark\WEB-INF\src\java\org\novell\spark\modules\actio
ns\ProcessSQL.java:2174: cannot resolve symbol
    [javac] symbol  : method send
(java.lang.String,java.lang.String,java.io.Fil
e,java.lang.String,java.lang.String)
    [javac] location: class
org.apache.turbine.services.xmlrpc.util.FileTransfer

    [javac]            
FileTransfer.send("http://user1111:8080/spark/","DOCS/";,
myFile,"DOCS/",dst);

syntax:
from the site i got the syntax
/*
         * @param serverURL
         * @param sourceLocationProperty
         * @param sourceFileName
         * @param destinationLocationProperty
         * @param destinationFileName
         */
        FileTransfer.send("http://www.far-away.com:9000/RPC2";,
                          "test.location",
                          "test.txt",
                          "test.location",
                          "test.send");
Is there any other way to transfer file from client machine to server.

Let me know
Thanks and Regards
Sridhar

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to