[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 255/411: CURLOPT_URL.3: clarify SCP/SFTP URLs are for uploads as
From: |
gnunet |
Subject: |
[gnurl] 255/411: CURLOPT_URL.3: clarify SCP/SFTP URLs are for uploads as well |
Date: |
Wed, 13 Jan 2021 01:21:10 +0100 |
This is an automated email from the git hooks/post-receive script.
nikita pushed a commit to branch master
in repository gnurl.
commit bfd35d5edadffa5d36e99c1c7b1b060d88510fdd
Author: Daniel Stenberg <daniel@haxx.se>
AuthorDate: Fri Oct 16 15:36:01 2020 +0200
CURLOPT_URL.3: clarify SCP/SFTP URLs are for uploads as well
---
docs/libcurl/opts/CURLOPT_URL.3 | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/docs/libcurl/opts/CURLOPT_URL.3 b/docs/libcurl/opts/CURLOPT_URL.3
index f9222c3b4..3bec3c1b0 100644
--- a/docs/libcurl/opts/CURLOPT_URL.3
+++ b/docs/libcurl/opts/CURLOPT_URL.3
@@ -220,8 +220,8 @@ For more information about the individual components of an
IMAP URL please
see RFC5092.
.IP SCP
-The path part of a SCP request specifies the file to retrieve and from what
-directory. The file part may not be omitted. The file is taken as an absolute
+The path part of an SCP URL specifies the path and file to retrieve or
+upload. The file part may not be omitted. The file is taken as an absolute
path from the root directory on the server. To specify a path relative to the
user's home directory on the server, prepend ~/ to the path portion. If the
user name is not embedded in the URL, it can be set with the
@@ -232,13 +232,12 @@ scp://user@example.com/etc/issue - This specifies the
file /etc/issue
scp://example.com/~/my-file - This specifies the file my-file in the
user's home directory on the server
.IP SFTP
-The path part of a SFTP request specifies the file to retrieve and from what
-directory. If the file part is omitted then libcurl downloads the directory
-listing for the directory specified. If the path ends in a / then a directory
-listing is returned instead of a file. If the path is omitted entirely then
-the directory listing for the root / home directory will be returned. If the
-user name is not embedded in the URL, it can be set with the
-\fICURLOPT_USERPWD(3)\fP or \fICURLOPT_USERNAME(3)\fP option.
+The path part of an SFTP URL specifies the file to retrieve or upload. If the
+path ends in a / then a directory listing is returned instead of a file. If
+the path is omitted entirely then the directory listing for the root / home
+directory will be returned. If the user name is not embedded in the URL, it
+can be set with the \fICURLOPT_USERPWD(3)\fP or \fICURLOPT_USERNAME(3)\fP
+option.
sftp://user:password@example.com/etc/issue - This specifies the file
/etc/issue
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnurl] 223/411: scripts/release-notes.pl: don't "embed" $ in format string for printf(), (continued)
- [gnurl] 223/411: scripts/release-notes.pl: don't "embed" $ in format string for printf(), gnunet, 2021/01/12
- [gnurl] 231/411: windows: fix comparison of mismatched types warning, gnunet, 2021/01/12
- [gnurl] 348/411: KNOWN_BUGS: cmake: generated .pc file contains strange entries, gnunet, 2021/01/12
- [gnurl] 318/411: hsts: remove debug code leftovers, gnunet, 2021/01/12
- [gnurl] 331/411: RELEASE-NOTES: synced, gnunet, 2021/01/12
- [gnurl] 374/411: runtests: make 'c-ares' a "feature" to depend on, gnunet, 2021/01/12
- [gnurl] 378/411: vquic/ngtcp2.h: define local_addr as sockaddr_storage, gnunet, 2021/01/12
- [gnurl] 200/411: HISTORY: add some 2020 events, gnunet, 2021/01/12
- [gnurl] 247/411: libcurl.pc: make it relocatable, gnunet, 2021/01/12
- [gnurl] 254/411: CURLOPT_TCP_NODELAY.3: fix comment in example code, gnunet, 2021/01/12
- [gnurl] 255/411: CURLOPT_URL.3: clarify SCP/SFTP URLs are for uploads as well,
gnunet <=
- [gnurl] 216/411: checksrc: warn on space after exclamation mark, gnunet, 2021/01/12
- [gnurl] 225/411: curl: make sure setopt CURLOPT_IPRESOLVE passes on a long, gnunet, 2021/01/12
- [gnurl] 239/411: RELEASE-NOTES: synced, gnunet, 2021/01/12
- [gnurl] 214/411: runtests: allow generating a binary sequence from hex, gnunet, 2021/01/12
- [gnurl] 238/411: THANKS: from 7.73.0 and .mailmap fixes, gnunet, 2021/01/12
- [gnurl] 340/411: release-notes.pl: detect #[number] better for Ref: etc, gnunet, 2021/01/12
- [gnurl] 352/411: KNOWN_BUGS: cmake: libspsl is not supported, gnunet, 2021/01/12
- [gnurl] 284/411: tool_operate: bail out proper on errors for parallel setup, gnunet, 2021/01/12
- [gnurl] 288/411: acinclude: detect manually set minimum macos/ipod version, gnunet, 2021/01/12
- [gnurl] 375/411: test506: make it not run in c-ares builds, gnunet, 2021/01/12