I'm trying to construct an FTP client which works "in the background", as it logs in, retrieves a certain HTML file, changes it contents and puts it back. Any way, I have put the wsCommand.SendData in the Form_Load() but after running it complains with the message "Run-time error '40006', wrong protocol or connection state for the requested transaction or request". However, same set of commands work superbly when I test them from my "console" which is simply a TextBox control, and which submits the commands when I press Enter.
So what is your suggestion? Quick answers highly appreciated.