/ftpClient

FTP Client to automatically download and delete files in a specific folder.

Primary LanguageJava

FTPClient

Console Application which downloads all files from a specific folder. If a file is sucessfully downlaoded, the file will be deleted.
The application can be configured with the following mandatory arguments:

  • -server
    • Specifies the address to the FTP-Server
      e.g. -server "127.0.0.1"
  • -user
    • Specifies the username to login to the FTP-Server
      e.g. -user "testuser"
  • -pw "test"
    • Specifies the password to login to the FTP-Server
      e.g. -pw "test"
  • -source
    • Specifies the absolute path to the folder on the FTP-Server
      e.g. -source "/testfolder"
  • -destination
    • Specifies the absolute path to the local destination folder into which the files are downloaded.
      e.g. -destination "C:\Users\Test\Testfolder"
  • -intervall
    • Specifies the intervall in minutes. After all files from the source folder were downloaded and deleted, the application goes into a sleepmode, before the download/delete process gets started again.
      e.g. -intervall 10
  • -logs
    • Specifies the absolute path to the logfile.
      e.g. -log "C:\Users\Test\logs.txt"