When using a remote Mathematica kernel, how can you test if a file exists on the local front end machine? Of course FileExistsQ cannot be used in this scenario, because it only works on the kernel file system.
There are some undocumented functions in the FrontEnd context, which may do the trick with FrontEndExecute:
Names["FrontEnd`*File*"]
yields
{"FrontEnd`FileBrowse", "FrontEnd`Filename", "FrontEnd`FileName", "FrontEnd`FindFileOnPath", "FrontEnd`ToFileName"}
SetOptions[$FrontEnd(e.g.,NotebookBrowseDirectory), the kernel can make sure that a valid value is set. – sakra Jul 21 '15 at 19:22CurrentValue[$FrontEnd, NotebookAutoSave]for that? – Sjoerd C. de Vries Jul 21 '15 at 19:33