Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions core/cb.deploy.ftp/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,4 @@ if [ -z "$PASSWORD" ]; then
read -s -p "Enter Password: " PASSWORD
fi

cd $LOCALDIR
ftp -n $REMOTESERVER <<INPUT_END
quote user $LOGIN
quote pass $PASSWORD
cd $REMOTEPATH
prompt off
mput *.*
exit
INPUT_END
find $LOCALDIR -mindepth 1 -maxdepth 1 ! -name ".git" -exec ncftpput -R -v -u "$LOGIN" -p "$PASSWORD" $REMOTESERVER $REMOTEPATH {} \;