Asked By sapienscripter
03-Jul-08 02:54 PM
the PowerShell parser sees the -s and tries to parse it as a PowerShell
parameter when it really isnt'. Use my fix to get around this. Another
alternative is to use the free FTP com object from SAPIEN ('SAPIEN
Technologies, Inc. - VBScript Editor, PowerShell Editor, ASP Editor,
ActionScript Editor, PHP Editor, and more.'
(http://www.primalscript.com/Free_Tools/index.asp)). Shay has some nice
PowerShell functions also ready to go for this at '$cript Fanatic: FTP
transfers automation'
(http://scriptolog.blogspot.com/2007/09/ftp-transfers-automation.html).
--
sapienscripter
Coming Soon: -'Managing Active Directory with Windows PowerShell: TFM'
(http://www.sapienpress.com/ad.asp)-
'[image: http://www.scriptinganswers.com/_images/logo_mvp.gif]'
(http://www.scriptinganswers.com/_images/logo_mvp.gif)
'My Blog' (http://blog.sapien.com/)
'FollowMe on Twitter' (http://www.twitter.com/JeffHicks) :cool: