| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: Can't change Directory with FTPcontrol |
| User1370 Posts: 3 Member Since: 04/11/00 |
posted April 11, 2000 4:22 PM I'm having trouble changing directory with the Ftp control. I've tried doing the following: Ftp.Directory "test" Ftp.Directory "/test" Ftp.Command "CWD test" Ftp.Command "CWD /test" In each case a Ftp.List returns the root directory? What am I doing wrong? Thanks Frank |
| User1370 Posts: 3 Member Since: 04/11/00 |
posted April 11, 2000 4:23 PM Note: I'm doing this in ASP on Windows 2000. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted April 11, 2000 4:35 PM Do you get an Error message or other reply? The following should put you in your home directory: Ftp1.Directory = "~" Also, an excellent debugging tool is the Trace Method. Try using it to create a trace log so that you can see exactly what's happening. If you are getting an error, let me know the exact message. |
| User1370 Posts: 3 Member Since: 04/11/00 |
posted April 11, 2000 4:51 PM Thanks for the help, No error message, I was not using the "=" sign. That seems to make a differnce. Great tool by the way. Thanks Frank |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted April 11, 2000 5:23 PM You should have gotten this error (I just tried it and that's what I got): Error Type: Microsoft VBScript runtime (0x800A01B6) Object doesn't support this property or method: 'Directory' /test/ftp.asp, line 12 |
| N/A | posted April 18, 2000 1:32 PM test |
| N/A | posted July 16, 2001 3:07 PM Your command should be Ftp.directory = "test" |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|