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
);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.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
FtpDLX Class | FtpDLX Members | Overload List
© WeOnlyDo Software. All Rights Reserved.