Lines Matching full:get

6 # - -p flag for get & put
62 verbose "$tid: get"
63 echo "get $DATA $COPY" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 \
64 || fail "get failed"
65 cmp $DATA ${COPY} || fail "corrupted copy after get"
68 verbose "$tid: get quoted"
69 echo "get \"$DATA\" $COPY" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 \
70 || fail "get failed"
71 cmp $DATA ${COPY} || fail "corrupted copy after get"
75 verbose "$tid: get filename with quotes"
76 echo "get \"$QUOTECOPY_ARG\" ${COPY}" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 \
77 || fail "get failed"
78 cmp ${COPY} ${QUOTECOPY} || fail "corrupted copy after get with quotes"
83 verbose "$tid: get filename with spaces"
84 echo "get ${SPACECOPY_ARG} ${COPY}" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 \
85 || fail "get failed"
86 cmp ${COPY} "$SPACECOPY" || fail "corrupted copy after get with spaces"
90 verbose "$tid: get filename with glob metacharacters"
91 echo "get \"${GLOBMETACOPY}\" ${COPY}" | \
92 ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 || fail "get failed"
94 fail "corrupted copy after get with glob metacharacters"
97 verbose "$tid: get to directory"
98 echo "get $DATA ${COPY}.dd" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 \
99 || fail "get failed"
100 cmp $DATA ${COPY}.dd/${DATANAME} || fail "corrupted copy after get"
103 verbose "$tid: glob get to directory"
104 echo "get /bin/l* ${COPY}.dd" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 \
105 || fail "get failed"
107 cmp /bin/$x ${COPY}.dd/$x || fail "corrupted copy after get"
111 verbose "$tid: get to local dir"
113 || fail "get failed"
114 cmp $DATA ${COPY}.dd/${DATANAME} || fail "corrupted copy after get"
117 verbose "$tid: glob get to local dir"
119 || fail "get failed"
121 cmp /bin/$x ${COPY}.dd/$x || fail "corrupted copy after get"