Shell Fallback (cat/dd/base64)

This plugin includes shell-based transfer strategies for servers where SFTP/SCP are restricted or unreliable.

Why this matters

Implemented paths

Commands used

The plugin uses standard Unix commands:

When to enable

Transfer methods

Method 1: Raw cat

Download: cat /remote/file.txt
Upload:   cat > /remote/file.txt

Fast, no encoding overhead. Best for simple cases.

Method 2: dd with blocks

Download: dd if=/remote/file.txt bs=16384 skip=N
Upload:   dd of=/remote/file.txt bs=16384 seek=N conv=notrunc

Precise offset control for resume operations.

Method 3: Base64 encoding

Download: base64 -w 0 /remote/file.txt
Upload:   base64 -d > /remote/file.txt

Most robust - works through any text-only channel. 33% size overhead.

Performance considerations

Security notes

Note: Shell fallback prioritizes compatibility over terminal semantics. Some interactive features may not work.

See also

Back to index