Hey, I want to change the request query depending on whether it is a file upload or a folder upload. I made query a function, and currently I check if the file name is the same as the file relative path. If it is, then I assume it is a file upload, otherwise folder upload. I was wondering if there is a cleaner way of doing this.
Hi @ofekih, I came here to ask how you're able to allow uploads for both directories and files. It seems to allow one of the other, but I can't get the option for both to be allowed. Thanks.
Hey, I want to change the request query depending on whether it is a file upload or a folder upload. I made query a function, and currently I check if the file name is the same as the file relative path. If it is, then I assume it is a file upload, otherwise folder upload. I was wondering if there is a cleaner way of doing this.
Thanks in advance,