I thought I had this figured out- this should be simple but I can't figure out what my problem is.
The following code is there to:
- Get a folder with files inside on the server then
- Put that folder with files in a specific folder on the users hard drive
{0} is the folder number based on the value in lblID.Text.
client.GetFiles(
String.Format("/files/backuplogfiles/{0}", lblID.Text),
(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) & "\DailyLog\Files\*"),
FtpBatchTransferOptions.Recursive,
FtpActionOnExistingFiles.OverwriteDifferentSize)
I have similar code that allows the UPLOAD of folders and files and it works fine. I thought to download, it would be a simple reversal of my source and destination.
While my code doesn't error, it just doesn't do anything.
Am I missing something?