| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: Setting Directory property not working |
| User316 Posts: 2 Member Since: 01/07/02 |
posted January 16, 2002 11:45 PM I have been trying to change the working directory on the remote server using the .directory property, but I can't get it to change the directory to one I know exists. I have got around this problem when using Store as I can include the remote path with the filename, but this doesn't seem to work with .listing . I want to poll a remote directory to check the existance of a file, but I can't check any but the default home directory. This is the code I have used '---------------------------------------- frmMain.Ftp1.ChangeDirectoryUp frmMain.Ftp1.Directory = strRemotePath frmMain.Ftp1.List For Each lstEntry In frmMain.Ftp1.Listing If lstEntry.name = strFilename Then TestFTPfile = True End If Next '---------------------------------------- I have checked the samples and they don't seem to work ( I set the Remote path in the options in mListView but it always goes to the home path first) Thanks and sorry this is a bit long. |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted January 17, 2002 9:06 AM Hi, No, I have never experienced a problem with this directory. What does the Trace show when you specify a valid path in the ListView sample? Example: When I login to an account (Path is empty in the sample), there is a directory called "Dir1." If I then login with "Dir1" specified in the "Path" box, I end up in this directory. If this is different for you, can you send info for connecting to a demonstration test account to support@dart.com? -ken K M Drake Dart Tech Support |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|