Hello,
I am using the following code (snippit), everything appears correctly in the generated job/task, except that in the FTP task (of type download), in the tab "remote file filter"/"location", the folder text box stays blank.
Am I setting the wrong variable (ftpCom.Download.SourcePath )?
JobClass j = new JobClass();
j.Name = "Buyer 520140828124239 Inbound Step 4.1 (to temp folder)";
j.Group = "Adrian Generated by C# API Group";
TaskClass tc = j.AddTask(TaskClass.TaskT.FTP);
tc.Name = "Step 4.1";
FTPCommandClass ftpCom = new FTPCommandClass();
ftpCom.ConnectionId = UbiQFTP.Id;
ftpCom.CommandType = FTPCommandClass.FTPCommandT.Download;
ftpCom.Download.DeleteSource = true;
ftpCom.Download.SourcePath = "vvv/UbiQPR/UbiQTurkey/Buyers/520140828124239/Inbound";
ftpCom.Download.SourceFileMask = "*";
ftpCom.Download.DestinationPath = "dddC:/UbiQPR/UbiQTurkey/Buyers/520140828124239/Inbound";
tc.FTP.FTPCommands.Add(ftpCom);
s.Jobs.Add(j);
Best Regards,
Adrian.
Edited by moderator
2016-02-08T08:27:41Z
|
Reason: Not specified