I have a field unit collecting and saving data on a datalogging shield (SD-card). Every 24-hours I need to upload this data to a remote server. The saved file is usually about 8MB, however the scientists are still finalizing their requirements (the number of samples they want to take) and the data could increase.
I have an FTP server configured and running to upload the files to, the FTP server is working.
RESTRICTION
The device cannot remain on, uploading the data as it samples, because the device has a limited battery.
IMPORTANT NOTES
Hardware
Arduino MEGA 2560
Mayhew Enhanced ADC shield (analog to digital sensor module)
Adafruit Datalogging shield (for data storage on SD card)
Botletics SIM7000 LTE/GPS shield (for GPS and date/time data as well as connectivity for upload)
I've been looking into sending the files using FTPEXTPUT, however the AT command manual states the data length has to be between 0 and 300k. The examples I've found also read the entire file into memory before transmission (which I obviously can't do because of the memory constraints on the Mega).
I have very little experience with electronics, no experience at all with AT components and am learning for this project.
Has anyone transferred large files like these using Arduino's before? I would appreciate any help, even just a point to some additional resources.
Thank you.