Support Forums
Upload files via FileZilla FTP Server

Hi Ewald,

That is correct you should add format=free instead of format=csv.
Format=free will activate your required data format.

schedule a
DO{COPYD merge=n sch=A dest="ftp://qbh:qbh@169.254.55.163.com22/var_temp1.csv" format=free}
schedule b
DO{COPYD merge=n sch=B dest="ftp://qbh:qbh@169.254.55.163.com22/var_temp2.csv" format=free}
schedule c
DO{COPYD merge=n sch=C dest="ftp://qbh:qbh@169.254.55.163.com22/var_temp3.csv" format=free}
schedule d
DO{COPYD merge=n sch=D dest="ftp://qbh:qbh@169.254.55.163.com22/var_temp4.csv" format=free}
schedule e
DO{COPYD merge=n sch=E dest="ftp://qbh:qbh@169.254.55.163.com22/var_temp5.csv" format=free}

The parameters and switches are used to setting out the sequence and format according to your need, however the use of format=csv was ruling out that setting.

Best regards,
Rudy Gunawan

Hi Ewald, That is correct you should add format=free instead of format=csv. Format=free will activate your required data format. schedule a DO{COPYD merge=n sch=A dest="ftp://qbh:qbh@169.254.55.163.com22/var_temp1.csv" format=free} schedule b DO{COPYD merge=n sch=B dest="ftp://qbh:qbh@169.254.55.163.com22/var_temp2.csv" format=free} schedule c DO{COPYD merge=n sch=C dest="ftp://qbh:qbh@169.254.55.163.com22/var_temp3.csv" format=free} schedule d DO{COPYD merge=n sch=D dest="ftp://qbh:qbh@169.254.55.163.com22/var_temp4.csv" format=free} schedule e DO{COPYD merge=n sch=E dest="ftp://qbh:qbh@169.254.55.163.com22/var_temp5.csv" format=free} The parameters and switches are used to setting out the sequence and format according to your need, however the use of format=csv was ruling out that setting. Best regards, Rudy Gunawan

Hello Rudy,

Thank you so much for helping me.

I tried all your suggestions and it is very good but now I miss the header row. Did I forget something?

Thanks in advance.

Best regards,
Ewald Pauz

Hello Rudy, Thank you so much for helping me. I tried all your suggestions and it is very good but now I miss the header row. Did I forget something? Thanks in advance. Best regards, Ewald Pauz

Hi edie,

Naturally there is no header for free format, thus you have to recreate header.
If you have a single schedule, an extra schedule can be used as header.

For example:

BEGIN
RA(ALARMS:1R)X LOGONA
DO1'"Date","Time","Volt1","Volt2","Volt3"'

RB1M LOGONB
D
T
1V
2V
3V

RC1H
DO{XB;COPYD dest=ftp://user:pass@address/ format=free sched=AB data=Y alarms=Y}
END

As you can see schedule A will run only when schedule C is due, and when it run it will get and save a single reading as alarms data. Thus within schedule C you have to define schedule A and B as data output as well as data and alarms mode for output.

In doing so you will put schedule A data (actually alarms) in front of schedule B data and act as a header. It is recommended to have header schedule before measurement schedule as the output will be easier to define.

Since you have several schedule, you can always create a conditional statement for each schedule within schedule A but you have to make sure the sequence will go flawlessly between the first FTP trigger and the next otherwise the header data will be jumbled and may appear within different schedule data.

Best regards,
Rudy Gunawan

Hi edie, Naturally there is no header for free format, thus you have to recreate header. If you have a single schedule, an extra schedule can be used as header. For example: BEGIN RA(ALARMS:1R)X LOGONA DO1'"Date","Time","Volt1","Volt2","Volt3"' RB1M LOGONB D T 1V 2V 3V RC1H DO{XB;COPYD dest=ftp://user:pass@address/ format=free sched=AB data=Y alarms=Y} END As you can see schedule A will run only when schedule C is due, and when it run it will get and save a single reading as alarms data. Thus within schedule C you have to define schedule A and B as data output as well as data and alarms mode for output. In doing so you will put schedule A data (actually alarms) in front of schedule B data and act as a header. It is recommended to have header schedule before measurement schedule as the output will be easier to define. Since you have several schedule, you can always create a conditional statement for each schedule within schedule A but you have to make sure the sequence will go flawlessly between the first FTP trigger and the next otherwise the header data will be jumbled and may appear within different schedule data. Best regards, Rudy Gunawan
12
250
22
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft