• Announcements

shawn

Moderators
  • Content count

    840
  • Joined

  • Last visited

About shawn

Profile Information

  • Gender
    Male
  1. i viewed you GIF. this is most likely a problem with the specific application (HiddeX). please share the Ketarin XML for that application and I'll investigate why it's not working. I suspect that what the website has (and what is in the "download" field) is *not* a unique file based on the version, but rather a "stub" or generic installation package that actually downloads the rest of the installation package during installation. To get the Ketarin XML: select the HiddeX application from the list and press CTRL+C. Return to this thread, click the "code <>" button, and paste the XML in there.
  2. anything you want. i typically use "http://example.com/" just so there's a valid URL in it.
  3. Based on your description it's working as intended. Ketarin doesn't re-download files that are already downloaded. To do so would be a waste of resources. You can use the "force" option to make it re-download, but that's rarely necessary once you have your apps configured correctly. The default behavior is to check for updates and download updates if they are newer than what is already downloaded. To "check for updates only" click the chevron next to "update all" and select "check all for updates only, do not download." Some sites actually publish a stub instead of the real application, or don't have the new version published to the download URL when they change the version information, so you may experience problems where the version number is different but the actual content is not. The biggest issue you are likely to experience from your message above is the "taking it somewhere else" and checking for updates. If the drive letter or path changes to your Ketarin cache then there's a good chance that there will be obscure problems with the downloads. Some files may be forced to download again, or, if the path in your output structure is invalid they will not be able to download at all. There are workarounds posted here to accomplish it anyway (such as remapping your USB to a different drive letter). Search forum for details.
  4. and finally, you don't need to use ping since swithmail has its own return code - which means it doesnt execute outside of the current process. the cmd should wait and not move on to the next line until it has completed and returned either success or failure.
  5. the first echo line is going to be problematic. any app name with an ampersand is going to create issues. as will other special characters. it also has embedded quotes which might create issues. I'd change it to this: echo.%date% - %time% // {appname:replace:&:^&} v{version:replace:&:^&} - "{file:targetpath}" >> "{root}\centralfiles\KetarinHistory.txt" echo.{category:replace:&:^&} /// {appname:replace:&:^&} {version:replace:&:^&} >> "{root}\centralfiles\Ketarinlog.txt" the swithmail line doesn't actually have an attachment. the errorlevel check is after ping, so it's checking the error status of ping NOT the error status of swithmail. have you tried running ONLY the swithmail line on its own in a command prompt window? (no, it won't have the attachment, but it might report an errorlevel that tells you why it failed) to add an attachment you'll need to use this syntax -- note that i added "/test" so you could get a visual indicator of failure: SwithMail.exe /TEST /s /from "emailsender@gmail.com" /pass "myexactpassword" /server smtp.gmail.com /p 25 /to "emailreceiver@gmail.com" /subject "KetarinToolbox update" /attachment "{root}\centralfiles\KetarinHistory.txt" /body "All application has been updated, error is in the log file attachment."
  6. is that one on filehippo as well?
  7. @Rainie - I don't see an app guid on your profile. note that it must be uppercase and have the braces around the guid as well: "{7121D2DD-DDD6-450C-9B70-77AFB6487B7D}"
  8. sort by "Status"
  9. Did you test for the errorlevel? Did you run the command outside of Ketarin to determine if it's a path problem, or maybe a permissions problem, or get visual feedback? Please post a sanitized example of your swithmail command line - change ONLY the email address and password to a generic value (like "user@gmail.com" and "mypassword"). Leave server names, ports, path, and other values the same as they are. I'll test it my next visit to the forum.
  10. it knows based on several different variables. 1) if you're using the "use following variable for indicator of changes" then it will use that variable. you can populate that variable yourself with the variables feature by scraping the source site for the version number, hash or some other unique value for each version 2) if you're not using a change indicator yourself, then ketarin will analyze the HTTP headers to determine if the download is the same file. it can do this without downloading the file by looking at several different headers, including "Age", "Content-Length", "Date", "ETag", and "Last-Modified". These headers (or variations of them) can be returned on a HEAD request, so the complete file does not have to be downloaded in order to determine if it is the same file that was already downloaded. Unfortunately, some sites do not behave well or do not include these headers. In these cases especially (but really, in *all* cases) you should be scraping the site first for a version indicator. If you want to FORCE it to download then you need to use the force option (Ctrl+F5 / aka "force download"). This method will force the download to be attempted again, and re-download the file, even if Ketarin does not believe it is a new file.
  11. thanks @floele!
  12. note on passwords - if the password has a special character then quoting will help but in some cases (such as caret, pipe and doublequote) will still need to be escaped for it to work. Use a caret to escape most characters, and echo to test it: ECHO. This is the quoted password: "Princess^|1"
  13. Based on those settings I suspect the problem is most likely the unquoted password or LSA access. Passwords tend to have non-alphanumeric characters, and if the password has a caret (^), ampersand (&), parenthesis ("(" or ")"), space, doublequote ("), or one of several other characters then it'll fail to authenticate because those characters are being treated differently from the command line. You should be able to check the errorlevel to determine if that's that case: swithmail.exe ... IF %errorlevel%==1 ECHO.Something is wrong with sending email. If it's really a Gmail account then the other likely issue is that you haven't yet enabled LSA/"less secure apps" for that account. Verify that this is enabled and try again.
  14. Fantastic.
  15. Yes. Use the option "Ignore file information (do not redownload if file is missing)". This seems to be a popular topic right now.