Hello,

I built version 5.0.4 on Ubuntu (Amazon EC2) and ran gridftp in
anonymous mode as a test as follows:

globus-gridftp-server -aa -p5000

I then tried to retrieve files from another Ubuntu EC2 instance using
globus-url-copy and that worked fine.

I then did the same thing on my Macbook (OSX Lion), and ran the
gridftp server in the same way, and was able to get files by
referencing localhost. However, when I try to retrieve files from the
Ubuntu EC2 server to my Macbook, nothing comes across. The file itself
gets created but globus-url-copy hangs and the file size always stays
at 0. The same thing happens if I try to upload a file to the EC2
server from my Macbook. Incidentally, I can retrieve directory
listings via the -list modifier. I turned off my macbook's firewall as
a test and can see that the connection to port 5000 has been
established.

Below is a snaphost of the output of globus-url-copy from my macbook
with -dbg set. It just hangs at the RETR command.

Any thoughts to debug further would be appreciated.

Regards,
Raed

> globus-url-copy -dbg 
> ftp://ec2-xx-xx-xx-200.compute-1.amazonaws.com:5000/tmp/big.tar 
> file:///tmp/big.tar
debug: starting to get
ftp://ec2-xx-xx-xx-200.compute-1.amazonaws.com:5000/tmp/big.tar
debug: connecting to
ftp://ec2-xx-xx-xx-200.compute-1.amazonaws.com:5000/tmp/big.tar
debug: response from
ftp://ec2-xx-xx-xx-200.compute-1.amazonaws.com:5000/tmp/big.tar:
220 ip-10-195-97-234.ec2.internal GridFTP Server 3.33 (gcc32dbg,
1305148829-80) [Globus Toolkit 5.0.4] ready.

debug: authenticating with
ftp://ec2-xx-xx-xx-200.compute-1.amazonaws.com:5000/tmp/big.tar
debug: response from
ftp://ec2-xx-xx-xx-200.compute-1.amazonaws.com:5000/tmp/big.tar:
230 User anonymous logged in.

debug: sending command to
ftp://ec2-xx-xx-xx-200.compute-1.amazonaws.com:5000/tmp/big.tar:
SITE HELP

debug: response from
ftp://ec2-xx-xx-xx-200.compute-1.amazonaws.com:5000/tmp/big.tar:
214-The following commands are recognized:
    ALLO    APPE    REST    CWD     CDUP    DCAU    EPSV    FEAT
    ERET    MDTM    STAT    ESTO    HELP    LIST    MODE    NLST
    MLSD    PASV    RNFR    MLST    NOOP    OPTS    STOR    PASS
    PBSZ    PORT    PROT    SITE    EPRT    RETR    SPOR    SCKS
    TREV    PWD     QUIT    SBUF    SIZE    SPAS    STRU    SYST
    RNTO    TYPE    USER    LANG    MKD     RMD     DELE    CKSM
    DCSC
214 End

debug: sending command to
ftp://ec2-xx-xx-xx-200.compute-1.amazonaws.com:5000/tmp/big.tar:
FEAT

debug: response from
ftp://ec2-xx-xx-xx-200.compute-1.amazonaws.com:5000/tmp/big.tar:
211-Extensions supported
 DCSC P,D
 AUTHZ_ASSERT
 UTF8
 LANG EN
 DCAU
 PARALLEL
 SIZE
 MLST 
Type*;Size*;Modify*;Perm*;Charset;UNIX.mode*;UNIX.owner*;UNIX.group*;Unique*;UNIX.slink*;
 ERET
 ESTO
 SPAS
 SPOR
 REST STREAM
 MDTM
 PASV AllowDelayed;
211 End.

debug: sending command to
ftp://ec2-xx-xx-xx-200.compute-1.amazonaws.com:5000/tmp/big.tar:
SITE CLIENTINFO scheme=ftp;appname="globus-url-copy";appver="5.14
(gcc32dbg, 1305182462-80) [Globus Toolkit 5.0.4]";
debug: response from
ftp://ec2-xx-xx-xx-200.compute-1.amazonaws.com:5000/tmp/big.tar:
250 OK.

debug: sending command to
ftp://ec2-xx-xx-xx-200.compute-1.amazonaws.com:5000/tmp/big.tar:
TYPE I
debug: response from
ftp://ec2-xx-xx-xx-200.compute-1.amazonaws.com:5000/tmp/big.tar:
200 Type set to I.

debug: sending command to
ftp://ec2-xx-xx-xx-200.compute-1.amazonaws.com:5000/tmp/big.tar:
PASV

debug: response from
ftp://ec2-xx-xx-xx-200.compute-1.amazonaws.com:5000/tmp/big.tar:
227 Entering Passive Mode (10,195,97,234,215,211)

debug: sending command to
ftp://ec2-xx-xx-xx-200.compute-1.amazonaws.com:5000/tmp/big.tar:
RETR /tmp/big.tar

Reply via email to