Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

FTPClient two servers


Spol Oct 15, 2020 05:37 AM

Hi,

is it possible to send table data to two different ftp server at once? I tried, but the second call send data only the first time.

Thanks,

Paolo

'''''''''''''''''''''''''''''''''''''''''''''''''''''
' Slow scan frequence - FTP
'''''''''''''''''''''''''''''''''''''''''''''''''''''
SlowSequence
Do
    Delay(1,10,Sec)

    ' Send file in append mode (9) with progressive counter
    FTP_FileName = DL_Name & "-"       FTPClient(FTP_HostIp,FTP_User,FTP_Password,"TableMain",FTP_FilePath&"/"&FTP_FileName,9,0,TableTime,Min,-8)

    ' Send file in append mode (9) with fixed file name

    FTP2_FileName = DL_Name & ".csv"
  FTPClient(FTP2_HostIp,FTP2_User,FTP2_Password,"TableMain",FTP2_FilePath&"/"&FTP2_FileName,9,0,TableTime,Min,1008)

Loop

Log in or register to post/reply in the forum.