Could not parse redirect destination URL
I tried to download a zip file using get command and this error poped up
Progress: [=============================>] 100.0% of 208 bytes failed: Could not parse redirect destination URL
Can you run "set debug http" before running the get command, and post the output?
Command after logged in cd "path_of_desired_dir" set debug http get sample.zip just-A-sample-file.zip
reply from Last 2 commands
Sending request headers:
GET /path_of_desired_dir/sample.zip HTTP/1.1
User-Agent: cadaver/0.23.3 neon/0.32.2
Connection: TE
TE: trailers
Host: myhostname.com
Authorization: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Sending request-line and headers:
Request sent; retry is 1.
Aborted request (-3): Could not read status line
Persistent connection timed out, retrying.
Sending request-line and headers:
req: Connecting to 185.143.214.120:443
Request sent; retry is 0.
[status-line] < HTTP/1.1 302 Found
[hdr] Date: Thu, 16 Jun 2022 17:18:56 GMT
Header Name: [date], Value: [Thu, 16 Jun 2022 17:18:56 GMT]
[hdr] Content-Type: text/html; charset=utf-8
Header Name: [content-type], Value: [text/html; charset=utf-8]
[hdr] Content-Length: 130
Header Name: [content-length], Value: [130]
[hdr] Connection: keep-alive
Header Name: [connection], Value: [keep-alive]
[hdr] Keep-Alive: timeout=65
Header Name: [keep-alive], Value: [timeout=65]
[hdr] Etag: "16f8f28080e6c3c011dc0ecb6"
Header Name: [etag], Value: ["16f8f28080e6c3c011dc0ecb6"]
[hdr] Location: http://myhost.com/path_of_desired_dir/sample.zip?sign=24052238d1c689da
Header Name: [location], Value: [http://myhost.com/path_of_desired_dir/sample.zip?sign=24052238d1c689da]
[hdr] Set-Cookie: 885a32efa491b4a662acc05eb3fd989c=e9f9fc5b61b3468682a187a911e5ae3b; path=/; HttpOnly; Secure; SameSite=None
Header Name: [set-cookie], Value: [885a32efa491b4a662acc05eb3fd989c=e9f9fc5b61b3468682a187a911e5ae3b; path=/; HttpOnly; Secure; SameSite=None]
[hdr] Server: MyCloud
Header Name: [server], Value: [MyCloud]
[hdr] X-XSS-Protection: 1; mode=block
Header Name: [x-xss-protection], Value: [1; mode=block]
[hdr] AR-PoweredBy: MyCloud (mycloud.com)
Header Name: [ar-poweredby], Value: [MyCloud (mycloud.com)]
[hdr] AR-SID: 6250
Header Name: [ar-sid], Value: [6250]
[hdr] AR-ATIME: 0.384
Header Name: [ar-atime], Value: [0.384]
[hdr] AR-CACHE: BYPASS
Header Name: [ar-cache], Value: [BYPASS]
[hdr] AR-Request-ID: 9e36e79f60b43b75c7d1f89380111195
Header Name: [ar-request-id], Value: [9e36e79f60b43b75c7d1f89380111195]
[hdr]
End of headers.
Running post_headers hooks
Progress: [ ] 0.0% of 130 bytesReading 130 bytes of response body.
Got 130 bytes.
Progress: [=============================>] 100.0% of 130 bytesRunning post_send hooks
Running destroy hooks.
Request ends.
failed:
Could not parse redirect destination URL
Note
- sample.zip file size 4.8 GB
Is http://myhost.com/path_of_desired_dir/sample.zip?sign=24052238d1c689da literally what was sent, I'm guessing that's just an example? It looks like the error is as described, whatever was sent in Location: could not be parsed, so unless you show the real path I can only guess what the problem is.