hierynomus / hierynomus/sshj

Exception when trying to upload to directory

Open
#333 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.7k
Forks
620
Avg merge
3d 23h
Merged PRs (30d)
11

Description

Hi,

I am getting the following exception when trying to upload to a directory.

java.io.IOException: Trying to upload file test.txt to path WBAFZTXA-SIT/test.txt but that is a directory
at net.schmizz.sshj.sftp.SFTPFileTransfer$Uploader.prepareFile(SFTPFileTransfer.java:297)

test.txt is a file, but the error message says that it is a directory. Is this because the source directory could be a virtual directory ?

Thanks.
Meena.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.