cancel
Showing results for 
Search instead for 
Did you mean: 

How to get json file from ftp to KDB?

kc3031
New Contributor
Greetings,

Is there a way to connect KDB with FTP with username and password and retrieve data back to KDB?

I tried: system "curl ftp://username:password@xxx/path/to/.csv" but it failed.

Any help would be greatly appreciated!

Best,
Kelly
1 REPLY 1

Alexander_Belop
New Contributor
It works for me:

q)system"curl -s ftp://ftp:x@rtfm.mit.edu/pub/arpaprob.txt"
"Date: Wed 1 Oct 86 12:41:40-EDT"
"From: Dennis G. Perry <PERRY@VAX.DARPA.MIL>"
"Subject: Congestion in the Arpanet"
..

Check that your curl command works at the shell prompt.