Bug 1858 - globus-url-copy doesn't transform valid filenames in valid url's
: globus-url-copy doesn't transform valid filenames in valid url's
: GridFTP
: 3.2.0
: PC Linux
: P3 normal
: ---
Assigned To:
  Show dependency treegraph
Reported: 2004-07-29 05:54 by
Modified: 2005-12-01 22:52 (History)



You need to log in before you can comment on or make changes to this bug.

Description From 2004-07-29 05:54:18
When transferring directories, globus-url-copy returns
strange errors regarding the files inside the directory.
For example :
error transferring gsiftp://litchi.zib.de/tmp/aa/X[97][97].tbl:
[globus_gass_copy_get_url_mode]: globus_url_parse returned error code: -8 for
url: gsiftp://litchi.zib.de/tmp/aa/X[97][97].tbl
I guess that's because when doing the directory listing, it tries
to create URL's by concatenating the file name to the directory path.
This will of course not work since URL's have different requirements
than filenames.
------- Comment #1 From 2004-07-29 10:17:29 -------
yes, the filenames need to be url encoded before being appended to the url.

------- Comment #2 From 2005-12-01 22:52:56 -------
This is fixed and committed to CVS.  An update package to 4.0.1 will be 
available at http://www.globus.org/toolkit/advisories.html shortly.