When uploading a file, I need it to do to upload the file to the "ID" folder... Like below:
mysite.com/files/HTMLLogs/AGENCY NAME/ID
I can upload the files to the AGENCY NAME folder, no problems, but uploading to the ID folder inside the AGENCY NAME folder is throwing me. Can someone take a look at my string and help me with it?
client.PutFiles(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) & "\DailyLog\HTMLlogs\*",
String.Format("/files/HTMLLogs/{0}", lblAgency.Text, "/", "{0}", lblID.Text), FtpBatchTransferOptions.Recursive, FtpActionOnExistingFiles.OverwriteAll)