Hi Laserpp,
I'm not familiar with powershell but instead of ftp you can use sftp.
Grab Putty for windows, http://tartarus.org/~simon/putty-snapshots/x86/putty-installer.exe
Put the installed directory in system $path or link your script directly to the sftp.exe file.
For the script it is...