Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Smurftp is a command-line utility written in Ruby that searches a specified directory and creates a queue of recently modified files for quickly uploading to a remote server over FTP.
It was written for making web site edits where you might have a small group of files in multiple subdirectories that you want uploaded without having to manually go directory by directory.
$ gem sources -a http://gems.github.com
$ sudo gem install divineflame-smurftp
Start Smurftp with this command:
$ smurftp <directory or configuration file>
Smurftp requires a configuration file in YAML format that defines your FTP server and login information, as well as a local directory ('document_root').
When starting Smurftp, if you specify a directory, it looks for a 'smurftp_config.yaml' file in that directory. If the file is not found you'll be given the option for this file to be generated for you.
Alternatively, if you specify an existing configuration file (it doesn't require the 'smurftp_config.yaml' name) Smurftp will start by loading this file. Because the 'document_root' setting is defined in the configuration file, you can store the configuration file separately from your project files if you choose.
It's also possible to define multiple servers, sites, and login credentials in the same configuration file.
Smurftp will search the defined 'document_root' directory and list all files in all sub directories, ordered by modification date with newest files first. It skips any files defined in the configuration's 'exclusions' list.
[1] foo.php
[2] images/bar.jpg
[3] includes/header.php
[4] images/logo.png
[5] yada.php
====================
smurftp>
At the smurftp>
prompt enter the number identifier of the files you want uploaded. You can also enter a list or range of files.
'1' uploads file [1]
'1-5' uploads files [1-5]
'1,2,4' uploads [1], [2], and [4]
'1-5,^4' uploads files [1-3], and [5], skipping file [4]
'1-5,!4' same as above
'all' uploads all listed files
To quit type quit
or exit
at the prompt. e
or q
will also quit.
FAQs
Unknown package
We found that gruner-smurftp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.