
Security News
Rspack Introduces Rslint, a TypeScript-First Linter Written in Go
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
The ftp_transfer gem was designed in an attempt to create a simpler api for bulk ftp transfers.
Here is an example of an upload. In this case, the optional archive directory option has been specified so a copy of the transferred files will be kept locally in that directory. The pattern option is also optional and will default to '*'.
require 'ftp_transfer'
FtpTransfer.new(
host: 'foobar.bazquux.com',
user: 'user',
pass: 'password',
port: 21212, # optional param (will default to 21)
local_dir: '~/files-to-send',
pattern: '*.jpg',
archive_dir: '~/archived-files').upload('file-upload-dir')
Here is an example of a download
FtpTransfer.new(
host: 'foobar.bazquux.com',
user: 'user',
pass: 'password',
local_dir: '~/received-files',
pattern: '*.jpg').download('file-download-dir')
There is not currently an archive option for the download method. If you need that for your application, feel free to send a pull request.
FAQs
Unknown package
We found that ftp_transfer 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
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.