Skip to content

itslearninggermany/sftp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Easy to use SFTP Uploader out of the box

##Example

package main

import (
	"fmt"
	"github.com/itslearninggermany/sftp"
	)

func main ()  {
 	sftpServer :=  sftp.NewSFTPUpload("username","password", "server")
 	fmt.Println(sftpServer.SetTargetFolder("upload/").UploadAFile("./","dd.html"))
	fmt.Println(sftpServer.SetTargetFolder("upload/").SetFilenameOnServer("test.txt").UploadContent([]byte("Content")))
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages