mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
allow for creating folders on remote
This commit is contained in:
parent
4c0c16cddb
commit
f74816c7c7
2 changed files with 71 additions and 13 deletions
7
main.go
7
main.go
|
@ -15,7 +15,12 @@ func main() {
|
|||
panic(err)
|
||||
}
|
||||
if sender {
|
||||
err = c.Send("test.txt")
|
||||
err = c.Send(croc.TransferOptions{
|
||||
// PathToFile: "../wskeystore/README.md",
|
||||
// PathToFile: "./src/croc/croc.go",
|
||||
PathToFile: "C:\\Users\\zacks\\go\\src\\github.com\\schollz\\croc\\src\\croc\\croc.go",
|
||||
KeepPathInRemote: false,
|
||||
})
|
||||
} else {
|
||||
err = c.Receive()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue