Hi Hugo,

It looks like globus-url-copy wasn't correctly linked to the popen
driver in that build.  I've generated a new build here:
https://downloads.globus.org/toolkit/gt6/unstable/installers/windows/globus_toolkit-6.0.1506371041-x86_64-pc-cygwin-Build-18.zip

Let me know how that works for you.

Mike

On 9/22/2017 11:03 AM, Hernandez, Hugo * wrote:
> Mike, I'm trying the Cygwin version of the Globus Toolkit for Windows and I'm 
> getting a similar error as when trying the MinGW version.  Here is what I get:
> 
> hugo.hernandez@cygwin ~
> $ globus-url-copy.exe -list file:///tmp/
> file:///tmp/
>     check/
>     globus_toolkit-6.0.1493297102-x86_64-pc-cygwin-Build-10.zip
> 
> 
> hugo.hernandez@cygwin ~
> $ globus-url-copy.exe -vb -dbg -list sshftp://dtn-gridftp-host/home/
> sshftp://dtn-gridftp-host/home/
> 
> 
> error: globus_ftp_client: an invalid value for url was used
> 
> What am I missing here?  Yes, I have OpenSSH installed on Cygwin:
> 
> hugo.hernandez@cygwin ~
> $ ssh -V
> OpenSSH_7.5p1, OpenSSL 1.0.2k  26 Jan 2017
> 
> ...and I'm able to reach the GridFTP DTN via SSH.  Help appreciated!
> 
> Thanks,
> -Hugo
> 
> -----Original Message-----
> From: Michael Link [mailto:ml...@globus.org] 
> Sent: Thursday, September 21, 2017 12:30 PM
> To: Hernandez, Hugo * <hugo.hernan...@fda.hhs.gov>; gt-user@lists.globus.org
> Subject: Re: [gt-user] Using GridFTP on Windows hosts
> 
> Hi Hugo,
> 
> The main issue you'll run into is that the code that runs another process and 
> pipes stdin/stdout to/from it isn't implemented in native windows api.
> 
> https://github.com/globus/globus-toolkit/blob/globus_6_branch/xio/drivers/popen/source/globus_xio_popen_driver.c#L547
> 
> That specific issue looks like it isn't finding a valid ssh client script to 
> exec
> 
> https://github.com/globus/globus-toolkit/blob/globus_6_branch/gridftp/client/source/globus_ftp_client_handle.c#L126
> 
> Those are the two libraries involved in making sshftp work.
> 
> Mike
> 
> On 9/21/2017 10:38 AM, Hernandez, Hugo * wrote:
>> Mike, by adding the lib and lib/bin into my Windows PATH did the trick so 
>> I'm able to globus-url-copy command for local copies:
>>
>> C:\Users\Hugo.Hernandez\Programs\Globus\bin> SET 
>> PATH=%PATH%;C:\Users\Hugo.Hernandez\Programs\Globus\lib;C:\Users\Hugo.
>> Hernandez\Programs\Globus\lib\bin
>>
>> then
>>
>> C:\Users\Hugo.Hernandez\Programs\Globus\bin> globus-url-copy -vb -dbg 
>> file://C:/Users/Hugo.Hernandez/Downloads/Capture.JPG 
>> file://C:/Users/Hugo.Hernandez/TestFile.JPG
>> Source:  file://C:/Users/Hugo.Hernandez/Downloads/Capture.JPG
>> Dest:      file://C:/Users/Hugo.Hernandez/TestFile.JPG 
>>      Capture.JPG  ->   TestFile.JPG
>>
>> I tried to be optimistic with sshftp by adding into the PATH libexec and 
>> libexec/bin but it didn't work. Got this error message:
>>
>>  error: globus_ftp_client: an invalid value for url was used
>>
>> Question, where can I get the Globus Toolkit MinGW Windows client source 
>> code so we can look on it?
>>
>> Thanks much!
>>
>> Hugo R Hernandez
>> FDA-CFSAN | Scientific Computing Team
>> 5001 Campus Dr
>> College Park, MD 20740
>> (301) 348-1780 - Office
>> hugo.hernan...@fda.hhs.gov|www.engilitycorp.com
>>
>>
>> -----Original Message-----
>> From: gt-user [mailto:gt-user-boun...@lists.globus.org] On Behalf Of 
>> Michael Link
>> Sent: Wednesday, September 20, 2017 3:48 PM
>> To: gt-user@lists.globus.org
>> Subject: Re: [gt-user] Using GridFTP on Windows hosts
>>
>> In order to run most of the commands from the mingw build, you'll need to 
>> add lib, and lib/bin to the PATH, or copy *.dll to the bin directory.
>>
>> However, sshftp will not work with the mingw client builds.  sshftp requires 
>> executing a local ssh command and streaming the GridFTP connection over 
>> that.  That is not implemented with native builds.
>>
>> sshftp should work with the cygwin builds and the cygwin-provided ssh.exe.
>>
>> Mike
>>
>> On 9/20/2017 12:56 PM, Hernandez, Hugo * wrote:
>>> Hello there, we are trying to install Windows client of the Globus 
>>> Toolkit and then access the DTN GridFTP servers we have configured by 
>>> using SSH as authentication method (we use this successfully in both 
>>> Mac OS X and Linux).  The first problem we have encountered is shown 
>>> on the following pic:
>>>
>>>  
>>>
>>>  
>>>
>>> We have been looking online as there is not that much documentation 
>>> around so help will be greatly appreciated.  This is what we have 
>>> done so far to install the Windows client:
>>>
>>>  
>>>
>>> Download the MinGW version of the Globus Toolkit package from the 
>>> Globus portal at 
>>> https://downloads.globus.org/toolkit/gt6/stable/installers/windows/
>>> and download the binary zip file
>>> globus_toolkit-6.0.1502136246-i686-w64-mingw32-Build-13.zip. Extract 
>>> the files to a local folder of choice.  (Ex: "C:\Program Files")
>>>
>>> Add the <Local Folder>\Globus\bin to the system PATH using the steps below.
>>>
>>>  
>>>
>>>   * From the desktop, right click the Computer icon.
>>>   * Choose Properties from the context menu.
>>>   * Click the Advanced system settings link.
>>>   * Click Environment Variables. In the section System Variables, find
>>>     the PATH environment variable and select it.
>>>   * Click Edit. If the PATH environment variable does not exist, click New.
>>>   * In the Edit System Variable (or New System Variable) window, specify
>>>     the value of the PATH environment variable Or append ";c:\<Local
>>>     Folder>\Globus\bin" to the existing value.
>>>   * Click OK. Close all remaining windows by clicking OK.
>>>
>>>  
>>>
>>> Once we are able to address the "Error -1, activating gass cipy module"
>>> issue, what is next to setup the windows client to use SSH for 
>>> authentication? Clearly, the user should have SSH access into the 
>>> corresponding DTN.
>>>
>>>  
>>>
>>> Note: we are trying to avoid users to use Cygwin but the MinGW 
>>> version of the Globus Toolkit client for Windows.
>>>
>>>  
>>>
>>> Again, help will be greatly appreciated!
>>>
>>>  
>>>
>>> Regards,
>>>
>>> -Hugo
>>>
>>>  
>>>
>>>  
>>>
>>> *Hugo R Hernandez*
>>>
>>> *FDA-CFSAN | Scientific Computing Team*
>>>
>>> *5001 Campus Dr*
>>>
>>> *College Park, MD 20740*
>>>
>>> *(301) 348-1780 - Office*
>>>
>>> hugo.hernan...@fda.hhs.gov
>>> <mailto:hugo.hernan...@fda.hhs.gov>|www.engilitycorp.com
>>> <http://www.engilitycorp.com/>
>>>
>>> cid:image001.png@01CF1DF6.43D24DD0
>>>
>>>  
>>>

Reply via email to