Skip to content

Commit

Permalink
build based on c50a41f
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Sep 3, 2023
1 parent c52142f commit f1d0d1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions dev/index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><title>SFTPClient.jl Documentation · Julia SFTPClient Documentation </title><script data-outdated-warner src="assets/warner.js"></script><link href="https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/css/lato-font.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/juliamono/0.045/juliamono.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/fontawesome.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/solid.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/brands.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.13.24/katex.min.css" rel="stylesheet" type="text/css"/><script>documenterBaseURL="."</script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" data-main="assets/documenter.js"></script><script src="siteinfo.js"></script><script src="../versions.js"></script><link class="docs-theme-link" rel="stylesheet" type="text/css" href="assets/themes/documenter-dark.css" data-theme-name="documenter-dark" data-theme-primary-dark/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="assets/themes/documenter-light.css" data-theme-name="documenter-light" data-theme-primary/><script src="assets/themeswap.js"></script></head><body><div id="documenter"><nav class="docs-sidebar"><div class="docs-package-name"><span class="docs-autofit"><a href>Julia SFTPClient Documentation </a></span></div><form class="docs-search" action="search/"><input class="docs-search-query" id="documenter-search-query" name="q" type="text" placeholder="Search docs"/></form><ul class="docs-menu"><li class="is-active"><a class="tocitem" href>SFTPClient.jl Documentation</a></li></ul><div class="docs-version-selector field has-addons"><div class="control"><span class="docs-label button is-static is-size-7">Version</span></div><div class="docs-selector control is-expanded"><div class="select is-fullwidth is-size-7"><select id="documenter-version-selector"></select></div></div></div></nav><div class="docs-main"><header class="docs-navbar"><nav class="breadcrumb"><ul class="is-hidden-mobile"><li class="is-active"><a href>SFTPClient.jl Documentation</a></li></ul><ul class="is-hidden-tablet"><li class="is-active"><a href>SFTPClient.jl Documentation</a></li></ul></nav><div class="docs-right"><a class="docs-edit-link" href="https://github.com/stensmo/SFTPClient.jl/blob/main/docs/src/index.md" title="Edit on GitHub"><span class="docs-icon fab"></span><span class="docs-label is-hidden-touch">Edit on GitHub</span></a><a class="docs-settings-button fas fa-cog" id="documenter-settings-button" href="#" title="Settings"></a><a class="docs-sidebar-button fa fa-bars is-hidden-desktop" id="documenter-sidebar-button" href="#"></a></div></header><article class="content" id="documenter-page"><h1 id="SFTPClient.jl-Documentation"><a class="docs-heading-anchor" href="#SFTPClient.jl-Documentation">SFTPClient.jl Documentation</a><a id="SFTPClient.jl-Documentation-1"></a><a class="docs-heading-anchor-permalink" href="#SFTPClient.jl-Documentation" title="Permalink"></a></h1><article class="docstring"><header><a class="docstring-binding" id="Base.Filesystem.cd-Tuple{SFTP, AbstractString}" href="#Base.Filesystem.cd-Tuple{SFTP, AbstractString}"><code>Base.Filesystem.cd</code></a><span class="docstring-category">Method</span></header><section><div><pre><code class="language-julia hljs">cd(sftp::SFTP, dir::AbstractString)

Change the directory for the SFTP client.</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/stensmo/SFTPClient.jl/blob/7790ee16db25f4de7845d44dc75465a98ccab1fa/src/SFTPImpl.jl#L261-L266">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="Base.Filesystem.mkdir-Tuple{SFTP, AbstractString}" href="#Base.Filesystem.mkdir-Tuple{SFTP, AbstractString}"><code>Base.Filesystem.mkdir</code></a><span class="docstring-category">Method</span></header><section><div><pre><code class="language-julia hljs">mkdir(sftp::SFTP, dir::AbstractString)
Change the directory for the SFTP client.</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/stensmo/SFTPClient.jl/blob/c50a41f616a99d26f4b9c3419f69ad2b28513f6a/src/SFTPImpl.jl#L261-L266">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="Base.Filesystem.mkdir-Tuple{SFTP, AbstractString}" href="#Base.Filesystem.mkdir-Tuple{SFTP, AbstractString}"><code>Base.Filesystem.mkdir</code></a><span class="docstring-category">Method</span></header><section><div><pre><code class="language-julia hljs">mkdir(sftp::SFTP, dir::AbstractString)

Create a directory</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/stensmo/SFTPClient.jl/blob/7790ee16db25f4de7845d44dc75465a98ccab1fa/src/SFTPImpl.jl#L307-L313">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="Base.Filesystem.mv-Tuple{SFTP, AbstractString, AbstractString}" href="#Base.Filesystem.mv-Tuple{SFTP, AbstractString, AbstractString}"><code>Base.Filesystem.mv</code></a><span class="docstring-category">Method</span></header><section><div><p>mv( sftp::SFTP, old<em>name::AbstractString, new</em>name::AbstractString; )</p><p>Move, i.e., rename the file. </p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/stensmo/SFTPClient.jl/blob/7790ee16db25f4de7845d44dc75465a98ccab1fa/src/SFTPImpl.jl#L319-L328">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="Base.Filesystem.readdir" href="#Base.Filesystem.readdir"><code>Base.Filesystem.readdir</code></a><span class="docstring-category">Function</span></header><section><div><p>readdir(sftp::SFTP, join::Bool = false, sort::Bool = true)</p><p>Reads the current directory. Returns a vector of Strings just like the regular readdir function.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/stensmo/SFTPClient.jl/blob/7790ee16db25f4de7845d44dc75465a98ccab1fa/src/SFTPImpl.jl#L216-L221">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="Base.Filesystem.rm-Tuple{SFTP, AbstractString}" href="#Base.Filesystem.rm-Tuple{SFTP, AbstractString}"><code>Base.Filesystem.rm</code></a><span class="docstring-category">Method</span></header><section><div><pre><code class="language-julia hljs">rm(sftp::SFTP, file_name::AbstractString)
Create a directory</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/stensmo/SFTPClient.jl/blob/c50a41f616a99d26f4b9c3419f69ad2b28513f6a/src/SFTPImpl.jl#L307-L313">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="Base.Filesystem.mv-Tuple{SFTP, AbstractString, AbstractString}" href="#Base.Filesystem.mv-Tuple{SFTP, AbstractString, AbstractString}"><code>Base.Filesystem.mv</code></a><span class="docstring-category">Method</span></header><section><div><p>mv( sftp::SFTP, old<em>name::AbstractString, new</em>name::AbstractString; )</p><p>Move, i.e., rename the file. </p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/stensmo/SFTPClient.jl/blob/c50a41f616a99d26f4b9c3419f69ad2b28513f6a/src/SFTPImpl.jl#L319-L328">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="Base.Filesystem.readdir" href="#Base.Filesystem.readdir"><code>Base.Filesystem.readdir</code></a><span class="docstring-category">Function</span></header><section><div><p>readdir(sftp::SFTP, join::Bool = false, sort::Bool = true)</p><p>Reads the current directory. Returns a vector of Strings just like the regular readdir function.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/stensmo/SFTPClient.jl/blob/c50a41f616a99d26f4b9c3419f69ad2b28513f6a/src/SFTPImpl.jl#L216-L221">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="Base.Filesystem.rm-Tuple{SFTP, AbstractString}" href="#Base.Filesystem.rm-Tuple{SFTP, AbstractString}"><code>Base.Filesystem.rm</code></a><span class="docstring-category">Method</span></header><section><div><pre><code class="language-julia hljs">rm(sftp::SFTP, file_name::AbstractString)

Remove (delete) the file</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/stensmo/SFTPClient.jl/blob/7790ee16db25f4de7845d44dc75465a98ccab1fa/src/SFTPImpl.jl#L286-L291">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="SFTPClient.download" href="#SFTPClient.download"><code>SFTPClient.download</code></a><span class="docstring-category">Function</span></header><section><div><p>SFTP.download( sftp::SFTP, file_name::AbstractString, output = tempname();downloadDir::Union{String, Nothing}=nothing)</p><pre><code class="nohighlight hljs"> Download a file. You can download it and use it directly, or save it to a file.
Remove (delete) the file</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/stensmo/SFTPClient.jl/blob/c50a41f616a99d26f4b9c3419f69ad2b28513f6a/src/SFTPImpl.jl#L286-L291">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="SFTPClient.download" href="#SFTPClient.download"><code>SFTPClient.download</code></a><span class="docstring-category">Function</span></header><section><div><p>SFTP.download( sftp::SFTP, file_name::AbstractString, output = tempname();downloadDir::Union{String, Nothing}=nothing)</p><pre><code class="nohighlight hljs"> Download a file. You can download it and use it directly, or save it to a file.
Specify downloadDir if you want to save downloaded files. You can also use broadcasting.
Example:

Expand All @@ -15,6 +15,6 @@
SFTPClient.download.(sftp, files, downloadDir=downloadDir)

You can also use it like this:
df=DataFrame(CSV.File(SFTPClient.download(sftp, &quot;/mydir/test.csv&quot;)))</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/stensmo/SFTPClient.jl/blob/7790ee16db25f4de7845d44dc75465a98ccab1fa/src/SFTPImpl.jl#L167-L187">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="SFTPClient.rmdir-Tuple{SFTP, AbstractString}" href="#SFTPClient.rmdir-Tuple{SFTP, AbstractString}"><code>SFTPClient.rmdir</code></a><span class="docstring-category">Method</span></header><section><div><pre><code class="language-julia hljs">rmdir(sftp::SFTP, dir_name::AbstractString)
df=DataFrame(CSV.File(SFTPClient.download(sftp, &quot;/mydir/test.csv&quot;)))</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/stensmo/SFTPClient.jl/blob/c50a41f616a99d26f4b9c3419f69ad2b28513f6a/src/SFTPImpl.jl#L167-L187">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="SFTPClient.rmdir-Tuple{SFTP, AbstractString}" href="#SFTPClient.rmdir-Tuple{SFTP, AbstractString}"><code>SFTPClient.rmdir</code></a><span class="docstring-category">Method</span></header><section><div><pre><code class="language-julia hljs">rmdir(sftp::SFTP, dir_name::AbstractString)

Remove (delete) the directory</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/stensmo/SFTPClient.jl/blob/7790ee16db25f4de7845d44dc75465a98ccab1fa/src/SFTPImpl.jl#L297-L301">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="SFTPClient.upload-Tuple{SFTP, AbstractString}" href="#SFTPClient.upload-Tuple{SFTP, AbstractString}"><code>SFTPClient.upload</code></a><span class="docstring-category">Method</span></header><section><div><p>upload(sftp::SFTP, file_name::AbstractString)</p><p>Upload (put) a file to the server. Broadcasting can be used too. </p><p>files=readdir() upload.(sftp,files)</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/stensmo/SFTPClient.jl/blob/7790ee16db25f4de7845d44dc75465a98ccab1fa/src/SFTPImpl.jl#L139-L147">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="SFTPClient.SFTP-Tuple{AbstractString, AbstractString, AbstractString}" href="#SFTPClient.SFTP-Tuple{AbstractString, AbstractString, AbstractString}"><code>SFTPClient.SFTP</code></a><span class="docstring-category">Method</span></header><section><div><p>SFTP(url::AbstractString, username::AbstractString, password::AbstractString;disable<em>verify</em>peer=false, disable<em>verify</em>host=false)</p><p>Creates a new SFTP Client: Example: sftp = SFTP(&quot;sftp://test.rebex.net&quot;, &quot;demo&quot;, &quot;password&quot;) Note! Before your first connect you need to go to the site using your local sftp install, and accept the certificate. On Windows, use Windows PowerShell or command prompt. sftp -o HostKeyAlgorithms=ecdsa-sha2-nistp256 demo@test.rebex.net Accept the certificate, Provide password as the password. </p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/stensmo/SFTPClient.jl/blob/7790ee16db25f4de7845d44dc75465a98ccab1fa/src/SFTPImpl.jl#L35-L44">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="SFTPClient.SFTP-Tuple{AbstractString}" href="#SFTPClient.SFTP-Tuple{AbstractString}"><code>SFTPClient.SFTP</code></a><span class="docstring-category">Method</span></header><section><div><p>SFTP(url::AbstractString;disable<em>verify</em>peer=false, disable<em>verify</em>host=false)</p><p>Creates a new SFTP client using certificate authentication. Provide the username in the url</p><p>sftp = SFTP(&quot;sftp://nisse@mysitewhereIhaveACertificate.com&quot;)</p><p>Note! Before your first connect you need to connect to the site using your local sftp install, and make sure the certificate works. On Windows, use Windows PowerShell or command prompt. Execute: sftp -o HostKeyAlgorithms=ecdsa-sha2-nistp256 nisse@mysitewhereIhaveACertificate.com</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/stensmo/SFTPClient.jl/blob/7790ee16db25f4de7845d44dc75465a98ccab1fa/src/SFTPImpl.jl#L16-L26">source</a></section></article></article><nav class="docs-footer"><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Sunday 3 September 2023 22:50">Sunday 3 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Remove (delete) the directory</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/stensmo/SFTPClient.jl/blob/c50a41f616a99d26f4b9c3419f69ad2b28513f6a/src/SFTPImpl.jl#L297-L301">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="SFTPClient.upload-Tuple{SFTP, AbstractString}" href="#SFTPClient.upload-Tuple{SFTP, AbstractString}"><code>SFTPClient.upload</code></a><span class="docstring-category">Method</span></header><section><div><p>upload(sftp::SFTP, file_name::AbstractString)</p><p>Upload (put) a file to the server. Broadcasting can be used too. </p><p>files=readdir() upload.(sftp,files)</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/stensmo/SFTPClient.jl/blob/c50a41f616a99d26f4b9c3419f69ad2b28513f6a/src/SFTPImpl.jl#L139-L147">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="SFTPClient.SFTP-Tuple{AbstractString, AbstractString, AbstractString}" href="#SFTPClient.SFTP-Tuple{AbstractString, AbstractString, AbstractString}"><code>SFTPClient.SFTP</code></a><span class="docstring-category">Method</span></header><section><div><p>SFTP(url::AbstractString, username::AbstractString, password::AbstractString;disable<em>verify</em>peer=false, disable<em>verify</em>host=false)</p><p>Creates a new SFTP Client: Example: sftp = SFTP(&quot;sftp://test.rebex.net&quot;, &quot;demo&quot;, &quot;password&quot;) Note! Before your first connect you need to go to the site using your local sftp install, and accept the certificate. On Windows, use Windows PowerShell or command prompt. sftp -o HostKeyAlgorithms=ecdsa-sha2-nistp256 demo@test.rebex.net Accept the certificate, Provide password as the password. </p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/stensmo/SFTPClient.jl/blob/c50a41f616a99d26f4b9c3419f69ad2b28513f6a/src/SFTPImpl.jl#L35-L44">source</a></section></article><article class="docstring"><header><a class="docstring-binding" id="SFTPClient.SFTP-Tuple{AbstractString}" href="#SFTPClient.SFTP-Tuple{AbstractString}"><code>SFTPClient.SFTP</code></a><span class="docstring-category">Method</span></header><section><div><p>SFTP(url::AbstractString;disable<em>verify</em>peer=false, disable<em>verify</em>host=false)</p><p>Creates a new SFTP client using certificate authentication. Provide the username in the url</p><p>sftp = SFTP(&quot;sftp://nisse@mysitewhereIhaveACertificate.com&quot;)</p><p>Note! Before your first connect you need to connect to the site using your local sftp install, and make sure the certificate works. On Windows, use Windows PowerShell or command prompt. Execute: sftp -o HostKeyAlgorithms=ecdsa-sha2-nistp256 nisse@mysitewhereIhaveACertificate.com</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/stensmo/SFTPClient.jl/blob/c50a41f616a99d26f4b9c3419f69ad2b28513f6a/src/SFTPImpl.jl#L16-L26">source</a></section></article></article><nav class="docs-footer"><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Sunday 3 September 2023 22:54">Sunday 3 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit f1d0d1a

Please sign in to comment.