mirror of
https://github.com/GenieTim/ftp-action.git
synced 2024-12-05 07:22:25 +08:00
763d190192
This fixes isse #7. Also, to speed things up, I added `-P` to get parallel up/downloads.
4 lines
244 B
Bash
Executable File
4 lines
244 B
Bash
Executable File
#!/bin/sh -l
|
|
|
|
lftp $INPUT_HOST -u $INPUT_USER,$INPUT_PASSWORD -e "set ftp:ssl-force $INPUT_FORCESSL; set ssl:verify-certificate false; mirror --reverse --continue --dereference --verbose=3 -P -x ^\.git/$ $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit"
|