G
G
ganzales2017-09-01 16:55:18
linux
ganzales, 2017-09-01 16:55:18

Terminating ftpput execution?

I do

ftpput -u user -p password 192.168.1.1 file file; echo 1

Everything, OK, the file is loading, but the program does not end and some input is expected, I complete ctrl + c. How can I make ftpput exit correctly and display 1 after loading?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Shitskov, 2017-09-01
@Zarom

curl -T file ftp://192.168.1.1 --user user:password && echo 1

V
Victor Taran, 2017-09-02
@shambler81

wput , in addition, you can also make a speed limit

wput --limit-rate=3000K --timestamping --output-file=/var/log/wput.log /var/backup/mysql/ ftp://user:[email protected]/data/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question