linux logic
Thursday, September 6, 2012
FTP file Fetch script
FTP file Fetch script
===========================
#!/bin/bash
export SSHPASS=******(ftp passwd
sshpass -e sftp -oBatchMode=no -b - test@sftp2.urserver.com << !
cd inbound
mget *.zip
rename *.zip archive/*.zip
bye
!
===========================
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment