-5

I'm in a chatroom to discuss writing some wiki stuff for the stack and the person I'm working with asked me to write a draft and upload it to the chat. I wrote it, turned it into a PDF, and tried to upload.

enter image description here

Notice that even before I try to upload it, it says "C:" in front of the file name. That's a Windows thing! Or maybe Linux does it too, I don't know. But it's certainly not how my Mac names file paths.

Then notice how the pathway is relabeled "fakepath". That's obviously not coming from my end. The path ought to be Cyn/Writing/Articles.

I also tried to upload the Word version and got an identical error.

I finally gave up and put it on Dropbox instead. But what's the scoop here? Is this a problem with all Macs or what? My rep on Chat is 14k, so it's not that.

6
  1. PDFs are not images. Chat only allows you to upload images. You can't, therefore, upload a PDF directly to chat. Use an external hosting service, such as Dropbox, OneDrive, or Google Drive instead, and share a link to it in chat.

  2. C:\fakepath is a browser standard. Browsers insert that string before the name of any file you upload, anywhere, because... it's a standard. Using the real file path would be a privacy risk; if the real path was Y:\Users\Rumplestiltskin\TopSuperSecretProject\VeryImportantDocument.pdf, then by uploading it you'd be exposing that your real name is Rumplestiltskin and you're working on TopSuperSecretProject.

Not the answer you're looking for? Browse other questions tagged .