init web ems all
This commit is contained in:
1 parent
81c97acbe9
commit
5cc56f8078
4263 files changed
+798779
No files matched your search
Executable
+20
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
remote_ip=$1
|
||||
logName=$2
|
||||
logPassword=$3
|
||||
remote_dir=$4
|
||||
local_dir=$5
|
||||
file=$6
|
||||
|
||||
echo "$remote_dir $local_dir $file" >> /tmp/test.txt
|
||||
|
||||
ftp -i -n $remote_ip <<haha
|
||||
user $logName $logPassword
|
||||
binary
|
||||
cd $remote_dir
|
||||
lcd $local_dir
|
||||
get $file
|
||||
bye
|
||||
haha
|
||||
|
||||
Reference in new issue
Block a user