I'm working in a Reinforcement Learning Model, using TensorFlow. 
Since the algorithm is training online, I wish to save the model to a file after the backtest period is end.

I'm using the following code to save the model after a training epoch is finished:

saver = tf.train.Saver() with tf.Session() as sess: ### Some training code ### save_path = saver.save(sess, "/tmp/model.ckpt")

So, finally, I save the model in the "tmp" folder.

Now, my question is: How can I download this file from the server? 

And, even more important, how can I upload another file to the same server?


Thanks a lot for your help.