I'm having a bit of a strange problem that I hope you guys can help me with.
I've produced a powershell script, which contacts an ftp server, deletes files based on one mask before downloading based on another.
The connection is made and my script deletes successfully, but when it comes to downloading I get "No such file or directory."
The relevant line reads
$downloadResult = $session.GetFiles(($remotePath + "ftpPINVOI*.*"), $localPath, $True, $transferOptions)
Timestamp and number are just digits, nothing more.
WinServer 2008 R2