Hi,

Thanks for your response.
It seems that the problem doesn't appear using globus-url-copy on the 4.2.0
version.
I have coded a simple client for :

import org.globus.ftp.GridFTPClient;
import java.io.File;

public class GridClientTest{
    public static void main(String args[]){
    try{
        GridFTPClient ftp = new GridFTPClient("ozzy-6.tml.hut.fi",2811);
        File getfile = new File("/tmp/toto.wmv");
        ftp.authenticate(null);
        ftp.get("/home/maxime/trailer_4.wmv",getfile);
    }catch (Exception e){
        e.printStackTrace();
    }
    }
}

the link you give me doesn't explain how to use RFT with Java to transfert a
file.

I tested globus-crtf, the transfer work but never finished :

[EMAIL PROTECTED]:~/example$ globus-crft -c -s -m -vb -f transfert
Communicating with delegation service.
Creating the RFT service.
Starting the RFT service.
Waiting for the RFT transfers to complete.

Regards,
Maxime.

2008/7/17 John Bresnahan <[EMAIL PROTECTED]>:

> -rw-r--r-- 1 globus globus 473511533 2008-07-17 14:38
>> /home/globus/resources/5366274/source.mkv
>> -rwxr-xr-x 1 maxime maxime 473504147 2008-07-15 09:35 source.mkv
>>
>> The first one is a copy using org.globus.ftp.GridFTPClient of the second
>> one.
>> The second work, but not the first ^^
>>
>> Does anyone have some clues ?
>>
>
> can you show me exactly how you are using GridFTPClient?  And I am slightly
> confused, can you tell me when you are using globus-url-copy?  do you get
> the error with both the java class and the compiled program?
>
>
>> I first wanted to use RFT but there is no useful tutorial on how to start
>> a
>> RFT transfer using Java Core.
>>
>
> You might find this helpful:
>
> http://www.globus.org/toolkit/docs/4.2/4.2.0/data/rft/user/index.html
>
>
>
>> Regards,
>> Maxime.
>>
>> 2008/7/15 BRACHET Maxime <[EMAIL PROTECTED]>:
>>
>>  Hi,
>>>
>>> I am using GT4.0.7 and globus gsiftp.
>>> When I copy a file using globus-url-copy, both files are not identical.
>>> I use it to copy a video file to encode.
>>> The encoding process work fine on the original file but not on the
>>> globus-url-copied file.
>>> I am a bit confuse about this. does anybody get the same problem ?
>>>
>>> Regards,
>>> Maxime.
>>>
>>>
>>
>

Reply via email to