<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugzilla.globus.org/bugzilla/bugzilla.dtd">

<bugzilla version="3.2.3"
          urlbase="http://bugzilla.globus.org/bugzilla/"
          maintainer="bacon@mcs.anl.gov"
>

    <bug>
          <bug_id>5706</bug_id>
          
          <creation_ts>2007-12-06 12:09</creation_ts>
          <short_desc>globus-url-copy returning &quot;error: No files matched the source url&quot; when asked to copy a directory</short_desc>
          <delta_ts>2008-01-17 00:28:06</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>GridFTP</product>
          <component>globus-url-copy</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          
          <priority>P3</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>4.0.6</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marco Mambelli">marco@hep.uchicago.edu</reporter>
          <assigned_to name="Mike Link">mlink@mcs.anl.gov</assigned_to>
          <cc>bester@mcs.anl.gov</cc>
    
    <cc>marco@hep.uchicago.edu</cc>
    
    <cc>roy@cs.wisc.edu</cc>

      

      
          <long_desc isprivate="0">
            <who name="Marco Mambelli">marco@hep.uchicago.edu</who>
            <bug_when>2007-12-06 12:09:42</bug_when>
            <thetext>With newer globus-url-copy the directory parsing is not working and even the copy of one subdirectory is failing

My goal was to do a recursive copy using 3rd party transfer.
I&apos;ve been comparing the results of 2 different versions of globus-url-copy that behave differently. 

with globus-url-copy: 3.18 (1120222988-63) 
&gt; globus-url-copy -r gsiftp://uct2-dc1.uchicago.edu/pnfs/uchicago.edu/data/ddm1/M5/ESD/M5.0028940.Default.L1TT-b00000101.ESD.v13003008/  gsiftp://uct3-edge1.uchicago.edu/pnfs/uchicago.edu/data/users/marco/M5f/

is equivalent to globus-url-copy -r gsiftp://uct2-dc1.uchicago.edu/pnfs/uchicago.edu/data/ddm1/M5/ESD/M5.0028940.Default.L1TT-b00000101.ESD.v13003008/* gsiftp://uct3-edge1.uchicago.edu/pnfs/uchicago.edu/data/users/marco/M5g/

No directory is created, all files are copied but if there are directories these cause problems.
This should probably be the normal behavior for interactions with servers that support only NLST (and not the extended ftp listing commands) if I understood correctly the help text.

With globus-url-copy: 3.22 (1172269086-63) (any version &gt;= 3.20) I tried the same and I get this error:
/share/osg-client &gt; globus-url-copy -r gsiftp://uct2-dc1.uchicago.edu/pnfs/uchicago.edu/data/ddm1/M5/ESD/M5.0028940.Default.L1TT-b00000101.ESD.v13003008/ gsiftp://uct3-edge1.uchicago.edu/pnfs/uchicago.edu/data/users/marco/M5f/

error: No files matched the source url.


The same error is given also by
gsiftp://uct2-dc1.uchicago.edu/pnfs/uchicago.edu/data/ddm1/M5/ESD/M5.0028940.Default.L1TT-b00000101.ESD.v13003008/* as source URL

Checking the -dbg execution:
NLST /pnfs/uchicago.edu/data/ddm1/M5/ESD/M5.0028940.Default.L1TT-b00000101.ESD.v13003008
is sent and received OK, but the parsing is returning the error above


I have a twiki page with my tests:
http://twiki.mwt2.org/bin/view/Main/TroubleShooting071205guc#GridFTP</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Marco Mambelli">marco@hep.uchicago.edu</who>
            <bug_when>2007-12-06 13:49:47</bug_when>
            <thetext>The problem is independent from the &apos;-r&apos; switch as shown below.
Furthermore I&apos;m adding globus-url-copy -versions and vdt-version

[uct3-edge1] /share/osg-client &gt; globus-url-copy -r gsiftp://uct2-dc1.uchicago.edu/pnfs/uchicago.edu/data/ddm1/M5/ESD/M5.0028940.Default.L1TT-b00000101.ESD.v13003008/ gsiftp://uct3-edge1.uchicago.edu/pnfs/uchicago.edu/data/users/marco/M5f/

error: No files matched the source url.

[uct3-edge1] /share/osg-client &gt; globus-url-copy -r gsiftp://uct2-dc1.uchicago.edu/pnfs/uchicago.edu/data/ddm1/M5/ESD/M5.0028940.Default.L1TT-b00000101.ESD.v13003008/* gsiftp://uct3-edge1.uchicago.edu/pnfs/uchicago.edu/data/users/marco/M5f/

error: No files matched the source url.

[uct3-edge1] /share/osg-client &gt; globus-url-copy  gsiftp://uct2-dc1.uchicago.edu/pnfs/uchicago.edu/data/ddm1/M5/ESD/M5.0028940.Default.L1TT-b00000101.ESD.v13003008/* gsiftp://uct3-edge1.uchicago.edu/pnfs/uchicago.edu/data/users/marco/M5f/

error: No files matched the source url.

[uct3-edge1] /share/osg-client &gt; globus-url-copy -versions
globus-url-copy: 3.22 (1172269086-63)
globus_ftp_client_restart_plugin: 3.6 (1171321665-63)
globus_ftp_client_debug_plugin: 3.6 (1171321665-63)
globus_ftp_client_perf_plugin: 3.6 (1171321665-63)
globus_ftp_client_throughput_plugin: 3.6 (1171321665-63)
globus_ftp_control: 2.5 (1181535824-63)
globus_ftp_client: 3.6 (1171321665-63)
globus_xio_gsi: 0.36 (1163020628-63)
globus_xio_tcp: 0.36 (1163020628-63)
globus_xio_system_select: 0.36 (1163020628-63)
globus_xio_file: 0.36 (1163020628-63)
globus_xio: 0.36 (1163020628-63)
globus_io: 6.0 (1113865852-1)
globus_gsi_callback_module: 0.23 (1121890023-63)
globus_credential: 1.9 (1159917212-63)
globus_gsi_proxy: 2.4 (1113610195-1)
globus_gsi_openssl_error: 0.13 (1170803088-63)
globus_openssl: 0.6 (1113610167-1)
globus_gsi_gssapi: 4.12 (1179416313-63)
globus_sysconfig: 1.20 (1159917212-63)
globus_callout_module: 0.6 (1113865156-1)
globus_gss_assist: 3.23 (1170694562-63)
globus_i_gass_transfer_http: 2.13 (1174421873-63)
globus_extension_module: 7.24 (1181664948-63)
globus_callback_nonthreaded: 7.24 (1181664948-63)
globus_object: 7.24 (1181664948-63)
globus_error: 7.24 (1181664948-63)
globus_common: 7.24 (1181664948-63)
globus_gass_transfer: 2.13 (1174421873-63)
globus_gass_copy: 3.22 (1172269086-63)
globus_thread_common: 7.24 (1181664948-63)
globus_thread_none: 7.24 (1181664948-63)

[uct3-edge1] /share/osg-client &gt; vdt-version 
You have installed a subset of VDT version 1.8.1e:
    CA Certificates v33 (includes IGTF 1.18 CAs)
    Condor/Condor-G 6.8.6
    cURL 7.16.2
    Fetch CRL 2.6.2
    Globus Toolkit, pre web-services, client 4.0.5
    Globus Toolkit, web-services, client 4.0.5
    GPT 3.2
    GSI-Enabled OpenSSH 4.0
    Java 5 SDK 1.5.0_13
    KX509 20031111
    lcg-info 1.11.0-1
    lcg-infosites 2.6-2
    Logrotate 3.7
    MyProxy 3.9
    Pegasus 2.0.1
    PPDG Cert Scripts 2.5
    pyGlobus gt4.0.1-1.13
    PyGlobus URL Copy 1.1.2.11
    RLS, client 3.0.041021
    SRM V1 Client 1.25
    SRM V2 Client 2.2.0.4
    UberFTP 1.24
    Wget 1.10.2
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Mike Link">mlink@mcs.anl.gov</who>
            <bug_when>2007-12-06 13:53:41</bug_when>
            <thetext>Committed a fix to trunk and globus_4_0_branch.  

Try this update package:
http://www-unix.mcs.anl.gov/~mlink/bugs/globus_gass_copy-3.23.tar.gz
(use the update instructions at http://www.globus.org/toolkit/advisories.html)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Mike Link">mlink@mcs.anl.gov</who>
            <bug_when>2007-12-06 13:55:00</bug_when>
            <thetext>You are correct that the 3.18 behavior is normal, this fix restores that behavior.</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>