Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't deal with "&" in url? #12

Open
lweo opened this issue Jun 1, 2020 · 5 comments
Open

can't deal with "&" in url? #12

lweo opened this issue Jun 1, 2020 · 5 comments

Comments

@lweo
Copy link

lweo commented Jun 1, 2020

saldl -v

Describe the issue / How to reproduce

if there's a "&" in URL, it can't read the whole URL. For example,

it throw out this error.
'fid' is not an internal or external command, nor is it a runnable program or batch file.

log output (if needed)

微信截图_20200601162526

@MoSal
Copy link
Member

MoSal commented Jun 1, 2020

Are you sure it's not a shell issue. Did you try putting the URL between single or double quotes?

@MoSal
Copy link
Member

MoSal commented Jun 1, 2020

Also, you don't have to pass the ctrl file to --resume. --resume doesn't take an argument.

@MoSal
Copy link
Member

MoSal commented Jun 1, 2020

To recap, what you want is:

saldl --resume -o "$path" "$url"

where $path is the final path. It does not include .part.sal or .ctrl.sal.

@lweo
Copy link
Author

lweo commented Jun 10, 2020

Also, you don't have to pass the ctrl file to --resume. --resume doesn't take an argument.

I have read the manual, it said "
-r, --resume
resume download.
(requires a .ctrl.sal to exist with a matching filesize)
"

@MoSal
Copy link
Member

MoSal commented Jun 10, 2020

I have read the manual, it said "
-r, --resume
resume download.
(requires a .ctrl.sal to exist with a matching filesize)
"

Requires the file to exist, not the name of the file to be passed as argument.

I'll clarify the wording. Thank you for pointing out this source of confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants