Skip to content

fly sftp find can not be aborted #4657

@abitrolly

Description

@abitrolly

Describe the bug
Pressing Ctrl-C while running sftp find has to effect.

fly sftp find
  • Operating system: Linux
  • fly version: flyctl v0.3.209 linux/amd64 Commit: 9383e01 BuildDate: 2025-11-06T10:29:04Z

Possible fix

Add Ctrl-C handler here:

walker := ftp.Walk(root)
for walker.Step() {
if err = walker.Err(); err != nil {
return err
}
fmt.Println(walker.Path())
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions