SFTP Bookmark URLs changed
Moderator: admin
SFTP Bookmark URLs changed
In LogMX v4.0.2, my SFTP bookmark URLs are missing the leading "/" character. I noticed this after upgrading. If I fix them, the changes are kept. It may be an upgrade issue, I'm not sure. Local URLs are OK.
Re: SFTP Bookmark URLs changed
Hello,
Since LogMX v4.0.1, all SCP/SFTP URLs created with LogMX < v4.0.1 are converted according to the new URL format that can now support IP v6 addresses:
old format:
new format:
You're right, the v4.0.0 URL:
"sftp://user@host:/home/user/file.log" is converted by LogMX v4.0.1 (and v4.0.2) to:
"sftp://user@host/home/user/file.log", which means path "home/user/file.log" and not "/home/user/file.log".
I think it is a bug, but I'm not sure: during our tests, several SFTP servers managed to open the converted URLs. Surely because these SFTP servers make the assumption that the given path is absolute even if not starting with "/"... Do your converted URLs work? If it doesn't: which STFP server are you using?
Xavier
Since LogMX v4.0.1, all SCP/SFTP URLs created with LogMX < v4.0.1 are converted according to the new URL format that can now support IP v6 addresses:
old format:
Code: Select all
PROTOCOL://LOGIN@HOST:[PORT:]FILE
Code: Select all
PROTOCOL://LOGIN@HOST[:PORT]/FILE
"sftp://user@host:/home/user/file.log" is converted by LogMX v4.0.1 (and v4.0.2) to:
"sftp://user@host/home/user/file.log", which means path "home/user/file.log" and not "/home/user/file.log".
I think it is a bug, but I'm not sure: during our tests, several SFTP servers managed to open the converted URLs. Surely because these SFTP servers make the assumption that the given path is absolute even if not starting with "/"... Do your converted URLs work? If it doesn't: which STFP server are you using?
Xavier
Re: SFTP Bookmark URLs changed
The converted URLs don't work for me, that is how I found the issue.
I'm connecting to a Red Hat Linux machine with OpenSSH_4.3p2 installed.
I'm connecting to a Red Hat Linux machine with OpenSSH_4.3p2 installed.
Re: SFTP Bookmark URLs changed
OK. Sorry for the inconvenience. We will then fix this conversion procedure.
But only pre-v4.0.1 URLs conversion can be fixed, since already converted URLs can't be fixed anymore (some users may have already added the missing trailing "/", or maybe someone has created a new URL like "mydir/myfile" to use a relative path...).
Xavier
But only pre-v4.0.1 URLs conversion can be fixed, since already converted URLs can't be fixed anymore (some users may have already added the missing trailing "/", or maybe someone has created a new URL like "mydir/myfile" to use a relative path...).
Xavier
Re: SFTP Bookmark URLs changed
That is OK. I fixed the issue in my Bookmarks already. I wanted to report the issue though.
Re: SFTP Bookmark URLs changed
OK thanks. We will fix it though, so that users upgrading from pre-v4.0.0 to v4.1.x+ will not have this issue
Last edited by admin on Sun Sep 08, 2013 7:40 pm, edited 1 time in total.
Reason: Fixed targeted new version (v4.1.0)
Reason: Fixed targeted new version (v4.1.0)
Re: SFTP Bookmark URLs changed
Hello,
LogMX v4.1.0 is now released and includes a fix for this bug.
LogMX v4.1.0 is now released and includes a fix for this bug.