I have a weird issue.
Perhaps it's simply because the TCP/IP Stack is returning $CRLF in my string.
I call for the username (My app is an FTP server, rfc compliant etc)...
g_IncomingUser is then filled with say "tngbbs"
So I say:
buffer = "331 password required for " + g_InComingUser
And this is required otherwise, a $CRLF is appended on g_IncomingUser:
buffer = Remove$(buffer,Chr$(13))
buffer = Remove$(buffer,Chr$(10))
Tcp Print gSock(i),buffer
Am I to assume this is because the FTP client appended it and I have to strip it off? I suspect so...
Scott
-------------
Scott
mailto:[email protected][email protected]</A>
Perhaps it's simply because the TCP/IP Stack is returning $CRLF in my string.
I call for the username (My app is an FTP server, rfc compliant etc)...
g_IncomingUser is then filled with say "tngbbs"
So I say:
buffer = "331 password required for " + g_InComingUser
And this is required otherwise, a $CRLF is appended on g_IncomingUser:
buffer = Remove$(buffer,Chr$(13))
buffer = Remove$(buffer,Chr$(10))
Tcp Print gSock(i),buffer
Am I to assume this is because the FTP client appended it and I have to strip it off? I suspect so...
Scott
-------------
Scott
mailto:[email protected][email protected]</A>
Comment