
Product
Introducing Data Exports
Export Socket alert data to your own cloud storage in JSON, CSV, or Parquet, with flexible snapshot or incremental delivery.
@gdc-js/gdc-collector-ftp
Advanced tools
A GDC module for collection of files through FTP. Can collect multiple files by using multiple targets. Can collect multiple files by using the '*' and '?' wildcards (the wildcards can be used any number of times in any target)
The FTP tree scanning algorithm was built to only scan directories which can potentially match at least one of the targets, thus skipping irrelevant directories.
The tree scanning phase (which determines which files to collect) progress is not reported because there is no way to know in advance the size of the tree. Notification are sent per scanned sub directory, so it's possible to understand that it's progressing.
Usage example:
const GDCCollectorFtp = require('../gdc-collector-ftp');
const {GDCCallbackDataReceiver} = require('@gdc-js/common');
const {GDCLogNotificationHandler} = require('@gdc-js/common');
const ftpCollector = new GDCCollectorFtp({
properties: {
'host': 'demo.wftpserver.com',
'username': 'demo',
'password': 'demo',
},
dataReceiver: new GDCCallbackDataReceiver((data, meta) => {
console.log(data);
console.log(meta);
}),
notificationHandler: new GDCLogNotificationHandler(),
});
ftpCollector.collect(['/download/*.jpg']);
FAQs
An FTP generic data collector
We found that @gdc-js/gdc-collector-ftp 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.

Product
Export Socket alert data to your own cloud storage in JSON, CSV, or Parquet, with flexible snapshot or incremental delivery.

Research
/Security News
Bitwarden CLI 2026.4.0 was compromised in the Checkmarx supply chain campaign after attackers abused a GitHub Action in Bitwarden’s CI/CD pipeline.

Research
/Security News
Docker and Socket have uncovered malicious Checkmarx KICS images and suspicious code extension releases in a broader supply chain compromise.