Recommended Posts

Is there an app like this for your own FTP, Flickr, DeviantArt account, etc?

Basically an AIO type of upload software?

I remember using a shell extension on Windows XP that allowed me to right-click and upload to Imageshack. It really streamlines the process.

This app looks beatiful. I have yet to try localhostr.

I really like the new Beta design! one of the features I would like is if when you upload it shows different links for example BB Code, HTML etc...that would be awesome I think you had it before but great work (Y)

i'd assume every service will need a specific app to upload as how the site accepts uploads will be different

as for this app, there'll be an update in a day or two that'll fix a few issues (mainly unicode filenames and directory uploading) and will also add a method of uploading a screenshot similar to vista's snipping tool so you no longer have to open an image editor to save the screenshot as it'll upload it directly

  • 3 weeks later...

A little later than planned, but v1.1.0 is out! It's a 0.1 increase mainly because it adds a couple of "features" as well as some bug fixes.

When you next run localhostr uploadr it will notice there is an update available and will ask you if you wish to upgrade. If you don't it won't ask again for 24hours so you'll have to download the new version manually from http://localhostruploadr.com. If you do let it update, it will download the update and apply it for you.

Bugs fixed:

  • Files with unicode names weren't uploaded. This wasn't possible before due to how libcurl worked.
  • Directories weren't uploaded. This was a mess-up on my part :blush:
  • If you dropped a file while the drop area images were mid-transition it wouldn't allow anything to be uploaded. This has been fixed.

As for features/small changes:

  • The biggest change is the ability to take screenshots. This is from the newly added upload menu (see next item). You can either select an area manually or have a fullscreen screenshot. When you first take a screenshot a message will pop-up telling you how to use the screenshot feature.
  • A menu has been added to the green circle/cross in the drop area. This gives you an upload menu which lets you select a file/folder to upload rather than dragging & dropping it. This menu is also in the tray icon menu.
  • The window now shows in the Alt-Tab and Flip3D "windows" so you won't lose the window anymore. The window can also be found by clicking the tray icon, or selecting the 'Bring to front' menu item from the tray icon menu.
  • The toast notifications now have a 'Copy URL' link on them so if you hide the main window you no longer have to open it just to copy the link of a newly uploaded file/folder.
  • The toast notifications will no longer hide themselves if the mouse is in the toast window. This is similar behaviour to how MSN's toast notifications work.
  • In the copyright area of the settings page, the version now contains an 'i' if it's the installed version and a 'p' if it's the portable version. This is just a cosmetic change and doesn't affect the workings of the program.
  • When you change the username/password in the settings and are currently logged in, you will be logged out to avoid having the edit boxes show incorrect details.
  • If you attempt to run the program more than once, it will now open the current running version rather than just tell you it's already running

  Mike said:
  • The window now shows in the Alt-Tab and Flip3D "windows" so you won't lose the window anymore. The window can also be found by clicking the tray icon, or selecting the 'Bring to front' menu item from the tray icon menu.

Cool, this is a big usability point for me. Thanks for adding this :)

EDIT:

The app turns into a white rectangle very often, especially when the new menu is being used:

capture.png

  MI6Labs said:
Found an error :p

<img snipped>

for anyone that's interested, that error is down to his uni network setup which requires a proxy and sends a default page with the proxy details, the app gets the returned page, and as its a valid http reply, it believes its uploaded ok when it hasn't. The reason for the conflicting info is because the toast notification uses the http reply code whereas the drop area image is based on it parsing the page returned.

  skelly831 said:
The app turns into a white rectangle very often, especially when the new menu is being used:

<img snipped>

i assume that is the menu added to the green circle/cross? If so, XP or Vista? I've used that menu way hundreds of times while i've been optimising the screenshot code and testing it and never once saw that :/

can you also provide some details, does it randomly go to the white rectangle on its own (when not uploading)? or when you mouse over a button? does it do it when uploading?

Edited by Mike
  Mike said:
i assume that is the menu added to the green circle/cross? If so, XP or Vista? I've used that menu way hundreds of times while i've been optimising the screenshot code and testing it and never once saw that :/

Yeah, that happens about a second after I click the green button and hover the cursor over one of the menu items. I'm on XP SP3.

EDIT:

It does not turn white on its own, the cursor must be over the app window for that to happen. Sometimes it just flashes the white rectangle and returns to normal (this is random as far as I can tell), but when I provoke it by using the green button menu, the rectangle is permanent and I have to minimize to the tray and pop it up again to return to normal. I haven't seen this happen while uploading.

EDIT2:

It also happens when I go to the preferences window. Could some other app be interfering? I currently have google chrome, pidgin, foobar2000 and the uploadr running.

Edited by skelly831

hmm, the way the program works is that windows takes care of the painting and my program just tells windows what to display when it wants the window changing so while it is idle, the window is being taken care of by windows itself and not my code. If it happens with the mouse inside the window and *not* moving, my code shouldn't be doing anything to do with drawing the window so it could be something interfering with, or windows doing something else. Even more strange is that when i first started on it and had some errors with the drawing, nothing would be drawn and the program never draws a white rectangle so i dont see where it comes from either.

I've coded it mostly on an XP SP3 system and never seen it happen before, granted i dont use chrome, pidgin or foobar :p I could try it with those running and see what happens, if it isn't something else causing the problem, i dont have a clue (yet) :/

Update on my "white rectangle" problem; it seems it happens randomly even while uploading, the only way to force it is to switch to the app via Alt+Tab (but even here I'm not so sure). I also did a clean reinstall but there is no change in this behavior.

if it was a run-time problem then it won't run at all probably, how big do you have the window?

exact size will either be in %APPDATA%\localhostr uploadr\localhostr.conf (if you used the installer), or localhostr.conf in the directory that the portable version is in.

  • 2 weeks later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Wow, and here I'm still happily using 1080p...
    • Added an extra filter to Fail2Ban.  I thought about just adding this to my existing aibots filter, but for the time being I'm keeping it separate because it's "possible" real humans may trigger this one so as long as it doesn't start filling my inbox I'd like to get notified about these so I can adjust it as necessary in the future. I'm still holding close to 10k unique IP addresses at any given time that have been banned via the "aibots" filter that looks for certain user agent strings of known AI scrapers.  However, I've been getting an increasing amount of traffic trying to scrape the site with sanitized user agent strings that just look like normal web browsers, however... Because I enabled authentication I can now see that they're racking up lots of 401 (unauthorized) responses in the Apache "access.log" file, but they're not triggering anything in the Apache "error.log" file, which is where failed attempts to log in would appear.  Basically, if an actual human tried to log in with an invalid username and password they don't immediately go into "access.log" as a 401, they go into "error.log" with a status message such as "user FOO not found".  The only way to trigger a 401 simply by visiting the site, as far as I'm aware, is to hit "Cancel" on the login prompt, or otherwise try to access files directly without properly authenticating. So, given the fact I'm getting a few thousand 401 errors a day from sanitized user agent strings that don't show up in "error.log", which means no attempt at logging in properly, I added another jail/filter set to Fail2Ban to immediately ban anybody who triggers a 401.  This feels a bit nuclear so I may need to adjust it in the future, but as far as I'm aware so far no real humans are being inconvenienced so all I'm doing is wasting the time of some AI scraper bots. Example log entry 61.170.149.70 - - [25/Jun/2025:20:01:04 -0400] "GET /content/mdwiki_en_all_maxi_2024-06/A/Neuroregeneration HTTP/1.1" 401 3287 "https://kiwix.marcusadams.me/content/mdwiki_en_all_maxi_2024-06/A/Neuroregeneration" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43" Contents of /etc/fail2ban/filter.d/apache-401repeat.conf #Fail2Ban filter for bots and scrapers that try to access #files directly without entering credentials for apache2-auth #and therefore trigger lots of 401 errors without triggering #the apache-auth jail. # #Marcus Dean Adams [Definition] failregex = ^<HOST> .+\" 401 \d+ .*$ Contents of /etc/fail2ban/jail.d/apache-401repeat.local [apache-401repeat] enabled = true ignoreip = 10.1.1.1 port = 80,443 filter = apache-401repeat maxretry = 1 bantime = 672h findtime = 10m logpath = /var/log/apache2/access.log Oh, and all this traffic is AFTER I explicitly banned Alibaba's IP ranges that were absolutely blowing me up day and night. Observation; two of the IP addresses that have triggered this jail in the 30 or so minutes since I turned it on were owned by Microsoft.  Wonder if they're doing their own AI scraping/probing, or if that's just an Azure VM owned by somebody else.
    • We don't have hardly any 4k HDR content now... ESPN and other sports channels need to get with the program.
    • We hardly have any 4K HDR content now..why in the world is 16K important??? Someone tell ESPN that it's 2025!!!!
    • Imagine paying for Office 365 and getting a crappy web wrapper instead of a native application.
  • Recent Achievements

    • Rising Star
      Phillip0web went up a rank
      Rising Star
    • One Month Later
      Epaminombas earned a badge
      One Month Later
    • One Year In
      Bert Fershner earned a badge
      One Year In
    • Reacting Well
      ChrisOdinUK earned a badge
      Reacting Well
    • One Year In
      Steviant earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      552
    2. 2
      ATLien_0
      208
    3. 3
      +FloatingFatMan
      175
    4. 4
      Michael Scrip
      152
    5. 5
      Som
      139
  • Tell a friend

    Love Neowin? Tell a friend!