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: How to change user's password by FTP Tool for ASP?
eCool
iamecool@163.com

From: ShenZhen(CN)
Posts: 4
Member Since: 08/27/02
posted August 27, 2002 1:00 AM

I want to change user's password by FTP Tools for ASP.
I know use 'quote "site oldpwd newpwd' to change password,but I don't find "quote" command in FTP tool,so I don't know what's command can do it(my knowledge about FTP is poor,:-( ),can you help me?

Best Regards!
eCool
iamecool@163.com

From: ShenZhen(CN)
Posts: 4
Member Since: 08/27/02
posted August 27, 2002 1:01 AM

sorry,change password command is:

quote "site pswd oldpwd newpwd"

Jon Belanger



From: Rome, NY USA
Posts: 310
Member Since: 06/10/02
posted August 27, 2002 8:38 AM

To send custom commands to the FTP server you can use the Ftp.Command method.
eCool
iamecool@163.com

From: ShenZhen(CN)
Posts: 4
Member Since: 08/27/02
posted August 27, 2002 9:18 PM

Can you give me a simple example?

When I use:

ftp.Command "quote site pswd 12345 11111",result

it will raise a error(I has loginned ftp).

Error Description: Dart.Ftp.1 (0x800A2EE2)
eCool
iamecool@163.com

From: ShenZhen(CN)
Posts: 4
Member Since: 08/27/02
posted August 29, 2002 8:47 PM

up
Jon Belanger



From: Rome, NY USA
Posts: 310
Member Since: 06/10/02
posted August 30, 2002 10:06 AM

This worked on my machine, you can also send the command via command line as

quote TYPE A

And it returns the same result, I haven't been able to find a FTP server that accepts the SITE command. If you need to send a custom command the way to do it is with the .Command method. Hope that helps.


Ftp1.TimeOut = 30000
Ftp1.Login server, user, pwd  
Dim result As String  
Ftp1.Command "TYPE A", result 
MsgBox result
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX