runpodctl icon indicating copy to clipboard operation
runpodctl copied to clipboard

Sending folders does not work on Windows

Open achanin00 opened this issue 2 years ago • 2 comments

Instead of recreating the folder structure in the pod, runprodctl creates a bund of individual files with names like "

<filename>" (notice that \ is not a folder seperator on linux).

The same functionality works fine when sending from linux. Does not work in Windows.

2023-06-13_18h21_45

achanin00 avatar Jun 13 '23 22:06 achanin00

Can confirm sending folders is broken on windows. I have to zip them first, then use runpodctl to send the zip. Else it loses all folder structure,

Frederik-Frydenberg avatar Aug 04 '23 23:08 Frederik-Frydenberg

It fails on Windows due to packaging with \ in the path. There are also other idiosyncracies--- e.g. runpodctl send . creating a ..zip, and I think Windows can't receive folder from runpod.

.zip files explicitly forbid using \ in paths. See 4.4.17.1 of https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT

It's fixed in upstream dependency already: https://github.com/schollz/croc/pull/589

zlstringham avatar Aug 29 '23 21:08 zlstringham