ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
Sankalp has joined #crystal-lang
troglodito has quit [Ping timeout: 248 seconds]
troglodito has joined #crystal-lang
troglodito has quit [Ping timeout: 240 seconds]
troglodito has joined #crystal-lang
_whitelogger has joined #crystal-lang
_ht has joined #crystal-lang
dostoyevsky2 has quit [Quit: leaving]
dostoyevsky2 has joined #crystal-lang
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #crystal-lang
hightower2 has joined #crystal-lang
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #crystal-lang
Sankalp has quit [Ping timeout: 255 seconds]
hightower2 has quit [Ping timeout: 240 seconds]
hightower2 has joined #crystal-lang
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #crystal-lang
_ht has quit [Quit: _ht]
alexherbo2 has quit [Remote host closed the connection]
greenbigfrog has quit [Ping timeout: 255 seconds]
greenbigfrog has joined #crystal-lang
<tprepper> oh, I mean that it would be downloading a remote file and store it on the server the application is running. it doesn't return it to the the client, but it would probably take a while if the file is large and that would make the request take a long time
<tprepper> Blacksmoke16Geor:
troglodito has quit [Ping timeout: 240 seconds]
<tprepper> the server application would be downloading the file, not the client
<tprepper> client just requests that it be downloaded
<Blacksmoke16Geor> Ahh gotcha.
<Blacksmoke16Geor> In that case could create a service that stores an array of records representing the files that need downloaded. Inject it into your controller, push a file to it, return 201 accepted. Then define a terminate listener that also injects that same service, and iterates over the records to do the download
<Blacksmoke16Geor> Feel like that would be a bit better of a solution
troglodito has joined #crystal-lang
<Blacksmoke16Geor> Tho depending on the use case, a console command you can run to download it would be better? If it's more like an admin api or something?