A PowerShell script to send files through ftp.
###########################
# author : shebangthedolphins.net
# version : 1.0
# date : 2018.08
# role : Send FTP files
# other :
# - Tested on Windows 2016 Server
# - Need to copy pscp.exe (https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html) to C:\Program Files (x86)\PSCP\
# updates :
# - 1.X (x/x/xxxx) :
& 'C:\Program Files (x86)\PSCP\pscp.exe' -hostkey af:a5:fa:4f:f3:af:f8:0d:85:4e:02:df:dd:76:6c:4a -batch -sftp -P 22 -pw FTPpassword \\source\files.csv FTPlogin@ftpserver:/dst/
Contact :