Ryan McFarren

Does anyone know which FTP commands are supported by the MS FTP server I've been working on my own server (to handle dynamic user/password) and have a requirement that it shall be equivalent to the MS FTP server. I'm having a hard time determining what that is (without exhaustively trying each command of course).

/* From the RFC 959 document:

5.3.1. FTP COMMANDS

The following are the FTP commands:

USER <SP> <username> <CRLF>

PASS <SP> <password> <CRLF>

ACCT <SP> <account-information> <CRLF>

CWD <SP> <pathname> <CRLF>

CDUP <CRLF>

SMNT <SP> <pathname> <CRLF>

QUIT <CRLF>

REIN <CRLF>

PORT <SP> <host-port> <CRLF>

PASV <CRLF>

TYPE <SP> <type-code> <CRLF>

STRU <SP> <structure-code> <CRLF>

MODE <SP> <mode-code> <CRLF>

RETR <SP> <pathname> <CRLF>

STOR <SP> <pathname> <CRLF>

STOU <CRLF>

APPE <SP> <pathname> <CRLF>

ALLO <SP> <decimal-integer>

[<SP> R <SP> <decimal-integer>] <CRLF>

REST <SP> <marker> <CRLF>

RNFR <SP> <pathname> <CRLF>

RNTO <SP> <pathname> <CRLF>

ABOR <CRLF>

DELE <SP> <pathname> <CRLF>

RMD <SP> <pathname> <CRLF>

MKD <SP> <pathname> <CRLF>

PWD <CRLF>

LIST [<SP> <pathname>] <CRLF>

NLST [<SP> <pathname>] <CRLF>

SITE <SP> <string> <CRLF>

SYST <CRLF>

STAT [<SP> <pathname>] <CRLF>

HELP [<SP> <string>] <CRLF>

NOOP <CRLF>



Re: .NET Framework Networking and Communication Microsoft IIS FTP Server - Commands supported?

Mariya Atanasova - MSFT

We do not support the IIS ftp service. This forum is dedicated for questions for the classes under System.Net namespace.

Please search for an appropriate forum at http://www.microsoft.com/community or ask in which forum you should post here:
http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=881&SiteID=1

Mariya





Re: .NET Framework Networking and Communication Microsoft IIS FTP Server - Commands supported?

Irv

A good cusomer service answer would be to supply the actual name of the appropriate forum.