Re: (General questions)
Hi,
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.
No matter what's current setting for Blocking property, this method will NEVER block. This makes sense - because it cannot know what you're sending and what to expect as an answer. No matter what reply is received by the server, wodFtpDLX will silently ignore it. If you want to check server's reply, you should check what it returns using FTPReply event.
Regards,
Alan
Complete thread:
- REN / SITE chmod commands possible? - condev1972, 2006-05-15, 15:50