How can I download files from one server to another directly?

I have generated SQL files from database tables hosted at my site directory example.com/web/uploads/table.sql. I want to download these tables one by one directly to my NEW server.

I don't want to download files to my local computer and then manually upload to new server.

A friend suggested to use SSH and wget function. So i tried

wget example.com/web/uploads/table.sql

I donn't know where the file went.

1 answer