Puts an folder on an FTP server. Recursivley if selected
#include <FTPEx.au3>
_FTP_DirPutContents ( $hFTPSession, $sLocalFolder, $sRemoteFolder, $bRecursivePut [, $iContext = 0] )
$hFTPSession | as returned by _FTP_Connect(). |
$sLocalFolder | The local folder i.e. "c:\temp". |
$sRemoteFolder | The remote folder i.e. '/website/home'. |
$bRecursivePut | Recurse through sub-dirs. 0=Non recursive, 1=Recursive |
$iContext | [optional] A variable that contains the application-defined value that associates this search with any application data. This is only used if the application has already called _FTP_SetStatusCallback() to set up a status callback function. |
Success: | 1. |
Failure: | 0 and sets the @error flag to non-zero. |