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 Inquiry...
e-roq

From: Mentone, CA USA
Posts: 18
Member Since: 09/27/03
posted November 27, 2005 3:30 AM

Hello Friends,

I am working with the GetSite VB6 demo and I am having a bit of a time trying to download a directory on the root of the server and all of it's sub directories and files. My goal is to be able to download the directory named "shipping" on the root of my server so that it downloads to my C drive as follows: 
C:\shipping

I would like to see the directory named "shipping" and all of it's sub directories and files as they are on the server.

What I have done is fill in the address, username and password as normal and for the Remote Path I put "/shipping/*" (no quotes). What I get is the contents of the shipping directory and not the shipping directory itself. If I leave the Remote Path blank then I think I would download the whole site.

Thanks for any help. :)
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 27, 2005 1:15 PM

I set up what I thought was the same scenario but was not able to reproduce the problem. When I set the remote path to "/shipping/*" I got all files and folders in the shipping folder.

This may be something specific to your server. If you want us to did deeper, please send details for connecting to a server that show the problem. The address to send to is support@dart.com
e-roq

From: Mentone, CA USA
Posts: 18
Member Since: 09/27/03
posted November 27, 2005 1:42 PM

Hello Tony,

Thank you for your response.

Yes, I do get the "contents" of or what is "inside" the shipping directory but I want to download the directory itself so there is a "shipping" directory that is found on my C drive. I guess the effect I am after would be like if you dragged the "shipping" directory from the file list view and dropped it on the C-drive. The "shipping" directory itself would be downloaded with all of it's contents and you would then see a "shipping" directory found on the C drive.

I hope this is clearer.

Thanks. :)
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 27, 2005 4:58 PM

What are you specifying for the 'Destination' parameter of the MGet method?
e-roq

From: Mentone, CA USA
Posts: 18
Member Since: 09/27/03
posted November 28, 2005 1:14 AM

I see... do I need to save the directory name that I am downloading in a variable and use that variable in the destination path?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 28, 2005 7:57 AM

Yes. Please see the sample MGET app for an working demo. That's what I used to test with and it worked fine.
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX