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: Mget
Spider

From: nl, Netherlands
Posts: 13
Member Since: 07/30/06
posted July 30, 2006 4:19 PM

Hi all, if i use
Ftp1.MGet "test/*", "C:\NewFolder"
He do nothing
and if i use
Ftp1.MGet "test/*.*", "C:\NewFolder"
He do fine but only download the files
and i want download files and folders

can anyboby help me
Raj

From: Rome, NY, USA
Posts: 389
Member Since: 02/01/06
posted July 31, 2006 1:17 PM

Before we begin, are you using a trial version of the product, and if not, which licensed version of the product do you have running?

Are you trying to retrieve multiple files?
Have you referred our MGet sample?

-Raj
Spider

From: nl, Netherlands
Posts: 13
Member Since: 07/30/06
posted July 31, 2006 4:55 PM

Hi i have the trail version of FTP Tool 1.8.4
and i want to download multiple files and subdirectory's

Thanks
Raj

From: Rome, NY, USA
Posts: 389
Member Since: 02/01/06
posted August 1, 2006 12:46 PM

Have you tried the following: Ftp1.MGet "~/test/*", "C:\NewFolder" ?

This is so because, getting ~/* is not the same as getting /*. Some systems may return different directory listings.

What FTP Server are you using?
Can you download sub-folders using any other FTP Client app?

-Raj
Spider

From: nl, Netherlands
Posts: 13
Member Since: 07/30/06
posted August 1, 2006 3:02 PM

Hi Raj thanks for your answer
but if i try Ftp1.MGet "~/test/*", "C:\NewFolder"
he say no suck file or directory
i know the test directory is good because
Ftp1.MGet "test/*.*", "C:\NewFolder" that work good, but download not directory's

i use the Server Tool 3.1.2 as server

Raj

From: Rome, NY, USA
Posts: 389
Member Since: 02/01/06
posted August 2, 2006 11:52 AM

It seems the FTP server is not responding to LIST -R command which is sent for Ftp1.MGet "test/*","C:\NewFolder" command.

Try using some other FTP Server. The code is good, Client should work.

-Raj
Spider

From: nl, Netherlands
Posts: 13
Member Since: 07/30/06
posted August 2, 2006 1:45 PM

Hi thanks, but i have tested the FtpServer with ie and that work good, i can download directory's with it, don't you know a other command for download directory's

Thanks
Spider

From: nl, Netherlands
Posts: 13
Member Since: 07/30/06
posted August 2, 2006 4:10 PM

Hi, i have try a other FtpServer the BulletProof FTP Server, i can download subdirectory's but he do not download the files in the subdirectory's

Thanks
Raj

From: Rome, NY, USA
Posts: 389
Member Since: 02/01/06
posted August 7, 2006 12:46 PM

Looking at the trace created by IE, I do not see it sending a LIST -R command to the server.

It seems it is checking for the directories internally, issuing a CWD command and then RETRieving the files.

This is another way of getting sub-directories.
You can issue a LIST command and check for the type of the file (refer Type Property in the Help File). If there is a Directory, change working Directory to the sub directory and send RETR commands recursively to get all its files.

Regarding the BulletProof FTP Server not getting files from a sub-directory, I would recommend you to look at the trace to see what is going wrong.

Regards,
Raj
Spider

From: nl, Netherlands
Posts: 13
Member Since: 07/30/06
posted August 7, 2006 8:49 PM

hi thanks alot for helping me
Raj

From: Rome, NY, USA
Posts: 389
Member Since: 02/01/06
posted August 8, 2006 12:14 PM

Glad to be assisting you.
Thanks,
Raj
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX