klogg icon indicating copy to clipboard operation
klogg copied to clipboard

possibility to open a file by FTP

Open Asteda opened this issue 2 years ago • 3 comments

It would be great to be able to open a file in FTP, in order to consult the logs of an apache server. I don't think I've seen this feature. Is there a way to do it? I tried to write a FTP URL (ftp://username:password@ip-adress/directory/file.log) in the "open from URL" option but I got this message: image Thanks in advance.

Asteda avatar Jun 22 '23 12:06 Asteda

Klogg supports network protocols that are provided with Qt. A couple of years ago there were no easy to use cross-platform ftp library for c++. There is one in Poco, but that is a huge dependency.

variar avatar Jul 01 '23 16:07 variar

Klogg supports network protocols that are provided with Qt. A couple of years ago there were no easy to use cross-platform ftp library for c++. There is one in Poco, but that is a huge dependency.

What about opening logs over ssh?

dia-susca avatar Aug 11 '23 09:08 dia-susca

Ssh is not supported by Qt directly. Might be possible using some other library. Mounting sshfs to local folder should work.

variar avatar Nov 13 '23 20:11 variar