ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Tuck <david.t...@yale.edu>
Subject Re: problems with ftp task to VAX server
Date Thu, 07 Mar 2002 21:44:16 GMT


ftp from the command line works, using the get method

send and mkdir both work correctly from ant ftp task (but list does not)
so the directory syntax seems ok although we have tried explicitly using
other syntax variants for <include name =...

ant -verbose output:

build:
      [ftp] Opening FTP connection to somevax.com
      [ftp] connected
      [ftp] logging in to FTP server
      [ftp] login succeeded
      [ftp] changing the remote directory
      [ftp] getting files
      [ftp] 0 files retrieved
      [ftp] disconnecting

BUILD SUCCESSFUL

Thanks again.



----- Original Message -----
From: "Ken Gentle" <j.kenneth.gentle@acm.org>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Cc: <ant-user@jakarta.apache.org>
Sent: Thursday, March 07, 2002 4:09 PM
Subject: Re: problems with ftp task to VAX server


> Assuming that you're VAX is running a flavor of VMS, you'll have to vary
> your syntax some more.  Most VMS ftps would do some type of file mapping,
> but I don't know if ANT turns that on.
>
> Directories and files on VMS look like this:
>
>          DISK1:[HOME.GENTLEJK]login.com
>
> IIRC, the TGV Multinet FTP implementation could handle this path in UNIX
> like syntax:
>
>          /disk1/home/gentlejk/login.com
>
> I don't remember what Digital's own FTP implementation did.
>
> Can you make command-line FTP work to this box?
> What output do you get from "ant -verbose?"
>
>
> At 03:59 PM 03/07/2002 -0500, David Tuck wrote:
> >Has anyone successfully used the ftp task to retrieve files from a VAX
server.
> >The transfer target below is successful but zero files are transferred,
> >though there are files which match.
> >Attempts with several syntax variants have not helped.
> >The send action works fine.
> >
> >
> ><target name="transfer">
> >         <ftp action="get"
> >         server="somevax.com"
> >         remotedir="[SOMEDIR]"
> >         userid="user"
> >         password="password">
> >     <fileset dir="c:/mydir">
> >       <include name="test.txt;*"/>
> >     </fileset>
> >   </ftp>
> ></target>
> >
> >Thanks for your help.
>
> ==========================================================================
> J. Kenneth Gentle (Ken)       | Phone: (610)255-0361   FAX:(610)255-0418
> Gentle Software, LLC          | Email: j.kenneth.gentle@acm.org
> ==========================================================================
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message