Hi MotionlessSeagull22 ,
You can upload files as artifacts withtask.upload_artifact('text file', artifact_object=<path to your file>)
You can find more artifacts examples in https://github.com/allegroai/trains/blob/master/examples/reporting/artifacts.py
TimelyPenguin76 I got the following error
2020-08-25 14:44:45,945 - trains.metrics - WARNING - Failed uploading to http://sgsccccdl0101:8081 (Failed uploading object sgsccccdl0101:8081/OMS-MAX/R12.0.1_RSE_scratch.ff035f5cb55648e19bb162b0cb6a99f6/artifacts/DAILIB_GIT_DIFF.TXT/DAILib_git_diff.txt (405): <html>
<head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <title>Error 405 HTTP method POST is not supported by this URL</title> </head> <body><h2>HTTP ERROR 405</h2> <p>Problem accessing /. Reason: <pre> HTTP method POST is not supported by this URL</pre></p><hr><a href=" http://eclipse.org/jetty ">Powered by Jetty:// 9.3.z-SNAPSHOT</a><hr/>
</body> </html> )
MotionlessSeagull22 it seems the request does not reach the Trains File Server (which should be on port 8081 on the same machine running Trains Server) but so a Jetty HTTP server (which is not related to Trains)... Perhaps you have some kind of redirection or the 8081 port is already taken by Jetty?