To set up an SFTP server you install an SSH server, create a dedicated user, restrict that user to a directory (chroot), and open port 22 to the clients that need it. On Linux that is OpenSSH, on Windows it is the optional OpenSSH Server feature, and a managed service is an option if you would rather not run one.
If you only need somewhere to point a client or an integration while testing, you do not need to set anything up - a free temporary SFTP server takes a second to create and deletes itself afterwards.
Build a real server when you need a permanent endpoint: partners delivering files on a schedule, a system of record dropping exports nightly, or anything that must still exist tomorrow.
Password authentication is the most common way an SFTP server is compromised, because it can be attacked continuously from anywhere. Prefer SSH keys, and disable password authentication once every client has one.
Port 22 is scanned constantly. Restrict inbound access to the addresses your partners actually connect from, and log authentication failures so you notice a sustained attempt.
Effectively yes - SFTP runs as a subsystem of SSH, so installing an SSH server gives you SFTP. What differs is how you configure users: an SFTP-only user is given no shell and is chrooted to a directory.
Clients need a stable address to connect to, so either a static IP or a DNS name that follows a changing one. Without that, every address change breaks every client.
Yes. A free temporary SFTP server gives you a host, port and credentials instantly and deletes itself after an hour, which is enough to test a client or an integration.
Try the free online SFTP client — connect to any SFTP server from your browser, no install required.