I'd like to export /path/to/api.trace
(the result of a GPU trace, which is in some weird format) to the Wolfram cloud (so that someone else can download it and inspect on their machine). I've tried importing it as
Import[File["/path/to/api.trace"]]
Import[File["/path/to/api.trace"], "Text"]
but both fail to work. I either get
ToExpression::sntx:
Invalid syntax in or before "
Import::infer: Cannot infer format of file api.trace.".
or
$Failed
Ultimately my goal is to feed it to
CopyFile[apiTrace, CloudObject["api.trace"]] (* Will this be downloadable? *)
How to get around this?
Comments
Post a Comment