Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
8f03732b
Commit
8f03732b
authored
24 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
updated with more examples
parent
138fe1b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/FAQ
+24
-4
24 additions, 4 deletions
docs/FAQ
with
24 additions
and
4 deletions
docs/FAQ
+
24
−
4
View file @
8f03732b
...
...
@@ -40,6 +40,8 @@ FAQ
Yes. Both ways on FTP, download ways on HTTP.
Try the -c and -C options.
4. Is libcurl thread safe?
As version seven is slowly marching in as the libcurl version to use, we
...
...
@@ -124,13 +126,23 @@ FAQ
part of a URL, you should qoute the entire URL by using single (') or
double (") quotes round it.
An example that would invoke a remote CGI that uses &-letters could be:
# curl "http://www.altavista.com/cgi-bin/query?text=yes&q=curl"
10. How can I use {, }, [ or ] to specify multiple URLs?
Because those letters have a special meaning to the shell, and to be used
in a URL specified to curl you must quote them.
An example that downloads two URLs (sequentially) would do:
# curl '{curl,www}.haxx.se'
11. Where can I find a copy of LIBEAY32.DLL?
That is an OpenSSL binary built for Windows.
Curl uses OpenSSL to do the SSL stuff. The LIBEAY32.DLL is what curl needs
on a windows machine to do https://. Check out the curl web page to find
accurate and up-to-date pointers to recent OpenSSL DDLs and other binary
...
...
@@ -143,6 +155,9 @@ FAQ
respond and that means that headers and a "page" will be returned. That's
simply how HTTP works.
By using the --fail option you can tell curl explicitly to not get any data
if the HTTP return code doesn't say success.
13. Why do I get "HTTP/1.1 403 Forbidden" from a http server?
RFC2616 clearly explains this return code:
...
...
@@ -173,12 +188,12 @@ FAQ
16. How do I keep usernames and passwords secret in Curl command lines?
I see this problem
in
two parts:
I see this problem
as
two parts:
The first part is to avoid having clear-text passwords in the command line
so that they appear in 'ps' outputs and similar. That is easily
avoided by
using the "-K
-" contruct
that
cause
s curl to read parameters from
stdin to
which you can pass the secret info.
so that they
don't
appear in 'ps' outputs and similar. That is easily
avoided by
using the "-K
" option
that
tell
s curl to read parameters from
a
file or stdin to
which you can pass the secret info.
To keep the passwords in your account secret from the rest of the world is
not a task that curl addresses. You could of course encrypt them somehow to
...
...
@@ -204,3 +219,8 @@ FAQ
19. Can I use curl to delete/rename a file through FTP?
Yes. You specify custom ftp commands with -Q/--quote.
One example would be to delete a file after you have downloaded it:
# curl -O ftp://download.com/coolfile -Q "-DELE coolfile"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment