Hello Oleg. Could you please create a task to synchronize the FTP, because I've tried several ways and I can't. How will it be:
My local folder will be called c:\Test and my FTP folder will also be called /Test
How do I make all folders and files in my local folder identical to the folder that is on the FTP? Even if any folder or new file is created in the local folder, when executing the task, the created files will be deleted, as they will have to be identical to the FTP, I don't know if I could be clear. Thanks.
Task to synchronize the FTP...
Re: Task to synchronize the FTP...
Use SSL FTP Synchrinization action with these parameters (see screenshot)
Oleg Yershov
-
- Posts: 53
- Joined: Fri Dec 30, 2022 2:43 am
Re: Task to synchronize the FTP...
Unfortunately it doesn't work for me, some files are deleted in the FTP folder, and files and folders created in the local folder are not deleted... I don't know why this happens, since I follow the parameters I would not like the synchronization to be automatic, I would like the every 30 minutes sync.
the O:\ is just a path to my FTP\Radio Indoor\
the O:\ is just a path to my FTP\Radio Indoor\
- Attachments
-
- P2.jpg (294.13 KiB) Viewed 13474 times
-
- P1.jpg (357.94 KiB) Viewed 13474 times
Re: Task to synchronize the FTP...
maybe something wrong in your task
I tested this on our FTP test server and try my task. See the log. It works, I changed files on FTP and local forlder. Next I run the task, it make folders identical
I tested this on our FTP test server and try my task. See the log. It works, I changed files on FTP and local forlder. Next I run the task, it make folders identical
the task is belowI: 23.08.2023 9:01:56: ****** Starting task: SSL FTP Log On... ******************
I: 23.08.2023 9:01:56: Executing "1.SSL FTP Log On"
I: 23.08.2023 9:01:56: Executing "2.SSL FTP Synchronization"
I: 23.08.2023 9:01:57: 8 files has been downloaded, 0 files has been deleted.
I: 23.08.2023 9:01:57: Task executed successfully
I: 23.08.2023 9:02:12: ****** Starting task: SSL FTP Log On... ******************
I: 23.08.2023 9:02:12: Executing "1.SSL FTP Log On"
I: 23.08.2023 9:02:12: Executing "2.SSL FTP Synchronization"
I: 23.08.2023 9:02:12: 0 files has been downloaded, 3 files has been deleted.
I: 23.08.2023 9:02:12: Task executed successfully
I: 23.08.2023 9:02:34: ****** Starting task: SSL FTP Log On... ******************
I: 23.08.2023 9:02:34: Executing "1.SSL FTP Log On"
I: 23.08.2023 9:02:34: Executing "2.SSL FTP Synchronization"
I: 23.08.2023 9:02:34: 0 files has been downloaded, 2 files has been deleted.
I: 23.08.2023 9:02:34: Task executed successfully
I: 23.08.2023 9:05:09: ****** Starting task: SSL FTP Log On... ******************
I: 23.08.2023 9:05:09: Executing "1.SSL FTP Log On"
I: 23.08.2023 9:05:09: Executing "2.SSL FTP Synchronization"
I: 23.08.2023 9:05:10: 5 files has been downloaded, 0 files has been deleted.
I: 23.08.2023 9:05:10: Task executed successfully
Code: Select all
;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|-1
CatID=INTEGER|87836821
Comment=STRINGLIST
ContinueOnError=INTEGER|0
DisableOnError=INTEGER|0
DoNotStopWhenShutdown=INTEGER|0
ExternalName=STRING|"Task25"
Hide=INTEGER|0
ID=INTEGER|1217764056
LogOnAsUser=INTEGER|1
Name=STRING|"SSL FTP Log On..."
OnErrorTaskID=INTEGER|-1
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
StepPause=INTEGER|0
ToLog=INTEGER|3
UnicodeFormat=INTEGER|1
WriteGeneralLog=INTEGER|0
[Actions]
Action1=FOLDER
Action2=FOLDER
[Actions\Action1]
ActionID=STRING|"A_SSLFTP_LOGON"
Enabled=INTEGER|-1
Name=STRING|"SSL FTP Log On"
Params=FOLDER
[Actions\Action1\Params]
anonymous=STRING|"0"
host=STRING|"testFTP"
passive=STRING|"1"
password=STRING|""
port=STRING|"8021"
proxypassword=STRING|""
proxytype=STRING|"3"
tlsmode=STRING|"0"
useproxy=STRING|"0"
username=STRING|""
usessl2=STRING|"0"
usessl3=STRING|"0"
usestls=STRING|"1"
usestls11=STRING|"1"
usestls12=STRING|"1"
[Actions\Action2]
ActionID=STRING|"A_SSLFTP_SYNCHRONIZE"
Enabled=INTEGER|-1
Name=STRING|"SSL FTP Synchronization"
Params=FOLDER
[Actions\Action2\Params]
ExactCopy=STRING|"1"
IncludeMask=STRING|"*.*"
IncludeSubfolders=STRING|"1"
LocalFolder=STRING|"D:\temp\FTP"
output=STRING|"0"
outtovar=STRING|"0"
RemoteFolder=STRING|"/test/csv"
SyncMode=STRING|"1"
Attach to this task Cyclic trigger. Use the inteval 1800 sec (30 minutes)I would like the every 30 minutes sync.
Oleg Yershov
-
- Posts: 53
- Joined: Fri Dec 30, 2022 2:43 am
Re: Task to synchronize the FTP...
Hello, Thanks Oleg.
Unfortunately I'm going to give up FTP for RT, I tried with another program that synchronizes FTP and it worked, but with RT it doesn't work, it must be something on my server..
Unfortunately I'm going to give up FTP for RT, I tried with another program that synchronizes FTP and it worked, but with RT it doesn't work, it must be something on my server..