Skip to content

Commit 85fa842

Browse files
committed
ReadMe
1 parent e878b51 commit 85fa842

1 file changed

Lines changed: 21 additions & 4 deletions

File tree

Readme.MD

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# FTP/SFTP/FTPS Class
22
Using cURL - providing an easy to use wrapper
33

4-
## Introduktion
4+
## Introduction
55
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).
66

77
The preinstalled cURL version supports FTP and FTPS. By installing "your" own version SFTP will be supported additionally.
@@ -29,7 +29,7 @@ If ($result.success)
2929
End if
3030
```
3131

32-
# Feature set
32+
# Feature overview
3333
- Upload
3434
- Download
3535
- Directory Listing
@@ -38,11 +38,27 @@ End if
3838

3939
# Installation
4040

41-
Copy class
41+
Copy class methods:
42+
- FileTansfer.4DM
43+
- SytemWorkerProperties.4dm
44+
and Project Method ErrorHandler.4dm
45+
If you already have a silent ErrorHandler method (no output, just to prevent an error message displayed on screen, error handled by code), just use your existing one.
46+
47+
Method ProgressCallback.4dm can be used as example how to create a progress bar - if needed.
48+
49+
Copy this 2-4 files into your project, done.
4250

4351
# Full documentation
4452

4553

54+
install curl for sftp
55+
to accept certificate, it needs to be in known_hosts
56+
to do so, on this computer, use terminal/console and enter once
57+
ssh name@host
58+
enter password
59+
-> added to local_host
60+
61+
from this moment, curl will accept this certificate
4662

4763
To do:
4864

@@ -59,6 +75,8 @@ To do:
5975

6076

6177
Examples for setCurlPrefix
78+
79+
ssl cipers, certificate files
6280

6381
--limit-rate <speed>
6482

@@ -109,4 +127,3 @@ If this option is used several times, the last one will be used.
109127
--retry-max-time (total time before it's considered failed)
110128

111129

112-
4D IC wrapper?

0 commit comments

Comments
 (0)