How to batch upload local -> remote?

Discuss RoboTask here
Post Reply
thales
Posts: 2
Joined: Sat Jun 26, 2004 2:25 am

How to batch upload local -> remote?

Post by thales »

Any tips? Currently I'm using mput to batch upload from a local folder to a remote folder. Robotask uses 100% CPU when waiting for mput to finish so I'm hoping that Robotask can batch upload.
thanks
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

How to batch upload local -> remote?

Post by Oleg »

See sample task below. Save this text to <Any_name>.tsk file and use "Task|Import" menu to import this task into RoboTask.

;begin task
;**********************
;* RoboTask Task file *
;* Do not edit!       *
;**********************

[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|-1
CatID=INTEGER|1664541561
ContinueOnError=INTEGER|0
ExternalName=STRING|"Task23"
Hide=INTEGER|0
ID=INTEGER|1451030729
Name=STRING|"Batch FTP Upload"
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|3

[Actions]
Action1=FOLDER
Action2=FOLDER
Action3=FOLDER
Action4=FOLDER
Action5=FOLDER
Action6=FOLDER
Action7=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|"42310383162884337286400984055142142"
port=STRING|"21"
username=STRING|"anonymous"

[Actions\Action2]
ActionID=STRING|"A_FTP_TRANSFERTYPE"
Enabled=INTEGER|-1
Name=STRING|"FTP Transfer Type"
Params=FOLDER

[Actions\Action2\Params]
binary=STRING|"1"

[Actions\Action3]
ActionID=STRING|"A_FOLDER_CHANGE"
Enabled=INTEGER|-1
Name=STRING|"Change Folder (C:\Temp\src)"
Params=FOLDER

[Actions\Action3\Params]
folder=STRING|"C:\Temp\src"

[Actions\Action4]
ActionID=STRING|"A_LOOP_TEXT"
Enabled=INTEGER|-1
Name=STRING|"Text Loop"
Params=FOLDER

[Actions\Action4\Params]
destvar=STRING|"FILETOUPLOAD"
line0=STRING|"HelpDemo.exe"
line1=STRING|"HelpDelphi.cnt"
line10=STRING|"HelpDemo.res"
line11=STRING|"HelpDemo.rtf"
line12=STRING|"Readme.txt"
line13=STRING|"helpd3_5.zip"
line14=STRING|"HelpDemo.zip"
line2=STRING|"HelpDemo.cnt"
line3=STRING|"uhdmain.dfm"
line4=STRING|"HelpDemo.dpr"
line5=STRING|"HelpDemo.GID"
line6=STRING|"HELPDELPHI.HLP"
line7=STRING|"HELPDEMO.HLP"
line8=STRING|"HelpDemo.hpj"
line9=STRING|"uhdmain.pas"
linecount=STRING|"15"
sourcetext=STRING|"1"

[Actions\Action5]
ActionID=STRING|"A_FTP_UPLOAD"
Enabled=INTEGER|-1
Name=STRING|"FTP Upload"
Params=FOLDER

[Actions\Action5\Params]
file=STRING|"{FILETOUPLOAD}"
folder=STRING|"\upload"

[Actions\Action6]
ActionID=STRING|"A_LOOP_END"
Enabled=INTEGER|-1
Name=STRING|"End Loop"

[Actions\Action7]
ActionID=STRING|"A_FTP_LOGOFF"
Enabled=INTEGER|-1
Name=STRING|"FTP Log Off"

;end task
Post Reply