Groups | Blog | Home
all groups > iis ftp > april 2005 >

iis ftp : Does IIS 5.0 support the STOU command


Jason Brown [MSFT]
4/7/2005 12:00:00 AM
I've been unable to find an official document yet, but I found this

http://www.windowsitlibrary.com/Content/386/17/3.html

which says IIS does support STOU (I've never had occasion to use it myself
so can't say from that point of view). From your log there it looks like the
SITE command is what went wrong first. what's the client in question here?


--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no rights.


[quoted text, click to view]

Brandon
4/7/2005 6:27:02 PM
One of the UNIX guys is complaining after we upgraded an NT4.0 box running
SERVE-U FTP server to a windows 2000 box running IIS5 that his STOU command
no longer works.

Does IIS5.0 support the STOU command? (below is the output from his UNIX box)

230 User monitor logged in.

EZA1460I Command:

EZA1736I CD INPUTQ

EZA1701I >>> CWD INPUTQ

250 CWD command successful.

EZA1460I Command:

EZA1736I SUNIQUE

EZA1626I Store unique is ON

EZA1460I Command:

EZA1736I lcd ..

EZA2083I Local directory set to null string.

EZA1460I Command:

EZA1736I PUT CSDJW.MONITOR.TRANS.DATA P0.MONITOR.TRANS.DAT

EZA1701I >>> SITE FIXrecfm 80 LRECL=80 RECFM=FB BLKSIZE=27920

500 'SITE FIXrecfm 80 LRECL=80 RECFM=FB BLKSIZE=27920': command not
understood
EZA1701I >>> PORT 10,34,8,5,10,27

200 PORT command successful.

EZA1701I >>> STOU P0.MONITOR.TRANS.DAT

500 'STOU P0.MONITOR.TRANS.DAT': Invalid number of parameters

EZA1735I FTP Return Code = 27500, Error Code = 00002

EZA1701I >>> QUIT

221
Alun Jones [MSFT]
4/8/2005 8:33:14 AM
[quoted text, click to view]

....snipped a lot...

[quoted text, click to view]

The error message here is giving you the clue - the STOU command does not
take a parameter.

From RFC 959 (the standard for FTP):

" 5.3.1. FTP COMMANDS

The following are the FTP commands:

....
STOR <SP> <pathname> <CRLF>
STOU <CRLF>"
....

STOR takes a pathname, STOU does not. The FTP client in question is not
RFC-compliant in this regard, and needs to be fixed.

Alun.
~~~~
--
Software Design Engineer, Internet Information Server (FTP)
This posting is provided "AS IS" with no warranties, and confers no rights.

AddThis Social Bookmark Button