Hello, all, I tried to use gridftp client(java version) to transfer files. However, I got NullPointerException when transferring files. I tried to check the string and it looked like the string on the control channel will be dealed with by StringTokenizer. Because I checked the string, it is "211-Extensions supportednull UTF8null LANG ENnull DCAUnull PARALLELnull SIZEnull MLSTnull Type*;Size*;Modify*;Perm*;Charset;UNIX.mode*;UNIX.owner*;UNIX.group*;Unique*;UNIX.slink*;null ERETnull ESTOnull SPASnull SPORnull REST STREAMnull MDTMnull 211 Endnull" and there is no delimiter.
I also checked the message on gridftp server. please refer the following [20530] Wed Aug 13 14:48:50 2008 :: Server started in inetd mode. [20530] Wed Aug 13 14:48:50 2008 :: Configuration read from /usr/local/globus/globus-4.0.4/etc/gridftp_srb.conf [20530] Wed Aug 13 14:48:51 2008 :: New connection from: fct01.grid.sinica.edu.tw:33448 [20530] Wed Aug 13 14:48:52 2008 :: fct01.grid.sinica.edu.tw:33448: [CLIENT]: USER :globus-mapping: [20530] Wed Aug 13 14:48:52 2008 :: fct01.grid.sinica.edu.tw:33448: [SERVER]: 331 Password required for :globus-mapping:. [20530] Wed Aug 13 14:48:52 2008 :: fct01.grid.sinica.edu.tw:33448: [CLIENT]: PASS dummy [20530] Wed Aug 13 14:48:52 2008 :: srb: calling srbConnect(t-ap20.grid.sinica.edu.tw,6833,,sary357,ASGC,GSI_AUTH,/C=TW/O=AS/OU=GRID/CN=t-ap20.grid.sinica.edu.tw) [20530] Wed Aug 13 14:48:53 2008 :: srb: connected [20530] Wed Aug 13 14:48:53 2008 :: DN /C=TW/O=AS/OU=GRID/CN=Fu-Ming Tsai 194101 successfully authorized. [20530] Wed Aug 13 14:48:53 2008 :: User [EMAIL PROTECTED] successfully authorized. [20530] Wed Aug 13 14:48:53 2008 :: srb: start_complete: /AS/home/sary357.ASGC [20530] Wed Aug 13 14:48:53 2008 :: fct01.grid.sinica.edu.tw:33448: [CLIENT]: PASS dummy [20530] Wed Aug 13 14:48:53 2008 :: fct01.grid.sinica.edu.tw:33448: [SERVER]: 230-User [EMAIL PROTECTED] logged in. 230-Welcome!! You are login into tap20 gridftp server!! 230 End. [20530] Wed Aug 13 14:48:53 2008 :: fct01.grid.sinica.edu.tw:33448: [CLIENT]: PBSZ 16384 [20530] Wed Aug 13 14:48:53 2008 :: fct01.grid.sinica.edu.tw:33448: [SERVER]: 200 PBSZ=16384 [20530] Wed Aug 13 14:48:53 2008 :: fct01.grid.sinica.edu.tw:33448: [CLIENT]: TYPE I [20530] Wed Aug 13 14:48:53 2008 :: fct01.grid.sinica.edu.tw:33448: [SERVER]: 200 Type set to I. [20530] Wed Aug 13 14:48:53 2008 :: fct01.grid.sinica.edu.tw:33448: [CLIENT]: MODE E [20530] Wed Aug 13 14:48:53 2008 :: fct01.grid.sinica.edu.tw:33448: [SERVER]: 200 Mode set to E. [20508] Wed Aug 13 14:51:46 2008 :: fct01.grid.sinica.edu.tw:33443: [CLIENT]: SIZE /AS/home/sary357.ASGC/fuming.txt [20508] Wed Aug 13 14:51:46 2008 :: globus_l_gfs_srb_stat() : /AS/home/sary357.ASGC/fuming.txt [20508] Wed Aug 13 14:51:46 2008 :: srb_l_stat1 :: directory test failed with status = -3005 and row count = 0. Trying file: /AS/home/sary357.ASGC/fuming.txt [20508] Wed Aug 13 14:51:46 2008 :: globus_l_gfs_srb_stat() : srb_l_stat1 Success [20508] Wed Aug 13 14:51:46 2008 :: globus_l_gfs_srb_stat() : single file [20508] Wed Aug 13 14:51:46 2008 :: fct01.grid.sinica.edu.tw:33443: [SERVER]: 213 2 [20508] Wed Aug 13 14:52:03 2008 :: fct01.grid.sinica.edu.tw:33443: [CLIENT]: FEAT [20508] Wed Aug 13 14:52:03 2008 :: fct01.grid.sinica.edu.tw:33443: [SERVER]: 211-Extensions supported 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 211 End. I also tried to compare these information with other message and found there are more information afer "211 End". Does anyone knows what's going on?? Best regards, Fu-Ming
