blob: 284ec3792a973cbab44422e19766702f35835c00 [file] [log] [blame]
Eran (ev672n), Voskb9708a72018-08-07 14:15:05 +03001#!/bin/bash
2HOST='135.21.125.104'
3SOURCE_DIR='./dist/imploded/'
4SOURCE_FILE='dcae.war'
5TARGET_DIR='./apps/jetty/base/be/webapps/'
6
7lftp -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