ED64 icon indicating copy to clipboard operation
ED64 copied to clipboard

Add file transfers in `usb64`

Open networkfusion opened this issue 3 years ago • 2 comments

Description

Adds file transfer option available in OS 3.07.

Notes (this emulates the same functionality as the latest (non sourcecode release at krikzz.com).:

  • Cannot handle spaces in paths
  • Cannot recognise the OS version over USB, so may fail on earlier OS releases.
  • Does not seem to handle "file Artibutes" correctly.

!!! Removes .Net 4.0 target (commented out) as hard to work with in VS2022.

Related Issue

Given this a PR, does not integrate others in this repo, which should be merged independently, although this is actually building on the https://github.com/krikzz/ED64/pull/19 one.

These are related, but not included!!! https://github.com/krikzz/ED64/pull/21 https://github.com/krikzz/ED64/pull/24

Motivation and Context

I really wanted the ability to send and receive files over USB!

How Has This Been Tested?

locally on an X7 using Properties/launchSettings.json with the parameters

{
  "profiles": {
    "usb64": {
      "commandName": "Project",
      "commandLineArgs": "-cp testfile.txt sd:testfile1.txt"
    }
  }
}

and

{
  "profiles": {
    "usb64": {
      "commandName": "Project",
      "commandLineArgs": "-cp sd:testfile1.txt testfile2.txt"
    }
  }
}

Screenshots (if appropriate):

networkfusion avatar Jul 22 '22 15:07 networkfusion

image

There is some TODO's but the code is now working.

Of note, the file is reported as an Archive...

networkfusion avatar Jul 22 '22 18:07 networkfusion

No more changes will be made to this branch / PR until a review.

networkfusion avatar Jul 22 '22 21:07 networkfusion