Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying the destination path #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

igor-stoppa
Copy link

When uploading files, it can be convenient to have a directory
structure and to be able to specify where a file should go.

Signed-off-by: Igor Stoppa [email protected]

When uploading files, it can be convenient to have a directory
structure and to be able to specify where a file should go.

Signed-off-by: Igor Stoppa <[email protected]>
@cwalther
Copy link

I once implemented the same thing, but then didn’t submit it because I discovered that it’s not needed: The HTML client transfers files with a relative path, which means they go to the current directory on the board and you can use os.chdir() on the REPL to set that.

(Although I’m not sure whether to consider that a bug or a feature – it might clash with a running program having its own requirements on the CWD, and you can’t change it while a program is running.)

@laky55555
Copy link

Thank you Igor for this tweak. It is very useful for me when uploading straight to SD card which is mounted to esp.
Would be nice to have it merged into master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants