croc icon indicating copy to clipboard operation
croc copied to clipboard

"Did you mean to send" blank on Windows when sending folders

Open TheFiZi opened this issue 3 years ago • 2 comments

Describe the bug

When sending a directory via PowerShell 7.x on Windows 11 the name of the file being sent is blank:

PS D:\> croc --pass MYPASS --relay "MYRELAY:9009" '.\MYFOLDER\'
Did you mean to send ''? (Y/n) y
Sending 103 files and 1 folders (17.3 GB)

To Reproduce

Steps to reproduce the behavior:

  1. Send a directory via croc --pass MYPASS --relay "MYRELAY:9009" '.\MYFOLDER\'

Expected behaviour

Output should probably be: Did you mean to send '.\MYFOLDER\*'? (Y/n)

Version

v9.6.1-b27982a

Additional context

TheFiZi avatar Oct 21 '22 23:10 TheFiZi

Would accept a PR for this.

schollz avatar Oct 22 '22 13:10 schollz

Stale issue message

github-actions[bot] avatar Feb 19 '24 12:02 github-actions[bot]