Lately I'm struggling with Webpage automatic FTP file upload
to my own amateur server running many various services:
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.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 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 "22.214.171.124"
Thu Oct 10 17:43:46 2019 [pid 6726] [log4om] OK LOGIN: Client "126.96.36.199"
Thu Oct 10 17:43:46 2019 [pid 6728] [log4om] FAIL UPLOAD: Client "188.8.131.52", "/SP2L.html"
Thu Oct 10 17:49:22 2019 [pid 6828] CONNECT: Client "184.108.40.206"
Thu Oct 10 17:49:23 2019 [pid 6827] [log4om] OK LOGIN: Client "220.127.116.11"
Thu Oct 10 17:49:23 2019 [pid 6829] [log4om] FAIL UPLOAD: Client "18.104.22.168", "/home/log4om/home/log4om/SP2L.html"
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.