Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: Does a recursive mget not work when getting Windows files ?
roofrack
gary.roussak@tyrrellsystems.com

From: Leigh, United Kingdom
Posts: 23
Member Since: 06/08/06
posted October 25, 2006 1:34 PM

Hi,

I thought I might be able to 'mget' a whole directory tree (including all subfolders and their files) from a Windows XP system using:

FTP1.MGet "ParentFolder\*", "C:\DestFolder"

When, I issue this command, nothing at all gets retrieved, even though I know I am at the right folder level, and that ParentFolder really does contain some stuff.

I've noticed in the Dart documentation that mget is not fully supported except for Unix and DOS-style listings. Is this what it means ?

The FTP server is written using the Dart FTPServer tool. The client is using the latest DartFTP.DLL.

Do I need to use FTP1.List when retrieving multiple files and folders from Windows ?
Amit

From: Rome, NY USA
Posts: 315
Member Since: 03/15/06
posted October 26, 2006 3:44 PM

Hello,

If the server sends an empty listing in response to the LIST sent by the client, then the FtpServer does not inherently support wildcards. If the FTP Server does not support recursive listings, then I would suggest you to try adding multiple MGets in your application. You also have to setup your own recursive routine that performs Lists (to discover the sub-directories) and MGets for each directory.

You are absolutely right that only Unix and DOS Style listings are supported.

Regards,
Amit
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX