RoboSetWorkingDir        Method to set the current working directory

<< Click to Display Table of Contents >>

Navigation:  Robo-FTP User's Guide > Using Robo-FTP > Using COM/OLE to Control Robo-FTP > COM Methods >

RoboSetWorkingDir        Method to set the current working directory

Overview

Method to set the current working directory. This command does the same thing as the WORKINGDIR command except that even if your session is non-blocking this command will block.

 

C++ Definition

void RoboSetWorkingDir( _bstr_t strWorkingDir )

 

VB Definition

RoboSetWorkingDir( strWorkingDir As String ) As Void

 

C# Definition

void RoboSetWorkingDir( String strWorkingDir )

 

VB.NET Definition

RoboSetWorkingDir( strWorkingDir As String ) As Void

 

Throws an exception on failure such as no session started or invalid working directory.