RawSend(String) 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

RemotePath
Full path to directory on remote server that should be removed.
See Also Requirements Languages WeOnlyDo.Client.FTP Send comments on this topic.

RawSend(String) Method

Sends raw data to the server.

[Visual Basic]
Public Sub RawSend( _    ByVal Data As String _ )
[C#]
public void RawSend(    string Data );
[JScript]
public function RawSend(    Data : String );

Parameters

Data
Any command or data to be sent to FTP server.

Remarks

RawSend method can be used only with FTP style protocol - FTP and FTPS. It can be used to 'inject' specific command or data anytime during session lifetime, to override or adjust behavior of wodFtpDLX. For example, you can get current path on the server just by issuing PWD command.

Make sure you always use vbCrLf (13+10) sequence after you send data - so that server knows it's actually a command you want to execute. If you don't send it, server will not act on your command, and will wait more data to arrive.

After this command is executed, Done event will fire. It will *always* have Args.Error to reply code returned from the server, and Args.Description with replied text received from the server. You can also check what this method returns through FTPReplyEvent event.

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.