Reputation: 40484
I would like to download a file via Curl. I however do not have the entire URL, I am however connected via SSH to the directory with the file. How does one do this?
Upvotes: 1
Views: 369
Reputation: 8611
Try using scp, it stands for secore copy. You can use the same credentials as for you ssh login plus the path to the file.
scp username@host:folder/file.bsp /local/folder
Upvotes: 1