Re: 2003 FTP with IIS
From: Bernard (qbernard_at_hotmail.com.discuss)
Date: 10/25/04
- Next message: Cris: ""A non-fatal configuration error occurred. Not all available information""
- Previous message: Bernard: "Re: Application popup: dllhost.exe - Application Error"
- In reply to: Paul Baker [MVP, Windows - SDK]: "Re: 2003 FTP with IIS"
- Next in thread: Alun Jones [MSFT]: "Re: 2003 FTP with IIS"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 25 Oct 2004 11:32:25 +0800
:) even it is MS may not follow it.
anyway, reason I brought is this command line tool allow you to do a quick
test (if you can't get hold of a decent ftp client app), just like what Alun
has pointed out.
-- Regards, Bernard Cheah http://www.tryiis.com/ http://support.microsoft.com/ http://www.msmvps.com/bernard/ "Paul Baker [MVP, Windows - SDK]" <paulb@online.rochester.rr.com> wrote in message news:OWD7nYRuEHA.2972@TK2MSFTNGP10.phx.gbl... > Sorry, I was being dumb. Section 5.1 of RCF 959 makes it clear that PASV is > not required in a minimal implementation. > > Paul > > "Paul Baker [MVP, Windows - SDK]" <paulb@online.rochester.rr.com> wrote in > message news:eNPCoRFuEHA.224@TK2MSFTNGP15.phx.gbl... > > Alun, > > > > My thought process was that, since the FTP standard would seem to imply > that > > the PASV command is required to be supported, there would be no point in > > testing if it is supported, because it is :) But maybe it is not on some > > servers? > > ftp://ftp.rfc-editor.org/in-notes/std/std9.txt > > > > It occured to me that I could use telnet in the way you describe, and I > have > > done so in the past. My thought process was that if you're going to all > that > > trouble, you may as well just use telnet for the whole thing or else use > any > > number of alternative FTP clients, as you say. > > > > Anyway, I think we all agree that it does not have the effect of making > the > > FTP command line tool use passive FTP all by itself which is where this > > thread started off, I think. > > > > Paul > > > > "Alun Jones [MSFT]" <alunj@online.microsoft.com> wrote in message > > news:uvWXfLFuEHA.4040@TK2MSFTNGP09.phx.gbl... > > > There are some uses to "quote pasv". > > > > > > First, to reassure people that the server you're connected to really > > _does_ > > > support PASV. > > > > > > Second, to eyeball the numbers returned, to see if the intervening NAT > is > > > correctly translating the IP address and port. > > > > > > It's certainly not enough on its own, though, for you to be able to test > > > that PASV connectivity works. > > > > > > You can use "quote PASV" and a telnet command in another window to > > > accomplish the test, if you're reasonably quick. > > > > > > You enter the "quote PASV" line at the FTP client, and quickly take the > > last > > > two numbers quoted back, and turn them into a single port by multiplying > > the > > > first by 256 and adding on the second. Then you take the first four > > numbers > > > as the IP address, and supply that with the port as your arguments to > > > telnet. Once connected, you can enter "quote LIST" back at the FTP > client > > > (don't use "dir", that will send a PORT command and blow away your PASV > > > connection), to get a file listing, demonstrating that all is well. > [The > > > telnet will close immediately after the file listing is over.] > > > > > > But that's really an awful lot of effort, compared to finding an FTP > > client > > > that you really like, and which will do PASV FTP transfers. > > > > > > Alun. > > > ~~~~ > > > "Paul Baker [MVP, Windows - SDK]" <paulb@online.rochester.rr.com> wrote > in > > > message news:%23Z0rCrDuEHA.4040@TK2MSFTNGP09.phx.gbl... > > > > Bernard, > > > > > > > > I agree with Alun. It's useless. What does it achieve? > > > > > > > > Paul > > > > > > > > "Bernard" <qbernard@hotmail.com.discuss> wrote in message > > > > news:%23Lb4d89tEHA.3476@TK2MSFTNGP14.phx.gbl... > > > >> At least it does try to connect as passive mode and see if the socket > > can > > > > be > > > >> open, right ? > > > >> > > > >> -- > > > >> Regards, > > > >> Bernard Cheah > > > >> http://www.tryiis.com/ > > > >> http://support.microsoft.com/ > > > >> http://www.msmvps.com/bernard/ > > > >> > > > >> > > > >> > > > >> "Alun Jones [MSFT]" <alunj@online.microsoft.com> wrote in message > > > >> news:#zKnqS4tEHA.2808@TK2MSFTNGP14.phx.gbl... > > > >> > "Bernard" <qbernard@hotmail.com.discuss> wrote in message > > > >> > news:eZZngkytEHA.904@TK2MSFTNGP11.phx.gbl... > > > >> > > you can do this in command line ftp.exe > > > >> > > > > > >> > >> quote pasv > > > >> > > > > >> > That's hardly useful. All it does is tell the server to open up a > > > >> listening > > > >> > socket. It doesn't tell the client to connect to that listening > > socket > > > >> when > > > >> > it makes its next transfer. Passive transfers are not supported in > > the > > > >> > command-line FTP client - but there are numerous third-party > clients > > > > that > > > >> > are available which do support passive mode file transfers. > > > >> > > > > >> > Alun. > > > >> > ~~~~ > > > >> > > > > >> > > > > >> > > > >> > > > > > > > > > > > > > > > > > > > >
- Next message: Cris: ""A non-fatal configuration error occurred. Not all available information""
- Previous message: Bernard: "Re: Application popup: dllhost.exe - Application Error"
- In reply to: Paul Baker [MVP, Windows - SDK]: "Re: 2003 FTP with IIS"
- Next in thread: Alun Jones [MSFT]: "Re: 2003 FTP with IIS"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|