New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/valvrave-develop/go-auto-sftp-check-modify

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/valvrave-develop/go-auto-sftp-check-modify

  • v0.0.0-20200313061420-e232ef9d9264
  • Source
  • Go
  • Socket score

Version published
Created
Source

go-auto-sftp-check-modify

实现功能:定时检测本地文件是否更新,若文件更新则自动上传(sftp)远程服务器上。

web访问路径

http://ip:8090/name?path=path,示例如下:

配置文件:
{
      "switch": "on",
      "name": "test",
      "local_os": "Windows",
      "local_base_dir": "E:\\workspace\\go\\test_dir",
      "remote_os": "Linux",
      "remote_base_dir": "/home/valvrave/workspace/go",
      "remote_address": "",
      "user": "",
      "passwd": "",
      "save_project":"E:\\workspace\\go\\go-auto-sftp-check-modify\\src\\save\\test.txt"
}
此时访问test_dir目录的url即:http://ip:8090/test?path=test_dir
访问test_dir子目录child_dir即:http://ip:8090/test?path=test_dir/child_dir

FAQs

Package last updated on 13 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc