|
-
Oct 28th, 2000, 11:01 AM
#1
Thread Starter
New Member
I am trying to create a simple ftp client using the winsock control. I am unable to find a way to detect when a server message (of multiple lines) is finished sending.
for example when you login to ftp.microsoft.com:
220 cpmsftftpa03 Microsoft FTP Service (Version 5.0).
USER anonymous
331 Anonymous access allowed, send identity (e-mail name) as password.
PASS [email protected]
230-This is FTP.MICROSOFT.COM. Please see the
230-dirmap.txt for more information.
230 Anonymous user logged in.
how would i detect that the 3rd line is the last 230 being sent? (The number and message is different for every server)
Please Help!
thanks
-
Oct 30th, 2000, 08:19 AM
#2
The last one is the one without the -
230-This is FTP.MICROSOFT.COM. Please see the
230-dirmap.txt for more information.
230 Anonymous user logged in.
-
Oct 30th, 2000, 04:57 PM
#3
Fanatic Member
Well you don't have to check when the last line has been sent, all you can do is a DoEvents or a DoWhile Loop or even the Do Until routine between each operation and it should fix any Still Executing last request error that i think you are getting.
If you need any further help just shout.
Gl,
D!m
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|