diff --git a/dev/index.html b/dev/index.html index 000586c..ae7d54a 100644 --- a/dev/index.html +++ b/dev/index.html @@ -1,11 +1,11 @@ SFTPClient.jl Documentation · Julia SFTPClient Documentation

SFTPClient.jl Documentation

Base.Filesystem.mvMethod

mv( sftp::SFTP, oldname::AbstractString, newname::AbstractString; )

Move, i.e., rename the file.

source
Base.Filesystem.readdirFunction

readdir(sftp::SFTP, join::Bool = false, sort::Bool = true)

Reads the current directory. Returns a vector of Strings just like the regular readdir function.

source
Base.Filesystem.mvMethod

mv( sftp::SFTP, oldname::AbstractString, newname::AbstractString; )

Move, i.e., rename the file.

source
Base.Filesystem.readdirFunction

readdir(sftp::SFTP, join::Bool = false, sort::Bool = true)

Reads the current directory. Returns a vector of Strings just like the regular readdir function.

source
SFTPClient.downloadFunction

SFTP.download( sftp::SFTP, file_name::AbstractString, output = tempname();downloadDir::Union{String, Nothing}=nothing)

 Download a file. You can download it and use it directly, or save it to a file. 
+Remove (delete) the file
source
SFTPClient.downloadFunction

SFTP.download( sftp::SFTP, file_name::AbstractString, output = tempname();downloadDir::Union{String, Nothing}=nothing)

 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:
 
@@ -15,6 +15,6 @@
 SFTPClient.download.(sftp, files, downloadDir=downloadDir)
 
 You can also use it like this:
-df=DataFrame(CSV.File(SFTPClient.download(sftp, "/mydir/test.csv")))
source
SFTPClient.rmdirMethod
rmdir(sftp::SFTP, dir_name::AbstractString)
+df=DataFrame(CSV.File(SFTPClient.download(sftp, "/mydir/test.csv")))
source
SFTPClient.uploadMethod

upload(sftp::SFTP, file_name::AbstractString)

Upload (put) a file to the server. Broadcasting can be used too.

files=readdir() upload.(sftp,files)

source
SFTPClient.SFTPMethod

SFTP(url::AbstractString, username::AbstractString, password::AbstractString;disableverifypeer=false, disableverifyhost=false)

Creates a new SFTP Client: Example: sftp = SFTP("sftp://test.rebex.net", "demo", "password") 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.

source
SFTPClient.SFTPMethod

SFTP(url::AbstractString;disableverifypeer=false, disableverifyhost=false)

Creates a new SFTP client using certificate authentication. Provide the username in the url

sftp = SFTP("sftp://nisse@mysitewhereIhaveACertificate.com")

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

source
+Remove (delete) the directorysource
SFTPClient.uploadMethod

upload(sftp::SFTP, file_name::AbstractString)

Upload (put) a file to the server. Broadcasting can be used too.

files=readdir() upload.(sftp,files)

source
SFTPClient.SFTPMethod

SFTP(url::AbstractString, username::AbstractString, password::AbstractString;disableverifypeer=false, disableverifyhost=false)

Creates a new SFTP Client: Example: sftp = SFTP("sftp://test.rebex.net", "demo", "password") 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.

source
SFTPClient.SFTPMethod

SFTP(url::AbstractString;disableverifypeer=false, disableverifyhost=false)

Creates a new SFTP client using certificate authentication. Provide the username in the url

sftp = SFTP("sftp://nisse@mysitewhereIhaveACertificate.com")

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

source
diff --git a/dev/search/index.html b/dev/search/index.html index aa69be5..6f63db0 100644 --- a/dev/search/index.html +++ b/dev/search/index.html @@ -1,2 +1,2 @@ -Search · Julia SFTPClient Documentation

Loading search...

    +Search · Julia SFTPClient Documentation

    Loading search...