I'm writing a bash script which automates the downloading of files from an FTP server depending on certain conditions.
For testing I need to be able to connect to an FTP server, list the files there, upload and download the files. I tried searching for public FTP servers which would let me connect to them using sftp command but to no avail.
Is there a lightweight FTP server that I can install on my own computer, and connect to it through the command line as if it were a real world scenario?
Kindly keep in mind before answering that I haven't installed any FTP server before, so I would really appreciate a detailed answer.