"Dropbox" directory fails on put
Status: Alpha
Brought to you by:
ymnk
Using sftp from the command line the following succeeds:
sftp <pathto file=""> "/update/"</pathto>
Programatically the following fails:
sftp.put(file.getPath(), "/update/")
From the command line I cannot "cd" to /update or "ls /update", but I can "put" a file to it.
The culprit seems to be the isRemoteDir() method, which is reporting it isn't although evidence suggests otherwise.
My apologies. It worked and I stupidly had the directory name wrong.