Sign inSign up

nusncl1/file-transfer-bot

By nusncl1

Updated about 4 years ago

One bot from OctoBot System for File transfer

Image
0

339

nusncl1/file-transfer-bot repository overview

Octo-Bot: File Transfer Bot

Introduction

This bot is specially developed for automating file transfer (download and upload) using FTP protocol.

Prerequisites

Ensure that the following is installed

  1. Docker (How to install)
  2. Git

Installation

Installing git:

$ sudo apt update && sudo apt install git

Build and Run Docker image

$ cd OctoBot/Octo-Bot/file-transfer-bot
$ docker build . -t file-transfer-bot:latest
$ docker run file-transfer-bot:latest -s <server_ip> -u <ftp_user> -p <ftp_password>

Check the running container:

$ docker ps -a

CONTAINER ID        IMAGE                          COMMAND                  CREATED              STATUS                          PORTS               NAMES
b72b0bf9e8c7        file-transfer-bot:latest       "python3 ftp_start..."   About a minute ago   Exited (0) About a minute ago                       nifty_northcutt

Usage

Here is the help page for the complete usage of the bot program:

$ docker run file-transfer-bot:latest
  usage: ftp_starter.py [-h] -s SERVER -u USERNAME --p PASSWORD 
                        [-d TIME (Second)] [-t THREAD -f FUNCTION]
                        [-uf UPLOAD_FILE] [-df DOWNLOAD_FILE]

Tag summary

Content type

Image

Digest

sha256:87427d98d

Size

335.5 MB

Last updated

about 4 years ago

docker pull nusncl1/file-transfer-bot