When I'm uploading files to an FTP server running Unix (which I don't have any control over) I repeatedly get:
System.Net.WebException: The remote server returned an error: (500) Syntax error, command unrecognized.
at System.Net.FtpWebRequest.SyncRequestCallback(Object obj)
at System.Net.FtpWebRequest.RequestCallback(Object obj)
at System.Net.CommandStream.Abort(Exception e)
at System.Net.FtpWebRequest.FinishRequestStage(RequestStage stage)
at System.Net.FtpWebRequest.GetRequestStream()
This happens slightly more often than once in a minute. I eventually *do* get all files through since I have extensive error recovery, but it is very annoying and also degrades performance.
Now we have tracked down the "unrecognized" command to be "USER ...", which apparently the .NET FTP Lib sends while still being logged in!
For some reason the FTP Lib seems to think that the connection is not alive anymore, while the FTP server think it is. Any ideas what I can do to solve this issue
Thnx,
Dan

Yet another .KeepAlive question
Chardiot
Is the server reachable over internet If so can you send us the repro code
D u rg apr as a d.Gorti######@microso#####ft.com is the address to send it to
Moridi
It seems as the answer can be found here:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=417596&SiteID=1
D
stallion_alpa
As I said, we have no control over this server, but I've sent an inquiry if it's possible to get a test account.
Stay tuned! :-)
D