Skip to content

Update the ftp docs#504

Open
KavinduZoysa wants to merge 2 commits into
wso2:mainfrom
KavinduZoysa:update-ftp-docs
Open

Update the ftp docs#504
KavinduZoysa wants to merge 2 commits into
wso2:mainfrom
KavinduZoysa:update-ftp-docs

Conversation

@KavinduZoysa

@KavinduZoysa KavinduZoysa commented May 22, 2026

Copy link
Copy Markdown
Contributor

Purpose

$subject

Summary by CodeRabbit

  • Documentation
    • Revised Visual Designer walkthroughs for FTP, FTPS, and SFTP integrations: replaced linear steps with structured configuration tables for listener settings and authentication methods.
    • Emphasized Monitoring Path and streamlined steps for creating/adding file handlers.
    • Added guidance for certificate/private-key authentication and referenced secure-socket configuration for FTPS.
    • Renamed CSV fault-tolerance text to “Csv Fail Safe” and clarified compatibility with Move/Delete post-processing.

Review Change Stack

@coderabbitai

coderabbitai Bot commented May 22, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 9a486b1d-3d0b-4325-bca5-1fddcc421ff8

📥 Commits

Reviewing files that changed from the base of the PR and between 07f263a and 958cde3.

📒 Files selected for processing (1)
  • en/docs/develop/integration-artifacts/file/csv-fault-tolerance.md
✅ Files skipped from review due to trivial changes (1)
  • en/docs/develop/integration-artifacts/file/csv-fault-tolerance.md

📝 Walkthrough

Walkthrough

This PR restructures Visual Designer FTP, FTPS, and SFTP walkthroughs by converting inline procedural steps into structured listener and authentication tables, clarifying certificate/private-key guidance, and renumbering monitoring-path and Add File Handler steps.

Changes

FTP/FTPS/SFTP Integration Walkthroughs

Layer / File(s) Summary
FTP listener and authentication configuration
en/docs/develop/integration-artifacts/file/ftp-sftp.md
Listener configuration (protocol, host, port) and authentication-method selection are presented as structured tables, replacing inline step text, with updated step numbering for monitoring path and file handler setup.
FTPS listener, authentication, and monitoring setup
en/docs/develop/integration-artifacts/file/ftp-sftp.md
Listener configuration and authentication tables are added; Advanced Configurations (Secure Socket) is referenced; monitoring path and file handler steps are renumbered.
SFTP certificate authentication and configuration
en/docs/develop/integration-artifacts/file/ftp-sftp.md
Listener configuration table introduced; certificate-based authentication and private key entry steps added; username, Create, and Add File Handler steps reordered for SFTP.
Csv Fail Safe naming and compatibility note
en/docs/develop/integration-artifacts/file/csv-fault-tolerance.md
Reference changed to “Csv Fail Safe”; compatibility wording simplified to state it works with Move / Delete post-processing because handler completes and routes to After Success.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • wso2/docs-integrator#472: Both PRs modify the FTP/SFTP/FTPS walkthrough content in en/docs/develop/integration-artifacts/file/ftp-sftp.md, with the related PR addressing link/anchor formatting.

Suggested reviewers

  • rosensilva
  • anupama-pathirage
  • NipunaRanasinghe
  • LakshanWeerasinghe

Poem

🐰 Hopped through docs with tidy paws,
Tables placed to show the laws,
FTP, FTPS, and SFTP too,
Keys and paths laid out for you,
Configuration neat — huzzah!

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is severely incomplete; it contains only a 'Purpose' header with a placeholder '$subject' and is missing all other required sections from the template. Fill in all required template sections including Goals, Approach, User Stories, Release Notes, Documentation links, and other applicable sections with substantive content.
Title check ❓ Inconclusive The title 'Update the ftp docs' is vague and overly generic; it does not provide specific detail about what FTP documentation changes were made. Clarify the title with specific details about the changes, such as 'Reformat FTP integration setup documentation with structured tables and steps' or 'Update FTP/FTPS/SFTP configuration documentation.'
✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@en/docs/develop/integration-artifacts/file/ftp-sftp.md`:
- Line 36: Three markdown table rows in the listener configuration tables are
missing the trailing pipe character: the "Protocol" row in the FTP section (the
diff line containing "| **Protocol** | Types of protocol. Select `ftp`."), and
the corresponding rows in the FTPS and SFTP sections; fix each by appending a
trailing pipe character "|" at the end of those lines so they become valid table
rows.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 493a6ead-ec58-4f2b-904a-48e9506bc46d

📥 Commits

Reviewing files that changed from the base of the PR and between 3000eea and 1fc4ade.

📒 Files selected for processing (1)
  • en/docs/develop/integration-artifacts/file/ftp-sftp.md

Comment thread en/docs/develop/integration-artifacts/file/ftp-sftp.md Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
en/docs/develop/integration-artifacts/file/ftp-sftp.md (1)

224-224: 💤 Low value

Consider aligning the authentication step wording with FTP/FTPS pattern.

The SFTP authentication step reads "Choose Certificate-Based Authentication under authentication method" which directly instructs the user to select a specific option. In contrast, the FTP (line 42) and FTPS (line 134) sections use "Choose an authentication method:" followed by a table showing available options.

While the Visual Designer may only expose certificate-based authentication for SFTP (with password auth requiring the Ballerina Code tab per line 206), consider rewording for consistency:

4. The **authentication method** is set to **Certificate-Based Authentication**. This reveals the **Private Key** and **Username** fields.

Or maintain the existing pattern but clarify it's the default/only UI option:

4. For **authentication method**, the Visual Designer uses **Certificate-Based Authentication**. This reveals the **Private Key** and **Username** fields.

This minor adjustment would align the presentation style across all three protocol walkthroughs.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@en/docs/develop/integration-artifacts/file/ftp-sftp.md` at line 224, Edit the
SFTP authentication step text so it matches the wording pattern used for
FTP/FTPS: replace "Choose **Certificate-Based Authentication** under
**authentication method**. This reveals the **Private Key** and **Username**
fields." with a phrasing like "The **authentication method** is set to
**Certificate-Based Authentication**. This reveals the **Private Key** and
**Username** fields." or "For **authentication method**, the Visual Designer
uses **Certificate-Based Authentication**. This reveals the **Private Key** and
**Username** fields." to maintain consistent presentation across FTP/FTPS/SFTP
sections.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@en/docs/develop/integration-artifacts/file/ftp-sftp.md`:
- Line 36: Replace the plural phrase "Types of protocol" with the singular "Type
of protocol" in the three table cells that describe the protocol selection
(currently reading "Types of protocol") so each listener correctly states one
protocol type; update the occurrences in the FTP, FTPS and SFTP sections by
finding the table cell text "Types of protocol" and changing it to "Type of
protocol".

---

Nitpick comments:
In `@en/docs/develop/integration-artifacts/file/ftp-sftp.md`:
- Line 224: Edit the SFTP authentication step text so it matches the wording
pattern used for FTP/FTPS: replace "Choose **Certificate-Based Authentication**
under **authentication method**. This reveals the **Private Key** and
**Username** fields." with a phrasing like "The **authentication method** is set
to **Certificate-Based Authentication**. This reveals the **Private Key** and
**Username** fields." or "For **authentication method**, the Visual Designer
uses **Certificate-Based Authentication**. This reveals the **Private Key** and
**Username** fields." to maintain consistent presentation across FTP/FTPS/SFTP
sections.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 310484d8-1b46-41bb-80d3-7f7c09f4baa1

📥 Commits

Reviewing files that changed from the base of the PR and between 1fc4ade and 07f263a.

📒 Files selected for processing (1)
  • en/docs/develop/integration-artifacts/file/ftp-sftp.md

Comment thread en/docs/develop/integration-artifacts/file/ftp-sftp.md
@KavinduZoysa KavinduZoysa requested a review from Nuvindu May 27, 2026 07:28
# CSV Fault Tolerance

Real-world CSV files rarely arrive perfectly clean. A single bad row (a stray comma, a wrong data type, a trailing blank) would normally fail the whole file. With **CSV fault tolerance** enabled, the listener treats malformed rows as a per-row issue instead of a per-file one. It skips rows that don't fit your schema and hands the rest to the handler as if nothing happened.
Real-world CSV files rarely arrive perfectly clean. A single bad row (a stray comma, a wrong data type, a trailing blank) would normally fail the whole file. With **Csv Fail Safe** enabled, the listener treats malformed rows as a per-row issue instead of a per-file one. It skips rows that don't fit your schema and hands the rest to the handler as if nothing happened.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be CSV Fail Safe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants