9 years, 8 months ago.

Upload zip file

Thanks for the workaround info on how to upload a plain text file.

Now I'm trying to import a zip file with upload. When I do so, I get an Import Error message saying the 'file /s16math-0.13-eval" contains invalid characters.' (There's actually a ".zip" as the last part of the file name.) The full path name is actually "/home/bryan/projects/math/s16math/ship/s16math-0.13-eval.zip". This happens regardless of whether I click on "Program" or "Library".

Any tips?

Thanks,

1 Answer

9 years, 8 months ago.

Guess the '.' in the file name is considered illegal by the mbed compiler.

Thanks for the response. Pretty quick turnaround.

Well, I renamed the file by changing the '.' in the middle of the name to '_'. It did the upload, but unzipped it as well, and coughed on several of the files contained therein. What I wanted was to upload it and keep it as a zip file.

Question -> suggestion -> editorial: Would it make things simpler if the upload process just put what was being uploaded where it was wanted and omit the "eager" classification of what should be done about it? Figuring out what to do with it could then be done using a "lazy" scheme. For example, invoking GNU make with a target of ".c.o:' causes make to collect plausible candidates for compilation when it is run, instead of relying on a pre- classified list. Just a thought.

posted by Bryan Batten 31 Aug 2014