Hi,

beware: without a file, you cannot set its permissions ...
and without permissions, you cannot even create a file

method 1: upload an empty file saveLocal.txt, and then use ftp to change permissions
method 2: create a folder in ftp, change permissions (would be r,w,x in all groups here), and modify the script to save to a file in that folder

Musicman