function [] = SaveFigFolderServer(fig,plotpath,plotname)
% Takes an input figure, the save plotpath, the server plotname, and then 
% saves jpg to the correct mission directory and uploads the pdf to the 
% sirocco server.
% Ben Werb 5/30/24

ServerFilePath = ['\\sirocco\wwwroot\chemsensor\Spray_sat_plots\SN',s.sn,'_most_recent_',plotname,'.pdf'];
% Save the figure as a full-page PDF
print(fig, ServerFilePath, '-dpdf', '-fillpage'); % pdf uploaded to server
saveas(fig,plotpath,'jpeg'); % jpg saved to mission folder

end