pkg / sftp

SFTP support for the go.crypto/ssh package
BSD 2-Clause "Simplified" License
1.52k stars 380 forks source link

can mkdirall but cannot upload to folder #368

Closed rbucker closed 4 years ago

rbucker commented 4 years ago
        fmt.Printf("mkdir: %s\n", path.Dir(dst))                                                                                                                                        
        if err := mkdirAll(client, path.Dir(dst)); err != nil {                                                                                                                         
           return "", err                                                                                                                                                               
        }                                                                                                                                                                               
puellanivis commented 4 years ago

There is not enough information here to help you with your issue. Without at least error messages, or details about what is happening, there is nothing we can really do but speculate.