David, I don't have a VMS box to play with at the moment, but I guess that
the VMS file version might be causing the problem.
> > > <fileset dir="c:/mydir">
> > > <include name="test.txt;*"/>
> > > </fileset>
I'd suggest trying to get the latest version (no ';*') of "test.txt" and
see if that works. If it does, that might imply a problem with the fileset
regex evaluation, or something flaky with the processing of the remote dir
so that the file versions come back in a format that the FTP task or
fileset doesn't handle properly.
You might also try "test.txt*" or "test.txt.*" (I've seen the version
numbers returned as extensions like 'test.txt.1')
If you do a "dir" through FTP to the VMS box, what format is the listing
in? VMS "dir/full" or an "ls -l"?
I note that you're posting from yale - is this VMS system one I could
hit? I'd be willing to take a few stabs at it to see what is going on.
You may reply to me directly if you like.
Ken
At 04:44 PM 03/07/2002 -0500, David Tuck wrote:
>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" <[EMAIL PROTECTED]>
>To: "Ant Users List" <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>
>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: [EMAIL PROTECTED]
> > ==========================================================================
> >
> >
> >
> > --
> > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> >
>
>
>--
>To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
==========================================================================
J. Kenneth Gentle (Ken) | Phone: (610)255-0361 FAX:(610)255-0418
Gentle Software, LLC | Email: [EMAIL PROTECTED]
==========================================================================
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>