Login  
Search All Forums
Dart Home | PowerTCP FTP for .NET | Custom Development Reply | PowerTCP FTP for .NET Topics | Forums   
AuthorForum: PowerTCP FTP for .NET
Topic: I wonder... Ftp.List... Ftp.Delete...
kci
kimcheiri@hotmail.com

From: seoul, South Korea
Posts: 10
Member Since: 09/18/04
posted December 1, 2004 11:40 PM


When I read file list, I use Ftp.List("", True) from the Server.   
Then, using the ListEntry.name, I spread the listview.   
Among the file name, there are more than one space,   
it's reacognizing just one space.   
For example,   
(the original file name) wind  ows.exe  ¡æ (readed file name) wind ows.exe   
it's reading like this.   
And,   
Using the Ftp.Delete(FullPath_FileName, True, True), when I try to delete, I can't.   
Once there are more than one space in file name, I can't delete.   
Why does it happen?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 2, 2004 4:23 PM

I'm going to need help duplicating this problem. Here's what I did:

1) Used the latest shipping DLL (version 2.2.5.0)
2) Used the shipping FTP listview client sample
3) Logged into a server that had a file called "this  file  has many    spaces.txt"

I was able to retrieve, rename and delete the file no problem

Please help me to understand the problem you are trying to report.
kci
kimcheiri@hotmail.com

From: seoul, South Korea
Posts: 10
Member Since: 09/18/04
posted December 2, 2004 7:56 PM

This is ListEntry Property

{Dart.PowerTCP.Ftp.ListEntry}
  Destination: ""
  Group: ""
  Name: "this file has many spaces.txt"
  Owner: ""
  Path: ""
  Permissions: ""
  Size: 36
  Source: ""
  Text: "12-03-04 09:18AM          36 this file has many  spaces.txt"
  TimeStamp: "12-03-04 09:18AM"
  Type: File
--------------------------------------------------
This is ListView Sample Image

http://omis.dic.co.kr/download/sampleListView.JPG

--------------------------------------------------

This is Server Side file list image

http://omis.dic.co.kr/download/ServerExplorer.JPG

--------------------------------------------------


kci
kimcheiri@hotmail.com

From: seoul, South Korea
Posts: 10
Member Since: 09/18/04
posted December 2, 2004 8:05 PM

{Dart.PowerTCP.Ftp.ListEntry}
  Destination: ""
  Group: ""
  Name: "this file has many spaces.txt"
  Owner: ""
  Path: ""
  Permissions: ""
  Size: 36
  Source: ""
  Text: "12-03-04 09:18AM          36 this file has many  spaces.txt"
  TimeStamp: "12-03-04 09:18AM"
  Type: File


Version : 2.2.5.0

- ListEntry.Text(Good)
- ListEntry.Name(No Good)

Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 2, 2004 8:26 PM

Unfortunately I am not able to duplicate this. Can you give the me the info needed to login to your server? If so, please send it to support@dart.com.

kci
kimcheiri@hotmail.com

From: seoul, South Korea
Posts: 10
Member Since: 09/18/04
posted December 6, 2004 12:31 AM

oh.. my mistake...!
i'm sorry....
Reply | PowerTCP FTP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX