Open williamknows opened 3 years ago
Unfortunately it won't work as a job. The native BOF runtime is long gone when you start a job so you can't use any of the BOF APIs. It works for console output because it's cached and is only spewed out during a call to bofnet_jobstatus. I should put guard rails in place to prevent these undocumented extensions from working in a job.
Hey,
Really appreciate the effort that's gone into supporting the undocumented BOF functionality.
I've run into an issue with
DownloadFile()
. It appears to work fine withbofnet_execute
but throws aNullReferenceException
error withbofnet_job
. This may be down to the way I'm using it. If so, would appreciate some code samples on usage if you have the time.Test Code
Output