login about faq

I am using DownloadTree function for normal FTP (port 21). I am not sure whether it is able to accomplish recursive downloads or is something a amiss?

The remote folder structure is as below

alt text

/home/ /lavanyadeepak /test/ /test1/ /test2/ /test3/ /t1.1/ /t1.1.1/ /t1.1.2/ /t1.1.3/ /t1.1.4/ /t1.1.4.1/

Now when I saw downloadtree and pass /home/lavanyadeepak/, I expect the entire tree to be grabbed, which is what we expect by the word 'DownloadTree' right?

asked Feb 07 '13 at 10:11

lavanyadeepak's gravatar image


edited Feb 07 '13 at 10:12

Yes, DownloadTree is recursive. It will download the entire tree from the current REMOTE working directory to the local path passed to DownloadTree.

For example:

1) Connect to FTP server.
2) Change remote directory to "xyz/abc/myTree".
3) Call DownloadTree("c:/temp/myTreeABC") -- downloads the remote tree rooted at xyz/abc/myTree to c:/temp/myTreeABC.


answered Feb 08 '13 at 08:16

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Feb 07 '13 at 10:11

Seen: 947 times

Last updated: Feb 08 '13 at 08:16

powered by OSQA