# Function Reference

# _FTP_DirSetCurrent

Set Current Directory on an FTP server

#include <FTPEx.au3>
_FTP_DirSetCurrent ( $hFTPSession, $sRemote )

## Parameters

$hFTPSession | as returned by _FTP_Connect().
$sRemote | The Directory to be set.

## Return Value

Success: | 1.
Failure: | 0 and sets the @error flag to non-zero.

## Related

_FTP_Connect

## See Also

Search FtpSetCurrentDirectory in MSDN Library.