Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: Checking type of FTP Server at host
joanne

From: Higganum, CT USA
Posts: 11
Member Since: 01/07/04
posted February 11, 2004 10:54 AM

Is there a way to do this?

I want to use the storeUnique store type and this STOU command is not recognized on IIS FTP Server.

It is possible to check the FTP server type of the host I am connected to????
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted February 11, 2004 11:04 AM

Use the System property of the FTP control.
joanne

From: Higganum, CT USA
Posts: 11
Member Since: 01/07/04
posted February 11, 2004 11:17 AM

it replies with: "Windows_NT version 5.0"
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted February 11, 2004 11:20 AM

I'm sorry, but I don't understand. What is you question?
joanne

From: Higganum, CT USA
Posts: 11
Member Since: 01/07/04
posted February 11, 2004 11:50 AM

Sorry, I wasn't very clear.

The system property returns "Windows_NT version 5.0" for the host I am connecting to.

Is this actually the version of IIS or the OS of the host?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted February 11, 2004 12:03 PM

It must be the OS. I just tried on a UNIX machine and ut said "UNIX".

Check the greeting sent from the server to get the server brand. The place to check it would be in the progress event like so:

  If ftpCommand = ftpReinitialize And Status = ftpOk Then
    Greeting = Replace(Reply, vbCrLf, "")
    Greeting = Replace(Greeting, "220 ", "")
  End If

Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX