I have a small problem when using Catalyst FTP control. I upload a file to a server using the following sequence:
Ftp.Action=1 to connect
Ftp.Action=6 to send the file
If I don't have the write priviledge on the server, an error will be put in LastError
I then detect the error and do Ftp.Action=4 to disconnect
The problem is if I try again, the system will always block in the
Ftp.Action=1. I would have expected that it would have gne until the Ftp.Action=6 and return the same error.
After the initial error, I tried Ftp.Action=12, Ftp.Action=19 and
Ftp.Action=11 and none of those action really reset the connection with the server. What can I do to really reset the connection with the server?