Hi,
I'm trying to send data every minute using FTPS with FTPClient. This used to be done using HTTPPost, which isn't secure. It's a CR1000 with OS 32.05.
I've read the FTP Streaming guide and am doing what that says, using a slow sequence with a loop. I'm creating the filename string just before the FTPClient command, using the RTime array. When I use a command of this form:
FTP_Result = FTPClient (AddressAndPort,UserName,Password,"Table1",FilenameAndExtension,12,0,1,Min,33)
Where option 2 means save data file in passive mode, adding 10 means use FTPS. Option 33 means CSIJSON with timestamp but no record#
Data is saved in multiple files, but the filename and extension aren't what I want.
When I use the following, I get occasionally get a unique file created, with non-zero size and the right filename, but mainly there is a file with the right filename, of size 0K that keeps being overwritten:
FTP_Result = FTPClient (AddressAndPort,UserName,Password,"Table1",FilenameAndExtension,12,0,1,Min,1033)
Where option 2 means save data file in passive mode, adding 10 means use FTPS. Option 33 means CSIJSON with timestamp but no record#, adding 1000 means don't append incrementing number and file extension.
The FilenameAndExtension values are incrementing as expected, except when I try to use the custom filename.
Any ideas?
Thank you,
A
Hi,
Could I bump this please?
Thank you,
A