;***************************** ;* RoboTask Task file ;* Do not edit in text editor! ;***************************** [Root] ActionAfterRun=INTEGER|0 Actions=FOLDER Automat=INTEGER|-1 CatID=INTEGER|700197831 ContinueOnError=INTEGER|0 ExternalName=STRING|"Task575" Hide=INTEGER|0 ID=INTEGER|74618551 Name=STRING|"Upload and check size" Priority=INTEGER|3 RunOnClose=INTEGER|0 RunOnStartup=INTEGER|0 ToLog=INTEGER|2 WriteGeneralLog=INTEGER|0 [Actions] Action1=FOLDER Action10=FOLDER Action11=FOLDER Action12=FOLDER Action13=FOLDER Action14=FOLDER Action15=FOLDER Action16=FOLDER Action17=FOLDER Action18=FOLDER Action19=FOLDER Action2=FOLDER Action20=FOLDER Action21=FOLDER Action3=FOLDER Action4=FOLDER Action5=FOLDER Action6=FOLDER Action7=FOLDER Action8=FOLDER Action9=FOLDER [Actions\Action1] ActionID=STRING|"A_FTP_LOGON" Enabled=INTEGER|-1 Name=STRING|"FTP Log On" Params=FOLDER [Actions\Action1\Params] anonymous=STRING|"1" host=STRING|"localhost" passive=STRING|"0" password=STRING|"4231738316406194034628830408604112640602242423831112461" port=STRING|"21" username=STRING|"anonymous" [Actions\Action10] ActionID=STRING|"A_LOOP_END" Enabled=INTEGER|-1 Name=STRING|"End Loop" [Actions\Action11] ActionID=STRING|"A_FLOW_IF" Enabled=INTEGER|-1 Name=STRING|"If Then" Params=FOLDER [Actions\Action11\Params] case=STRING|"0" operator=STRING|"0" type=STRING|"1" value1=STRING|"{ftp_file_size}" value2=STRING|"{orig_file_size}" [Actions\Action12] ActionID=STRING|"A_ROBOTASK_LOG" Enabled=INTEGER|-1 Name=STRING|"Log Message" Params=FOLDER [Actions\Action12\Params] message=STRING|"Checking passed" type=STRING|"3" [Actions\Action13] ActionID=STRING|"A_LOOP_BREAK" Enabled=INTEGER|-1 Name=STRING|"Break" [Actions\Action14] ActionID=STRING|"A_FLOW_ELSE" Enabled=INTEGER|-1 Name=STRING|"Else" [Actions\Action15] ActionID=STRING|"A_ROBOTASK_LOG" Enabled=INTEGER|-1 Name=STRING|"Log Message" Params=FOLDER [Actions\Action15\Params] message=STRING|"Try to upload again. Attempt - {cnt}" type=STRING|"3" [Actions\Action16] ActionID=STRING|"A_FLOW_ENDIF" Enabled=INTEGER|-1 Name=STRING|"End If" [Actions\Action17] ActionID=STRING|"A_LOOP_END" Enabled=INTEGER|-1 Name=STRING|"End Loop" [Actions\Action18] ActionID=STRING|"A_FLOW_IF" Enabled=INTEGER|-1 Name=STRING|"If Then" Params=FOLDER [Actions\Action18\Params] case=STRING|"0" operator=STRING|"3" type=STRING|"1" value1=STRING|"{cnt}" value2=STRING|"3" [Actions\Action19] ActionID=STRING|"A_ROBOTASK_LOG" Enabled=INTEGER|-1 Name=STRING|"Log Message" Params=FOLDER [Actions\Action19\Params] message=STRING|"File {orig_file} can't be uploaded ( {cnt} attempts" type=STRING|"2" [Actions\Action2] ActionID=STRING|"A_LOOP_FILE" Enabled=INTEGER|-1 Name=STRING|"File Loop" Params=FOLDER [Actions\Action2\Params] createmode=STRING|"1" date1=STRING|"20080208" date2=STRING|"20080208" destvar=STRING|"ORIG_FILE" DuringDays=STRING|"1" DuringMonths=STRING|"1" file0=STRING|"C:\incoming\*.*" filecount=STRING|"1" OlderDays=STRING|"1" OlderMonths=STRING|"1" savesize=STRING|"1" savevar=STRING|"ORIG_FILE_SIZE" searchkind=STRING|"0" subdirs=STRING|"0" timesize=STRING|"0" WithoutPath=STRING|"0" [Actions\Action20] ActionID=STRING|"A_FLOW_ENDIF" Enabled=INTEGER|-1 Name=STRING|"End If" [Actions\Action21] ActionID=STRING|"A_LOOP_END" Enabled=INTEGER|-1 Name=STRING|"End Loop" [Actions\Action3] ActionID=STRING|"A_LOOP_SIMPLE" Enabled=INTEGER|-1 Name=STRING|"Simple Loop" Params=FOLDER [Actions\Action3\Params] begin=STRING|"1" end=STRING|"3" variable=STRING|"CNT" [Actions\Action4] ActionID=STRING|"A_ROBOTASK_LOG" Enabled=INTEGER|-1 Name=STRING|"Log Message" Params=FOLDER [Actions\Action4\Params] message=STRING|"Uploading {orig_file}" type=STRING|"3" [Actions\Action5] ActionID=STRING|"A_FTP_UPLOAD" Enabled=INTEGER|-1 Name=STRING|"FTP Upload" Params=FOLDER [Actions\Action5\Params] file=STRING|"{ORIG_FILE}" folder=STRING|"/incoming" [Actions\Action6] ActionID=STRING|"A_FTP_FILELOOP" Enabled=INTEGER|-1 Name=STRING|"FTP File Loop" Params=FOLDER [Actions\Action6\Params] filenameonly=STRING|"1" folder=STRING|"/incoming/*.*" kind=STRING|"0" sizesave=STRING|"1" subfolders=STRING|"0" timesave=STRING|"0" varname=STRING|"FTP_FILE" varsize=STRING|"FTP_FILE_SIZE" [Actions\Action7] ActionID=STRING|"A_FLOW_IF" Enabled=INTEGER|-1 Name=STRING|"If Then" Params=FOLDER [Actions\Action7\Params] case=STRING|"0" operator=STRING|"0" type=STRING|"0" value1=STRING|"{ftp_file}" value2=STRING|"{ExtractFileName({orig_file})}" [Actions\Action8] ActionID=STRING|"A_LOOP_BREAK" Enabled=INTEGER|-1 Name=STRING|"Break" [Actions\Action9] ActionID=STRING|"A_FLOW_ENDIF" Enabled=INTEGER|-1 Name=STRING|"End If"