Ant will not FTP download files
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Jim_Rand
Posted On:   Thursday, May 23, 2002 04:25 PM

Could you give me a little help in getting FTP to work with Ant. It will not download any files. Here is the verbose output: Ant version 1.4 compiled on September 3 2001 Buildfile: build.xml Detected Java version: 1.3 in: D:jdk1.3.1jre Detected OS: Windows NT parsing buildfile F:Tmp uild.xml with URI = file:F:/Tmp/build.xml Project base dir set to: F:Tmp Build sequence for target `FTPTestOne' is [FTPTestOne] Complete build sequence is [FTPTestOne] FTPTestOne: [ftp] Opening FTP connection to nextgenftp.interealty.com [ftp] con   More>>

Could you give me a little help in getting FTP to work with Ant.


It will not download any files.

Here is the verbose output:

Ant version 1.4 compiled on September 3 2001

Buildfile: build.xml

Detected Java version: 1.3 in: D:jdk1.3.1jre

Detected OS: Windows NT

parsing buildfile F:Tmp uild.xml with URI = file:F:/Tmp/build.xml

Project base dir set to: F:Tmp

Build sequence for target `FTPTestOne' is [FTPTestOne]

Complete build sequence is [FTPTestOne]


FTPTestOne:

[ftp] Opening FTP connection to nextgenftp.interealty.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


Total time: 9 seconds


Here is build.xml

<?xml version="1.0" encoding="UTF-8" ?>







remotedir ="/xa305"

userid = "xa304"

password="password"

action = "get"

separator="/">







   <<Less

Re: Ant will not FTP download files

Posted By:   kenneth_Esmann  
Posted On:   Friday, May 24, 2002 01:33 AM

Your script looks fine, but try changing the include statement to "".
About | Sitemap | Contact