For Programmers: Free Programming Magazines  


Home > Archive > VC Language > November 2005 > File Copy Problem!!!









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author File Copy Problem!!!
San

2005-11-25, 3:59 am

Hi,

I am creating a shell namespace extension to show FTP files. I implemented
cut / copy and paste using CFSTR_FILECONTENTS and CFSTR_FILEDESCRIPTOR. I
implemented IDataObject and IStream for this. After copying, when I choose to
paste the files, I am getting all the files, But the problem is that, the
directory structure is not retained.

If I am copying a folder say "Test", which contains 2 files
1. a.txt
2. b.txt

When I choose paste, I am getting 2 files ( a.txt and b.txt ) and a folder (
Test ) in the same place. In fact it should have been folder "Test" and the
two files inside "Test". But that is not happening.

I believe I am missing something here...

Could somebody please help me in resolving this.

Thanks and Kind Regards
Jugs
Ulrich Eckhardt

2005-11-25, 3:59 am

San wrote:
> I am creating a shell namespace extension to show FTP files.


Not that I could help you, but are you aware of the fact that explorer.exe
can handle ftp:// URLs?

Uli

San

2005-11-25, 3:59 am

Hi Ulrich,

I know that...But unfortunately explorer doesn't SSL.

Thanks
Jugs

"Ulrich Eckhardt" wrote:

> San wrote:
>
> Not that I could help you, but are you aware of the fact that explorer.exe
> can handle ftp:// URLs?
>
> Uli
>
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com