Incorrect URL File

Hi Guys!

Just wondering if you encountered this kind of issue. Every time I upload a new file, it gives a wrong file_url.

What do you consider wrong about it?

What is it supposed to do and what is it actually doing?

Can you download it? Trying with which URL?

Hello @Peer ,

Thank you for the immediate response, If you notice the File Name and File URL. It has a difference.

File Name: FRC-003 Document Change Request.docx
File URL: /files/FRC-003 Document Change Request Rev00 (1).docx
It should be: /files/FRC-003 Document Change Request.docx

I tried to upload a different file. (But same content of the .docx), still incorrect File URL.

So the name of the file you secondly uploaded was “003.docx” but it has the same content (and thus the same hash)?

Maybe that’s not a bug but actually a feature.
It would make sense to conserve space when a file is uploaded several or even many times.
The file URL could actually be the URL (bench site relative) on the server, so it would just tell you under which name it’s registered on the server (said another way: where a developer or server admin could find it).
But I’m not sure about this.
Is the original filename restored when you download it? Or does it have the name of the “File URL” field after the download?

Time to read the doc and try this out myself I guess (my note to self).

1 Like

I guess, you are right @Peer !, I tried to add random letters to the content of the file and upload it. The File URL is the same as the file. Thank you!