SFTP Error on save.
Posted: Tue Apr 21, 2015 4:01 am
Hello, first time user but I like what I see so far, however I had an issue when I tried to save a file to a remote server I received an error of this, "Mkpath: path must be absolute" a quick search of Google lead me to your github page where I found the following code.
The problem with my setup was for the that I put in public_html/ instead of /home/user/public_html for the default folder causing the exception to be thrown. I don't know that I would actually call this a critical bug or not however if SFTP is wanting an absolute path then the configuration box should make you enter one.
Thanks
Chris
Code: Select all
if(!tmpPath.StartsWith("/")) {
throw clException("Mkpath: path must be absolute");
}
The problem with my setup was for the that I put in public_html/ instead of /home/user/public_html for the default folder causing the exception to be thrown. I don't know that I would actually call this a critical bug or not however if SFTP is wanting an absolute path then the configuration box should make you enter one.
Thanks
Chris