SFTP servers are everywhere — cloud storage systems, enterprise data pipelines, reporting infrastructure, IoT gateways, and automated file exchange environments. Nodlyn makes it incredibly easy to connect to these servers inside your workflows, enabling secure file transfers, automated imports, and reliable data delivery.
With the SFTP Connector, you can read files, upload content, apply filters, handle encodings, and seamlessly integrate remote file operations into your automation pipelines.
Step 1: Connect to Your SFTP Server
SFTP uses SSH for secure file transfer. In Nodlyn, simply drag an SFTP Read File or SFTP Write File node onto the canvas and configure the connection:
- Host — e.g., sftp.example.com
- Port — usually 22
- Username — login user
- Password — SSH password
Nodlyn handles authentication, connection lifecycle, and error handling automatically.
Step 2: Read Files from SFTP
Use the SFTP Read File node to download one or more files from a remote directory. Nodlyn connects to the server, lists files, applies filters, reads content using the selected encoding, and returns:
- file — full remote path
- name — file name
- size — file size in bytes
- content — decoded file content
You can specify:
- remotePath — directory or file path
- filter — e.g., *.csv, *.json, *.txt
- encoding — UTF‑8, UTF‑16, ASCII, Latin‑1
This is ideal for workflows that import reports, logs, sensor data, or scheduled exports.
Step 3: Write Files to SFTP
If you want your workflow to upload data — reports, results, logs, or generated documents — use the SFTP Write File node. Nodlyn uploads content to the specified remote file path.
You can configure:
- remotePath — full file path on the server
- content — text to upload (or pipeline input)
- encoding — UTF‑8, UTF‑16, ASCII
- append — append instead of overwrite
This is perfect for generating automated reports, exporting workflow results, or writing logs to remote storage.
Step 4: Automate File-Based Workflows
Once SFTP data enters your workflow, you can combine it with any other connector:
- Parse CSV or JSON files
- Send notifications via Slack or Telegram
- Store data in Google Sheets or databases
- Trigger downstream processing pipelines
- Generate documents or dashboards
SFTP becomes a powerful entry point into your automation ecosystem.
Step 5: Build Real File Automations
With Nodlyn, you can build advanced file-driven workflows:
- Import daily reports automatically
- Upload processed results to remote servers
- Synchronize data between systems
- Append logs to remote files
- Trigger workflows based on file content
Secure file transfer becomes effortless and fully automated.
What's Next?
Experiment with multi-step workflows, combine SFTP operations with parsing logic, or build real-time dashboards showing file activity. Nodlyn gives you the tools to automate any SFTP-driven process.