cloudsend.sh icon indicating copy to clipboard operation
cloudsend.sh copied to clipboard

check if directory exists before trying to create it

Open liraelia opened this issue 1 year ago • 0 comments

nextcloud returns Internal Server Error when trying to upload to directory that already exists this checks if it exists and if it does it won't try to create it again and instead uses the existing one

‗‗‗‗‗‗‗‗‗‗
 CURL LOG
‾‾‾‾‾‾‾‾‾‾
CREATE DIR ERROR FOR "1.1.1"
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
        <s:exception>Internal Server Error</s:exception>
        <s:message>
                The server was unable to complete your request.         If this happens again, please send the technical details below to the server administrator.             More details can be found in the server log.                    </s:message>

        <s:technical-details>
                <s:remote-address>x.x.x.x</s:remote-address>
                <s:request-id>ia96ZqKXecFWX7c3jjWP</s:request-id>

                </s:technical-details>
</d:error>

liraelia avatar Nov 27 '24 12:11 liraelia