Hi. I make extension and have problem with this code:
if re.match (hc.url, [[\.(jpe?g|bmp|png|webp|gif)(\?|$)]]) then
local fLen = GetContentLength(hc.answer_header) -- for get size from server
if hc.cache_file_name ~= nil and not hc.cache_file_size == fLen then -- check local size and size from server
hc.sleep(300)
hc.action = 'save'
hc.put_msg(1, 'Name: '..hc.cache_file_name) -- For testing for new file names (no show filename)
hc.monitor_string = ', (Image NET)'
do return end
end
hc.action = 'dont_update'
hc.put_msg(1, 'Saved name: '..hc.cache_file_name) -- For testing for saved names (this show OK)
hc.monitor_string = ', (Image)'
end
but do not show file name on Image NET struct. Output is "Name: "
Output on Image struct is normal "Saved name: " CachePath/Subpath/File.jpg
How i can fix code on Image NET struct for show saved new file names from cache?