| Dart Home | PowerTCP FTP for .NET | Custom Development | Reply | PowerTCP FTP for .NET Topics | Forums |
| Author | Forum: PowerTCP FTP for .NET Topic: Remote path with spaces in directory name |
| kevininstructor kevin.s.gallagher@state.or.us From: Salem, OR USA Posts: 16 Member Since: 10/12/04 |
posted May 19, 2005 10:46 AM I am attempting to get a directory listing from a site were some of the folder names have spaces in their names e.g. "Benton County" I am at the root and getting folder listings without changing paths... method used: (simplified example) Dim aList As Dart.PowerTCP.SecureFtp.Listing Ftp1.List("Benton County") ... use a "for-each" to retrieve list but always returns three entries when the folder name is as shown above. My alternate was to change to the desired folder, get the listing and then cd up one level to were I started from. Would rather not take the time to CD down/up if possible. Any thoughts??? Thanks, Kevin |
| kevininstructor kevin.s.gallagher@state.or.us From: Salem, OR USA Posts: 16 Member Since: 10/12/04 |
posted May 19, 2005 10:47 AM Rats...left out in the Ftp1.List("Benton County") I am using "-LR" |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted May 19, 2005 11:14 AM Different servers react different ways to this. You could try putting quotes around the name but that may not always work. To be honest, I would recommend the approach you are using now. That is what FTP applications (Like WSFTP) do anyway. |
| kevininstructor kevin.s.gallagher@state.or.us From: Salem, OR USA Posts: 16 Member Since: 10/12/04 |
posted May 19, 2005 12:03 PM Thanks for the suggestion |
| Reply | PowerTCP FTP for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|