I am using thrift and I have a java client and server. I am calling some functions on the server from the client and that part is already working. After calling the functions, I have an output file created in the machine where the server is running. I need to return this file to the client. How can I accomplish this? Should I use TFileTransfer? If not, is there a better way to get the data back?
In a sense, I need to create a client within the server..
I am new to Thrift and any help will be appreciated.