Recently a unix shell script we have been using for some time stopped ftp'ing a file usnig .netrc info to login to the ftp site.
The login information hasn't changed and the only way I am able to manually ftp the file to the site is if i change the file permissions to the .zip file the script creates. I was thinking of adding this line to the entire shell script to have it do this form me but need help.
I have attached the lines of code in the script where the file is encrypted with pgp right before it is ftp'd. Could someone tell me what line i could add to ensure the permissions allow for the file to be ftp'd?
pgp +force -e -o $FILENAME.zip.pgp $FILENAME.zip data_center