mirror of
https://github.com/techarkit/shell-scripting-tutorial.git
synced 2025-07-22 18:28:12 +00:00
18 lines
346 B
Bash
18 lines
346 B
Bash
#!/bin/bash
|
|
#Purpose: Here Document Example
|
|
#Version:1.0
|
|
#Created Date: Tue Jun 12 22:50:23 IST 2018
|
|
#Modified Date:
|
|
#WebSite: https://arkit.co.in
|
|
#Author: Ankam Ravi Kumar
|
|
# START #
|
|
ftp -n <<- EOF 2> /dev/null
|
|
open ftp.server.com
|
|
user ftp ftp
|
|
ascii
|
|
cd uploadfolder
|
|
mput file1 file1 file2
|
|
bye
|
|
EOF
|
|
|