Hi I have another related question. If I want to change a handle attribute after an operation and start of another operation do I have reinit the handle by calling handle_init?
Thanks On Thu, Apr 11, 2013 at 2:49 PM, Esma Yildirim <[email protected]>wrote: > Hi > I am trying to combine ascii_list and pipelined_transfer code in gt5.2.4 > version gridftp client library test codes. What I wanna do is to use the > same handle for two different operations that require different attribute > settings without the tearing down the connection to avoid extra overhead. > But while the first operation is done without an error the second fails. In > the other examples multiple same operations are carried out but there is no > example of using list and a transfer operation through the same handle. > Attached is the c file and at the bottom is the output I get: > > esmas-MacBook-Pro:test esmayildirim$ time > ./globus-ftp-client-pipelined-transfer-test -s > ftp://localhost:5000/Users/esmayildirim/Pictures/Scan.jpeg -d > ftp://localhost:5001/Users/esmayildirim/Documents/test-folder/Scanpp.jpeg > args parsed ftp://localhost:5000/Users/esmayildirim/Pictures/Scan.jpeg > ftp://localhost:5001/Users/esmayildirim/Documents/test-folder/Scanpp.jpeg > . > .. > FORM 20.docx > FORM 24 .docx > FORM 25.docx > no problem > done with an error: globus_ftp_client: the server responded with an error > > real 0m1.033s > user 0m0.014s > sys 0m0.015s > I would appreciate it if you could help me out. > > Thanks > > Esma > >
