I have to pull some files on a daily basis from a remote server, I have the servers username, ipaddress and password. I'm able to login using
sftp username@ipaddress
password prompt will appear after that, I have the password so I will enter.
But what I want to know here is how can I make this automate through the script as I want pull the files everyday. Any commands that I can use to automate through script ? That particular server is only accessible through sftp, no ssh is allowed. I tried scp command too but the server only accepts sftp.
Thanks in advance.
您可以使用Pentaho数据集成,它具有可以拉出文件并将其移动到所需位置的步骤(包括另一个文件位置,在数据库或hadoop hdfs中插入int)
我认为crontab,shell脚本和lftp将适合此目的。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.