Skip to content

feat: add recursive file transfer support for upload/download commands#4

Merged
inureyes merged 8 commits intomainfrom
feature/advanced-file-handle
Aug 22, 2025
Merged

feat: add recursive file transfer support for upload/download commands#4
inureyes merged 8 commits intomainfrom
feature/advanced-file-handle

Conversation

@inureyes
Copy link
Copy Markdown
Member

Summary

  • Add --recursive flag to upload and download commands for directory transfers
  • Implement directory tree walking and structure preservation
  • Update to Rust 2024 edition for improved language features

Changes

  • Recursive Upload: Upload entire directories while preserving structure
  • Recursive Download: Download entire directories from remote hosts
  • Directory Walking: Implement helper functions for recursive file discovery
  • Rust 2024 Edition: Upgrade from 2021 to 2024 edition

Test Plan

  • Test recursive upload of directories
  • Test recursive download of directories
  • Verify directory structure preservation
  • Test glob patterns with recursive flag
  • Ensure backward compatibility for non-recursive operations

@inureyes inureyes added the type:enhancement New feature or request label Aug 21, 2025
@inureyes inureyes self-assigned this Aug 21, 2025
- Refactor upload_file and download_file to use FileTransferParams struct to reduce arguments
- Fix needless_borrow issues by removing unnecessary references
- Update format! macros to use inline variable syntax
- Replace map_or with is_ok_and for cleaner code
- Remove needless_borrows_for_generic_args
@inureyes inureyes merged commit 071f9a1 into main Aug 22, 2025
1 of 2 checks passed
@inureyes inureyes added priority:medium Medium priority issue status:done Completed feature labels Sep 9, 2025
@inureyes inureyes deleted the feature/advanced-file-handle branch October 30, 2025 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:medium Medium priority issue status:done Completed type:enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant