CheckDir() Method

See Also

FtpDLX Class  | FtpDLX Members  | Overload List

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

JScript

Show All

See Also Requirements Languages WeOnlyDo.Client.FTP Send comments on this topic.

CheckDir() Method

Checks if remote dir exists.

[Visual Basic]
Overloads Public Sub CheckDir()
[C#]
public void CheckDir();
[JScript]
public function CheckDir();

Remarks

This method tests if directory specified in RemotePath argument (or in RemotePath property) exists. Since wodFtpDLX.NET does not allow you to change directory using any commands (but, rather, always requires full paths in LocalPath and RemotePath properties), this method helps you to determine if given directory exists - for whatever purpose. If error occurs, CheckDir will throw the exception. Done event will be fired with detailed exception information.

Do not forget that RemotePath should always specify full absolute path (i.e. /home/joe/something) instead of relative path (i.e. joe/something).

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

FtpDLX Class  | FtpDLX Members  | Overload List

 

 


© WeOnlyDo Software. All Rights Reserved.