March 2011 Entries

Powershell FTP

I've been looking for a replacement for my powershell script used to ftp files. It currently uses the Windows ftp.exe application with a command file. Well the script has been causing problems and files have been truncated or lost. I decided to look into a replacement. I tried ftpwebrequest but when moving multiple files the login happens over and over. I found Alex FTPS Client on codeplex at http://ftps.codeplex.com/ Seems to do what I needed. Here is a Powershell script to use it to connect, list ......