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: How
doots78

From: --, France
Posts: 2
Member Since: 12/05/05
posted January 15, 2006 11:08 AM

Hello,

I'm trying the trial version, and this component works pretty fine, maybe the best i tried since a long time ago, but i have a little problem... When a folder is empty i can't upload it, i mean also if i use the recursivity option then the folder will be uploaded only if it contains at least a file, then when i have subbdirectories who are empty, then this subdirectories won't be "uploaded", or created on the FTP server. It's a problems because the application i would like to upload with Dart FTP need to check this empty folders.

Is there a way to indicate to Dart FTP that he must upload all folders, also if they are empty ? In fact i want to have the same folders "tree" on the remote FTP server, than on my local machine... i want to upload all directories, also the empty ones...

Sorry for my bad english, i hope you understood me...

Thanks for your help :)
Doots
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 16, 2006 11:31 AM

Unfortunately, a directory is not created until the transfer begins. If there is no file to to transfer, then no directory is created.

You would need to create the empty directories yourself using the Ftp.Invoke method.
doots78

From: --, France
Posts: 2
Member Since: 12/05/05
posted January 16, 2006 11:44 AM

Ok, i see, thanks a lot for your very fast answer :)

Bye !
Reply | PowerTCP FTP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX