Webpage/CSV automatic generation for local or external websites

Need help? - Post here and we will find a solution for you.
User avatar
DK5EW
Novice Class
Posts: 29
Joined: 18 Sep 2014, 18:47
Location: Swabian Alps - lake of Konstanz
Contact:

Webpage/CSV automatic generation for local or external websites

Post by DK5EW » 26 Dec 2015, 10:46

Hi all,

in the new version there is now the option "Webpage/CSV automatic generation for local or external websites ".
Is there a advice how it works ? Would be nice for guys with a own webpage.

Thank you for Log4OM and all the work on it. Merry Xmas and a happy new year.

User avatar
G4POP
Moderator
Posts: 5828
Joined: 21 Jan 2013, 14:55
Location: Burnham on Crouch, Essex UK

Re: Webpage/CSV automatic generation for local or external websites

Post by G4POP » 26 Dec 2015, 10:58

How it works the FTP Upload:

Log4OM is able to create and upload an HTML file to a specified website (or, as alternative, in a local or shared folder for showing up activities on monitors and similar situations)

This feature is managed directly from SETTINGS form, in the last tab

How it works:
If enabled, in SETTINGS form -> WEBPAGE section, Log4OM will load a SOURCE FILE (there is a default HTML file in your configuration folder, but you can choose whatever you want in any format) and will replace the string ###table### with a TABLE generated dinamically.
This webpage can contains everything you want, images, links, anything else. Log4Om will take this "template" and will replace the ###table### with a generated table.

For HTML experts, every field and every row (odd and even) is decorated with a CSS class. This means the user can fully personalize every aspect of the table, except (in this release, at least) the order of fields.
With CSS you can also hide specific fields exported.

This feature will create a file, named as user decides, in the output folder that can be everywhere, locally or in a network path.

If you enable FTP upload this file will be automatically uploaded to the remote folder and with indicated file name of your website.

p.s.: everything (except template that is not needed) can be exported as a plain CSV file, to be loaded or worked in other applications.
73 Terry G4POP

User avatar
DK5EW
Novice Class
Posts: 29
Joined: 18 Sep 2014, 18:47
Location: Swabian Alps - lake of Konstanz
Contact:

Re: Webpage/CSV automatic generation for local or external websites

Post by DK5EW » 26 Dec 2015, 18:02

Terry, TNX for good explanation but it's still to difficult for me :?
Thought there will be a log - HTML file generated that I can include in my web.
CSV is o.k. I do that already with my EME init table and Google table to show on my web.

G3ZSS
Log4OM Beta Team
Posts: 147
Joined: 21 Jan 2013, 15:32

Re: Webpage/CSV automatic generation for local or external websites

Post by G3ZSS » 26 Dec 2015, 18:31

Erwin
As Terry says it is relatively easy to set up. I use the provided source file in your appdata\Roaming\LogOM folder and use this to create an "Output file name" which in my case is g3zss.htm. Then on the right side you need to setup the parameters to FTP this file to your website. You can see what it looks like here http://www.g3zss.com/log4om/g3zss.htm
Let me know if you need any specific help.
73 Peter G3ZSS
73 Peter G3ZSS

User avatar
DK5EW
Novice Class
Posts: 29
Joined: 18 Sep 2014, 18:47
Location: Swabian Alps - lake of Konstanz
Contact:

Re: Webpage/CSV automatic generation for local or external websites

Post by DK5EW » 29 Dec 2015, 18:16

Thank you - playing with it.

VK4FI
Novice Class
Posts: 3
Joined: 07 Aug 2017, 06:10

Re: Webpage/CSV automatic generation for local or external websites

Post by VK4FI » 26 Mar 2018, 09:00

Does the FTP logfile get auto uploaded or is it a manual process, if it is auto how often does it uplaod?

oe3ide
Advanced Class
Posts: 34
Joined: 09 Feb 2017, 08:33

Re: Webpage/CSV automatic generation for local or external websites

Post by oe3ide » 29 Mar 2018, 06:48

Hello,

it works perfect! I customized the output via CSS. Upload is fully automatic:

http://www.oe3ide.com/realtime-log/

If someone needs help in CSS, just drop me an email.

73 de Ernst
OE3IDE

User avatar
SP2L
Novice Class
Posts: 15
Joined: 29 Aug 2019, 13:33
Location: Gdynia, Poland
Contact:

Re: Webpage/CSV automatic generation for local or external websites

Post by SP2L » 10 Oct 2019, 18:48

Greetings.



Lately I'm struggling with Webpage automatic FTP file upload
to my own amateur server running many various services:

https://www.sp2l.ampr.org

Please see attached picture.
Log4OM Refreshes every 3 minutes target file, here, SP2L.html.

Regardless of what I put in "Remote folder" and "Remote file name" fields,
I see exactly the same error message stored in Log4OM_log_20191010.txt file:

2019-10-10 15:52:22.6378 INFO: SharedFunctionsManagement: INTERNET CONNECTION ACTIVE
2019-10-10 15:52:22.6399 INFO: FileManagement: begin load text file C:\Users\Administrator\AppData\Roaming\LogOM\log4om.html
2019-10-10 15:52:22.6408 INFO: FileManagement: Text file load completed
2019-10-10 15:52:23.7352 ERROR: *** WebpageManagement: The remote server returned an error: 553) File name not allowed.
******* [Function: #=q8Z6gb7Es$H3R3QwL_0Tp_Q==] System.Net.WebException: The remote server returned an error: (553) File name not allowed.

at System.Net.FtpWebRequest.SyncRequestCallback(Object obj)
at System.Net.CommandStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at System.Net.ConnectionPool.Destroy(PooledStream pooledStream)
at System.Net.ConnectionPool.PutConnection(PooledStream pooledStream, Object owningObject, Int32 creationTimeout, Boolean canReuse)
at System.Net.FtpWebRequest.FinishRequestStage(RequestStage stage)
at System.Net.FtpWebRequest.GetRequestStream()
at LogOM.BL.WebpageManagement.#=q8Z6gb7Es$H3R3QwL_0Tp_Q==(String #=qQtlRCzYTgpFJ7O5XAbBr7w==)


Please note: without smalest glich I can manually upload any file from my PC
by means of FileZilla, Windows FTP client from CLI, using both ftp and sftp protocols.

File vsftpd.log on my server contains such entries:

Thu Oct 10 17:43:46 2019 [pid 6727] CONNECT: Client "78.88.244.96"
Thu Oct 10 17:43:46 2019 [pid 6726] [log4om] OK LOGIN: Client "78.88.244.96"
Thu Oct 10 17:43:46 2019 [pid 6728] [log4om] FAIL UPLOAD: Client "78.88.244.96", "/SP2L.html", 0.00Kbyte/sec

Thu Oct 10 17:49:22 2019 [pid 6828] CONNECT: Client "78.88.244.96"
Thu Oct 10 17:49:23 2019 [pid 6827] [log4om] OK LOGIN: Client "78.88.244.96"
Thu Oct 10 17:49:23 2019 [pid 6829] [log4om] FAIL UPLOAD: Client "78.88.244.96", "/home/log4om/home/log4om/SP2L.html", 0.00Kbyte/sec

Above, parts marked in blue, depend on what I put in "Remote folder" field.

Googled Internet, and forum here and found only one below quoted post regarding
Webpage FTP upload setup, but to no avail.
Tried many proposed modifications found on Internet, also without success...


G4POP wrote:
26 Dec 2015, 10:58
How it works the FTP Upload:

Log4OM is able to create and upload an HTML file to a specified website (or, as alternative, in a local or shared folder for showing up activities on monitors and similar situations)

This feature is managed directly from SETTINGS form, in the last tab

How it works:
If enabled, in SETTINGS form -> WEBPAGE section, Log4OM will load a SOURCE FILE (there is a default HTML file in your configuration folder, but you can choose whatever you want in any format) and will replace the string ###table### with a TABLE generated dinamically.
This webpage can contains everything you want, images, links, anything else. Log4Om will take this "template" and will replace the ###table### with a generated table.

For HTML experts, every field and every row (odd and even) is decorated with a CSS class. This means the user can fully personalize every aspect of the table, except (in this release, at least) the order of fields.
With CSS you can also hide specific fields exported.

This feature will create a file, named as user decides, in the output folder that can be everywhere, locally or in a network path.

If you enable FTP upload this file will be automatically uploaded to the remote folder and with indicated file name of your website.

p.s.: everything (except template that is not needed) can be exported as a plain CSV file, to be loaded or worked in other applications.
Am I missing or overlooking something obvious?
All suggestions and help will be much appreciated.
Attachments
Log4OM-FTP-Webpage.png
Log4OM-FTP-Webpage.png (55 KiB) Viewed 281 times
Best regards.
Tom - SP2L

User avatar
SP2L
Novice Class
Posts: 15
Joined: 29 Aug 2019, 13:33
Location: Gdynia, Poland
Contact:

Re: Webpage/CSV automatic generation for local or external websites

Post by SP2L » 11 Oct 2019, 12:08

Greetings.


This is follow-up to my yesterday's message.
As a proof of issue I'm facing I uploaded two files to https://www.dropbox.com

- FileZilla-W8.1-CLI_SP2L.html_upload.avi
- FileZilla-W8.1-CLI_SP2L.html_upload.txt

Link to shared folder Log4OM:
https://www.dropbox.com/sh/o33wrrjk3hl4 ... bvrma?dl=0

Please note: without smalest glich I can manually upload any file from my PC
by means of FileZilla, Windows FTP client from CLI or Bitvise SSH Client, using both ftp and sftp protocols.


Suggestions and help in solving my issue is most welcome.
Best regards.
Tom - SP2L

User avatar
IW3HMH
Site Admin
Posts: 2378
Joined: 21 Jan 2013, 14:20
Location: Quarto d'Altino - Venezia (ITA)
Contact:

Re: Webpage/CSV automatic generation for local or external websites

Post by IW3HMH » 11 Oct 2019, 12:24

Try removing last \ from the remote path on the right side
Daniele Pistollato - IW3HMH

Post Reply