🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

nanoweb-sync-ftp

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nanoweb-sync-ftp

Nanoweb sync driver for FTP protocol

latest
npmnpm
Version
1.1.3
Version published
Maintainers
1
Created
Source

nanoweb-sync-ftp

Nanoweb Sync FTP is a command-line tool for synchronizing files between a local directory and an FTP server. It supports different sync strategies and parallel uploads for efficiency.

Features

  • Synchronizes local files to an FTP server.
  • Supports multiple sync strategies: sync, merge, force.
  • Handles parallel uploads for improved performance.
  • Supports secure FTP connections.

Installation

npm install -g nanoweb-sync-ftp

Usage

Sync Files

nanoweb-sync-ftp -host ftp.example.com -user username -pass password -local ./dist -remote /

Options

OptionDescriptionDefault
-hostFTP server host-
-userFTP username-
-passFTP password-
-portFTP port21
-secureUse secure FTP connectionfalse
-acceptUnauthorizedAccept unauthorized certificates (TLS)false
-parallelNumber of parallel uploads1
-strategySync strategy (sync, merge, force)sync
-localLocal directory to uploaddist
-remoteRemote FTP directory/
-recentCache file for faster synchronization.nanoweb-sync.json
-publicPublic directory to merge before upload-

Environment Variables

Alternatively, you can define settings in a .env file:

FTP_HOST=ftp.example.com
FTP_USER=username
FTP_PASS=password
FTP_PORT=21
FTP_SECURE=false
FTP_PARALLEL_UPLOADS=1
FTP_ACCEPT_UNAUTHORIZED=true
SYNC_STRATEGY=sync
SYNC_LOCAL=dist
SYNC_REMOTE=/
SYNC_PUBLIC=public
SYNC_CACHE=.nanoweb-sync.json

License

ISC License

Contributing

See CONTRIBUTING.md for details on how to contribute.

Keywords

nano

FAQs

Package last updated on 26 Jun 2025

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