Permission denied while ploading a file
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- C#
- Estrellas
- 4.4k
- Forks
- 993
- Merge medio
- 9 d 21 h
- PR fusionados (30 d)
- 1
Descripción
Version: 2016.1.0.0
Issue: We have a scenario where we download the file from clients SFTP server and put it in s3 and append something to that and overwrite the existing file in SFTP. While uploading the file we are seeing this issue of permission denied.
I tried uploading the file manually through filezilla and it works without issues.
Error Details:
Message: Permission Denied.
Stack Trace:
at Renci.SshNet.Sftp.SftpSession.RequestOpen(String path, Flags flags, Boolean nullOnError)\n at Renci.SshNet.SftpClient.InternalUploadFile(Stream input, String path, Flags flags, SftpUploadAsyncResult asyncResult, Action`1 uploadCallback)\n at
I would like know
Why this is happening?
Will there be a scenario where the SFTP transfer works with filzilla but not using SSH.NET?
How to capture the messages from SSH.NET programatically?
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comience reproduciendo la carga de SftpClient descrita en el issue e inspeccione las entradas de la pila de RequestOpen e InternalUploadFile. Compare la transferencia con SSH.NET con la transferencia exitosa de FileZilla y determine cómo capturar mensajes de SSH.NET mediante programación; se considera completado cuando se haya identificado la causa de la diferencia de permisos y se haya documentado la salida de diagnóstico relevante.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp
- Área
- networking
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100