Eran (ev672n), Vosk | b9708a7 | 2018-08-07 14:15:05 +0300 | [diff] [blame] | 1 | #!/bin/bash |
2 | HOST='135.21.125.104' | ||||
3 | SOURCE_DIR='./dist/imploded/' | ||||
4 | SOURCE_FILE='dcae.war' | ||||
5 | TARGET_DIR='./apps/jetty/base/be/webapps/' | ||||
6 | |||||
7 | lftp -c "open -u $AMDOCS_USER,$AMDOCS_PASS sftp://135.21.125.104; put -O /apps/jetty/base/fe/webapps/ ./dist/imploded/dcae.war" | ||||
8 | |||||
9 | # lftp<<END_SCRIPT | ||||
10 | # open sftp://$HOST | ||||
11 | # user $USER $PASSWD | ||||
12 | # cd $TARGET_DIR | ||||
13 | # put $SOURCE_FILE | ||||
14 | # bye | ||||
15 | # END_SCRIPT |