SmartGet Property

See Also

FtpDLX Class  | FtpDLX Members

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.

SmartGet Property

Determines if wodFtpDLX.NET should try to determine remote filename on GetFile command.

[Visual Basic]
Public Property SmartGet As Boolean
[C#]
public bool SmartGet {get; set;}
[JScript]
public function get,set SmartGet : boolean

Remarks

wodFtpDLX.NET tries to be smart when you call GetFile method. It tries to determine which filename are you trying to download, and where it should be put. It will query remote server if supplied RemotePath in GetFile call is a directory or a file, in order to determine what to download. This is a nice thing - it allows you specify whatever you wish in LocalPath and RemotePath arguments, but usually causes wodFtpDLX.NET to send one additional CWD before download file from the server. Some administrators and users prefer not to see that command in logs.

In such cases you can set SmartGet to False, in which case wodFtpDLX.NET will assume you have specified full path (including file names) in both LocalPath and RemotePath arguments in GetFile call. If you specify only folder(s), GetFile will fail.

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

 

 


© WeOnlyDo Software. All Rights Reserved.