Script: Download New Files From FTP Server

Script: Download New Files From FTP Server

Posted by: Anush Shetty

Script to copy only the files that are don?t exist in the local folder, from FTP server.

Overview

The File Transfer Protocol (FTP) is a standard network protocol used to transfer computer files from one host to another host over a TCP-based network, such as the Internet.In Informatica, FTP connection to transfer/move specific files from different environment into a source directory. The Integration Service can use FTP to access any machine, it can connect to, including mainframes.When using FTP connection, the user has to specify the file name. But in many cases the name of the file is dynamic. One such scenario is where the session has to extract net new files from the FTP source, since the last run. The files already transferred are kept in the local directory.This batch script connects to the FTP Server and transfers only those files which are not present in the local folder or only the new files. This batch script performs the following steps
  1. Creates a list of all the files on the FTP server.
  2. Check whether each one of the file is present in the local directory.
  3. FTP only those files which are not present in the local directory.
Download Contents:
  • Script to download new files from FTP
  • Userguide

Features

System Requirements

  • Windows

Resources

Support