You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.MD
+55-7Lines changed: 55 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,48 @@
1
-
## FTP/STP Class
2
-
(using cURL - providing an easy to use wrapper)
1
+
# FTP/SFTP/FTPS Class
2
+
Using cURL - providing an easy to use wrapper
3
+
4
+
## Introduktion
5
+
cURL is a standard tool to access files via many different protocols and is preinstalled on macOS and Windows (in Windows 10, Windows 11, Windows Server 2019 and 2022).
6
+
7
+
The preinstalled cURL version supports FTP and FTPS. By installing "your" own version SFTP will be supported additionally.
8
+
Precompiled versions for Windows can be downloaded from:
9
+
[curl.se](https://curl.se/download.html)
10
+
which allows to use Windows Server 2012 or 2016.
11
+
12
+
To use SFTP on Mac you need to install [Homebrew](https://brew.sh) and run:
13
+
```
14
+
homebrew install curl
15
+
```
16
+
17
+
This class allows easy usage of cURL to transfer files to and from FTP and FTPS servers.
If a download is slower than speed-limit bytes per second during a speed-time period, the download gets aborted. If speed-time is used, the default speed-limit will be 1 unless set with -y.
41
89
42
90
This option controls transfers and thus will not affect slow connects etc. If this is a concern for you, try the --connect-timeout option.
0 commit comments