Do you have the requirement to transfer file from Windows to Linux?
Do you want your script get this job done automatically, maybe you prefer Powershell.
As for as i know Powershell doesn't support FTP function by default module, but i know someone already implemented this module and put it on internet.
Unfortunately, in this article I will introduce the basic solution here(using Powershell script to invoke FTP command file)
Basically you just need the one line command for Powershell:
ftp -v -d -s:c:\FTPCommands.ftp
And then, create your FTP command file( FTPCommands.ftp) and put below CMDs inside of it.
ftp
open "server IP"
username
password
binary
hash
prompt n
cd /home/ftp_folder
mput "c:\test.txt" "c:\restore.cfg"
bye
OK, you're done!