#!/bin/bash
HOST="10.14.57.251"
USER=root
PASS=root
echo Starting to sftp
lftp -u ${USER},${PASS} sftp://${HOST} <
cd uploads
get test
bye
EOF
echo done
ftpUser=root
ftpPWD=root6adp2
/usr/bin/ftp -n<
open 10.14.54.120 21
user $ftpUser $ftpPWD
bin
cd /oradata/oracle
prompt
get oradb.tar
#get oraapp.tar
bye
quit
EOF
阅读(3423) | 评论(0) | 转发(0) |