SFTP Bookmark URLs changed

Notes, tips, and other usefull things on how to use LogMX

Moderator: admin

isheedm
Posts: 109
Joined: Wed Sep 12, 2007 2:16 pm

SFTP Bookmark URLs changed

Postby isheedm » Wed Aug 14, 2013 12:52 pm

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.

admin
Site Admin
Posts: 417
Joined: Sun Dec 17, 2006 10:30 pm

Re: SFTP Bookmark URLs changed

Postby admin » Wed Aug 14, 2013 8:04 pm

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:

Code: Select all

PROTOCOL://LOGIN@HOST:[PORT:]FILE

new format:

Code: Select all

PROTOCOL://LOGIN@HOST[:PORT]/FILE


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

isheedm
Posts: 109
Joined: Wed Sep 12, 2007 2:16 pm

Re: SFTP Bookmark URLs changed

Postby isheedm » Wed Aug 14, 2013 9:45 pm

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.

admin
Site Admin
Posts: 417
Joined: Sun Dec 17, 2006 10:30 pm

Re: SFTP Bookmark URLs changed

Postby admin » Wed Aug 14, 2013 10:21 pm

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

isheedm
Posts: 109
Joined: Wed Sep 12, 2007 2:16 pm

Re: SFTP Bookmark URLs changed

Postby isheedm » Thu Aug 15, 2013 1:46 pm

That is OK. I fixed the issue in my Bookmarks already. I wanted to report the issue though.

admin
Site Admin
Posts: 417
Joined: Sun Dec 17, 2006 10:30 pm

Re: SFTP Bookmark URLs changed

Postby admin » Thu Aug 15, 2013 4:35 pm

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 :wink:
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)

admin
Site Admin
Posts: 417
Joined: Sun Dec 17, 2006 10:30 pm

Re: SFTP Bookmark URLs changed

Postby admin » Tue Oct 08, 2013 9:09 pm

Hello,

LogMX v4.1.0 is now released and includes a fix for this bug.


Return to “Using LogMX”

Who is online

Users browsing this forum: No registered users and 1 guest