How do I get a full directory list in a BusinessConnect FTP script?

How do I get a full directory list in a BusinessConnect FTP script?

book

Article ID: KB0087167

calendar_today

Updated On:

Products Versions
TIBCO BusinessConnect -
Not Applicable -

Description

Resolution:
Description
==========
Using  a BusinessConnect FTP script, there is frequently the need to look at the target FTP directory for additional information, such as file timestamps.  How can this be accomplished?

Environment
===========
TIBCO BusinessConnect 5.X.X and 6.X.X

Resolution
==========
Use the executeDirCmd() function followed by a call to getRemoteFileList() on the FTPReply object.  It will return a full directory list including time stamps.  See the BusinessConnect Java API Reference Manual in the HTML version of the BusinessConnect documentation set for details.

Issue/Introduction

How do I get a full directory list in a BusinessConnect FTP script?