I was having issues with my Opto22 account, hence my late reply. But I did see that example posted. And thanks to your example, my data logging routines work perfectly.
I was tinkering with the FTP example, and after struggling with it for days, I was about to take on a challenge to make a more simple, easy-to-follow example of FTP data logging. But since your example was simple and efficient (and eliminates the need of FTP login!), I see no need to take on that task anymore. Maybe I'll find something else to improve upon...
Anyways, thanks for your help Mary!