Search found 5 matches

by beernutz
Thu Jan 29, 2004 10:03 pm
Forum: Coding Questions
Topic: how to tell when an ftp server is done sending text
Replies: 1
Views: 949

DOH.. found the answer.

ok, this was definately a case of READ THE F****** RFP! lol

from http://www.w3.org/Protocols/rfc959/4_FileTransfer.html



Thus the format for multi-line replies is that the first line
will begin with the exact required reply code, followed
immediately by a Hyphen, "-" (also known as Minus ...
by beernutz
Thu Jan 29, 2004 9:43 pm
Forum: Coding Questions
Topic: how to tell when an ftp server is done sending text
Replies: 1
Views: 949

how to tell when an ftp server is done sending text

I am reposting this here in hopes of finding an answer:

Here is a routine i wrote and am using to get text data (the response from an ftp server to a custom command) from an ftp server. Currently i have to have the delay set higher if i am connecting to a slower site.

More succinctly here is the ...
by beernutz
Thu Jan 29, 2004 8:29 pm
Forum: General Discussion
Topic: how to tell if ReceiveNetworkData is done
Replies: 3
Views: 1546

DOH! Found the answer

ok, this was definately a case of READ THE F****** RFC! lol

from http://www.w3.org/Protocols/rfc959/4_FileTransfer.html



Thus the format for multi-line replies is that the first line
will begin with the exact required reply code, followed
immediately by a Hyphen, "-" (also known as Minus ...
by beernutz
Wed Jan 28, 2004 9:33 pm
Forum: General Discussion
Topic: how to tell if ReceiveNetworkData is done
Replies: 3
Views: 1546

example code to illustrate the problem

Here is a routine i wrote and am using to get data. currently i have to have the delay set higher if i am connecting to a slower site.

More succinctly here is the issue:

Ftp programs know when a server is done sending text to it over the command channel (port) somehow. I am not aware of how to ...
by beernutz
Tue Jan 27, 2004 10:02 pm
Forum: General Discussion
Topic: how to tell if ReceiveNetworkData is done
Replies: 3
Views: 1546

how to tell if ReceiveNetworkData is done

As the title implies i am trying to figure out a good way to tell when ReceiveNetworkData is done transmitting data.

I am basically sending a custom site command to an FTP server then waiting for a response. Since the reponses can be large, they are often split up overal several calls to ...