Function Reference


_FTP_DirPutContents

Puts an folder on an FTP server. Recursivley if selected.

#include <FTPEx.au3>
_FTP_DirPutContents($l_InternetSession, $s_LocalFolder, $s_RemoteFolder, $b_RecursivePut [, $l_Context])

Parameters

$l_InternetSession as returned by _FTP_Connect().
$s_LocalFolder The local folder i.e. "c:\temp".
$s_RemoteFolder The remote folder i.e. '/website/home'.
$b_RecursivePut Recurse through sub-dirs. 0=Non recursive, 1=Recursive
$l_Context [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.

Return Value

Success: Directory Name
Failure: 0 and sets @ERROR

Remarks

None.

Related

_FTP_Connect, _FTP_SetStatusCallback