Already in there...
code:
; Method FTP($RemoteServer, $Account, $Password, $Mode, $LocalDir, $RemoteDir, $Action, $Filename)
; $Mode -> [ascii|binary]
; $Action -> [get|put|size]
;
; Performs the specified FTP operation.
; Be sure to double the "@" in the password or email address if used for anonymous logons.

$RemoteServer = 'server.xyz.com'
$Account = 'user1'
$Password = 'password'
$Mode = 'ascii'
$LocalDir = 'c:\data'
$RemoteDir = ''
$Action = 'get'
$Filename = 'file.txt'

if $Win32Admin.FTP( $RemoteServer, $Account, $Password, $Mode, $LocalDir, $RemoteDir, $Action, $Filename)
? ? "FTP successful"
?
else
? ? "FTP Failed! @serror"
?
endif

_________________________
Home page: http://www.kixhelp.com/hb/