Skip to content

Commit

Permalink
SFTP Examples: Moved to tar.gz
Browse files Browse the repository at this point in the history
  • Loading branch information
oscerd committed Feb 25, 2021
1 parent bfe951f commit bfcdaf4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions sftp/sftp-sink/README.adoc
Expand Up @@ -55,13 +55,13 @@ plugin.path=/home/oscerd/connectors

=== Download the connector package

Download the connector package zip and extract the content to the plugin.path directory. In this example we'll use `/home/oscerd/connectors/`
Download the connector package tar.gz and extract the content to the plugin.path directory. In this example we'll use `/home/oscerd/connectors/`

[source]
----
> cd /home/oscerd/connectors/
> wget https://repo1.maven.org/maven2/org/apache/camel/kafkaconnector/camel-sftp-kafka-connector/0.8.0/camel-sftp-kafka-connector-0.8.0-package.zip
> unzip camel-sftp-kafka-connector-0.8.0-package.zip
> wget https://repo1.maven.org/maven2/org/apache/camel/kafkaconnector/camel-sftp-kafka-connector/0.8.0/camel-sftp-kafka-connector-0.8.0-package.tar.gz
> untar.gz camel-sftp-kafka-connector-0.8.0-package.tar.gz
----

Open the SFTP sink configuration file
Expand Down
6 changes: 3 additions & 3 deletions sftp/sftp-source/README.adoc
Expand Up @@ -160,12 +160,12 @@ Now we need to build the connector:
> mvn clean package
```

In this example we'll use `/home/oscerd/connectors/` as plugin.path, but we'll need the generated zip from the previois build
In this example we'll use `/home/oscerd/connectors/` as plugin.path, but we'll need the generated tar.gz from the previois build

```
> cd /home/oscerd/connectors/
> cp /home/workspace/miscellanea/sftp-extended/target/sftp-extended-0.8.0-package.zip .
> unzip sftp-extended-0.8.0-package.zip
> cp /home/workspace/miscellanea/sftp-extended/target/sftp-extended-0.8.0-package.tar.gz .
> untar.gz sftp-extended-0.8.0-package.tar.gz
```

Now it's time to setup the connector
Expand Down

0 comments on commit bfcdaf4

Please sign in to comment.