Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/joesilva01862/picuploader

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/joesilva01862/picuploader

  • v0.0.0-20200613195116-5aa893d3a6da
  • Source
  • Go
  • Socket score

Version published
Created
Source

picuploader

This programs, writen in GO, monitors a folded and uploads any file placed there to an HTTP server.

It has been tested to monitor and upload picture files to a locally installed NextCloud server in my network. However, it can be used to upload files to any HTTP server, since it uses curl to upload the files.

Originally written for Linux, the program can easily be converted to Windows due to GO easy of portability.

All the parameters will be read from a config file, an example of which is in the package.

Once started, picuploader will run continously until it's terminated with CRTL-C, sleeping at intervals predefined in the config file.

Essentially, here's what you need to use this program:
. File server (usually HTTP) configured to receive files (take a look at https://nextcloud.com)
. curl installed in the same machine as the picuploader
. picservice.conf file in your home folder
. picuploader

To build the program:
. first, download the source from here
. open a terminal window on the folder you downloaded the source into
. issue this command:
go build service.go
. to execute the standalone app, issue this command
./service

That's it. Enjoy!

FAQs

Package last updated on 13 Jun 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