Skip to content

Commit 179bfd8

Browse files
authored
Update (#34)
Add sftp support Heavy code cleanup and commenting Fixes multiple broken functions Update download urls for dependencies
1 parent 9fd2cb4 commit 179bfd8

19 files changed

+2296
-2026
lines changed

LICENCE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (C) 2013-2018, Meliox
1+
Copyright (C) 2013-2024, Meliox
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# FTPauto
22

3-
FTPauto is a simple, but highly advanced and configurable FTP-client wrap-around written in #Bash for Unix. It is based on [lftp](http://lftp.yar.ru/) and helps to automate simple transfers - yet FTPauto allows much more.
3+
FTPauto is a simple, but highly advanced and configurable FTP-client wrap-around written in #Bash for Unix. It is based on [lftp](https://github.com/lavv17/lftp) and helps to manage transfers.
44

55
# Features
6-
* Send files easily with lftp (To and from FTP, and between serveres - FXP)
7-
* Highly customizable command line
8-
* Monitor free space or server status on FTP-server
6+
* Send files easily with lftp (To and from FTP(s), and between serveres - FXP, and SFTP)
7+
* Highly customizable command line optopns
8+
* Monitor free space or server status on the remote server (pre/post check)
99
* Progressbar with estimated time of transferes
10-
* History (Transfer logs)
11-
* Queue system of transfers (failed transferes, queue)
10+
* History (Transfer logs, total transfered etc.)
11+
* Queue manager for failed, queued transfere
1212
* Packing/splitting directory/files into rar-files. Including sfv to verify files at end-server.
13-
* Multiple users (different configuration)
13+
* Multiple user support
1414
* Delay transfer to start at a specific time
1515
* Support pre/post transfer using external scripts
1616
* Sorting (regex-based or manually)
17-
* Exclution of files (regex-based)
18-
* Seamless unpack of rar-files in stored in store-mode using rarmount
17+
* Regex-based exclution of files or folders
18+
* Seamless read-content from rar files using rar2fs fuse
1919
* Send push notification to phones etc. with [Pushover](https://pushover.net/)
2020
* Automatic transfers with the use of [FlexGet](http://flexget.com/)
2121

@@ -53,7 +53,7 @@ You should have User and sudo or root access to use and install, respectively.
5353
Script is mainly written to Debian/Ubuntu and is guaranteed to work under these!
5454

5555
## Installation
56-
There are several way to install FTPauto. Briefly summarized: The installer does just about everything for you. This is also the most stable version. You can also get the most recent version from git by pulling it.
56+
There are several way to install FTPauto. Sudo is necesary to install some dependent tools
5757

5858
### The installer (recommended)
5959
To get FTPauto, download and execute the installer: [download](https://raw.github.com/Meliox/FTPauto/master/install.sh)
@@ -64,6 +64,11 @@ mkdir FTPauto && cd FTPauto
6464
wget https://raw.github.com/Meliox/FTPauto/master/install.sh
6565
bash install.sh install
6666
```
67+
and update
68+
```bash
69+
bash install.sh update
70+
```
71+
6772

6873
Follow the instructions to set up a user and then you're ready to use FTPauto! If you skipped user setup or need help go to [configuration](https://github.com/Meliox/FTPauto#configuration) to set up a user.
6974

@@ -77,21 +82,11 @@ Run
7782
bash install.sh install
7883
```
7984

80-
### Manual install
81-
If you prefer to do everything manually, read the install.sh script.
82-
83-
### Upgrading
84-
If you want to upgrade to newest version, simply run
85-
```bash
86-
bash install.sh update
87-
```
88-
89-
The same almost goes for git
85+
and update
9086
```bash
9187
git pull
9288
bash install.sh update
9389
```
94-
NOTE: Running lastest version, doesn't mean it's 100% stable.
9590

9691
# Configuration
9792
First thing that need to be done is to create a user and edit the users settings. The setting that is to be edited is shown in [settings](https://github.com/Meliox/FTPauto#settings).
@@ -119,8 +114,8 @@ The most important setting is "transferetype".
119114
Depending on the solution you can FTPauto can do
120115
```
121116
FTP
122-
SERVER --> client : upftp
123-
server <-- CLIENT : downftp
117+
SERVER --> client : upftp(s) or upsftp
118+
server <-- CLIENT : downftp(s)
124119
FXP
125120
SERVER <-> server : fxp
126121
```
@@ -198,7 +193,7 @@ Here's an overview as well
198193
--verbose | Debugs to console
199194
```
200195
## Debugging
201-
If the script for some reason should fail, it is easy to debug. Debugging can either be permanently set if the error comes and goes. This setting can be in ftpauto.sh by altering the line 3:
196+
If the script for some reason should fail, it is easy to debug. Debugging can either be permanently set if the error comes and goes. This setting can be in ftpauto.sh by altering the line 3:
202197
```bash
203198
verbose="0" #0 Normal info | 1 debug console | 2 debug into logfile
204199
```

dependencies/ftp_list.sh

Lines changed: 0 additions & 96 deletions
This file was deleted.

dependencies/ftp_login.sh

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)