| Dart Home | PowerTCP FTP for .NET | Custom Development | Reply | PowerTCP FTP for .NET Topics | Forums |
| Author | Forum: PowerTCP FTP for .NET Topic: deleting files including directories |
| debora From: Augsburg, Germany Posts: 4 Member Since: 05/23/05 |
posted June 1, 2005 1:51 AM Hello, when using the delete command with the "subdirectories" option set to true the ftp component hangs in a loop. The output from the listview sample is shown below (ip's removed, aborted after same seconds) Connecting to x.x.x.x... 220 x.x.x.x FTP server ready. USER guest 331 Guest login ok, send 'xxx' as password. PASS psos 230 Guest login ok, access restrictions apply. Connected PWD 257 "44.0/" REST 10 502 REST command not implemented. PASV 227 Entering Passive Mode (x,x,x,x,x,x) LIST 150 Opening ASCII mode data connection for . 226 Transfer complete. PASV 227 Entering Passive Mode (x,x,x,x,x,x) LIST 150 Opening ASCII mode data connection for . 226 Transfer complete. PASV 227 Entering Passive Mode (x,x,x,x,x,x) LIST CMD/ 150 Opening ASCII mode data connection for CMD 226 Transfer complete. PASV 227 Entering Passive Mode (x,x,x,x,x,x) LIST CMD/./ 150 Opening ASCII mode data connection for CMD/. 226 Transfer complete. PASV 227 Entering Passive Mode (x,x,x,x,x,x) LIST CMD/././ 150 Opening ASCII mode data connection for CMD/./. 226 Transfer complete. PASV 227 Entering Passive Mode (x,x,x,x,x,x) LIST CMD/./././ 150 Opening ASCII mode data connection for CMD/././. 226 Transfer complete. PASV 227 Entering Passive Mode (x,x,x,x,x,x) LIST CMD/././././ 150 Opening ASCII mode data connection for CMD/./././. 226 Transfer complete. PASV 227 Entering Passive Mode (x,x,x,x,x,x) LIST CMD/./././././ 150 Opening ASCII mode data connection for CMD/././././. 226 Transfer complete. PASV 227 Entering Passive Mode (x,x,x,x,x,x) LIST CMD/././././././ 150 Opening ASCII mode data connection for CMD/./././././. 226 Transfer complete. PASV 227 Entering Passive Mode (x,x,x,x,x,x) LIST CMD/./././././././ 150 Opening ASCII mode data connection for CMD/././././././. 226 Transfer complete. PASV 227 Entering Passive Mode (x,x,x,x,x,x) LIST CMD/././././././././ 150 Opening ASCII mode data connection for CMD/./././././././. 226 Transfer complete. PASV 227 Entering Passive Mode (x,x,x,x,x,x) LIST CMD/./././././././././ 150 Opening ASCII mode data connection for CMD/././././././././. 226 Transfer complete. PASV Connection closed. The directory I tried to delete (CMD) contains 4 files and no other subdirectories. Looking for a workaround I experimented with the ExpandRemoteFiles function but the output is the same as shown above. No one of the following method calls worked for me. delete("CMD", true, true) delete("44.0/CMD", true, true) Do you have any idea? Thanks Thomas |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted June 1, 2005 9:11 AM Do you have a way that I can duplicate this? Is it dependent on the directory structure? |
| debora From: Augsburg, Germany Posts: 4 Member Since: 05/23/05 |
posted June 1, 2005 3:57 PM I think it's hard to reproduce for you. There seems to be no dependency of the directory structure. Regardless the directory is empty, contains files or subdirectories - it isn't working in all cases. The ftp server runs on our embedded controller and the directory structure comes from the mounted compact flash drive (root = 44.0). The operating system is pSOS from WindRiver and the directory listing is in unix format. I you wish I will send you the raw data being transfered between the component and our server. Before we have bought your product we used another ftp client. The directory listing always contained a directory entry named "." which we masked out to the user. Trying to make a change in that directory didn't work it simply returned the current directory. Maybe that's the problem because "." and ".." are typical entries in MSDOS based directory listings. I hope that helps you... |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted June 1, 2005 4:03 PM Please contact support@dart.com to discuss more in depth troubleshooting methods. |
| Reply | PowerTCP FTP for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|