[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.remoting

Ftp LIST command, directory with space

kjon

8/20/2004 2:34:00 AM

Hi, I'm doing an FTP function where I find that if I use the LIST command on
a directory name with space (e.g. My Folder), it said cannot find path "My",
it seems like the command doesn't support space in the directory name. Is
there a solution for this?

I've tried including single quote/double quote into the string but still not
successful. Please advice. Thanks.


1 Answer

kjon

8/20/2004 2:20:00 PM

0

Ok, I've found the solution. Just CWD to the directory (CWD support folder
name with spaces) and LIST the current directory. That's all.

"kjon" <2@22.co> wrote in message
news:ulsVDvlhEHA.4092@TK2MSFTNGP10.phx.gbl...
> Hi, I'm doing an FTP function where I find that if I use the LIST command
on
> a directory name with space (e.g. My Folder), it said cannot find path
"My",
> it seems like the command doesn't support space in the directory name. Is
> there a solution for this?
>
> I've tried including single quote/double quote into the string but still
not
> successful. Please advice. Thanks.
>
>