Search found 9 matches
- 24 Apr 2020 05:25
- Forum: DOS Batch Forum
- Topic: Sending an SMTP Mail using Curl in a Batch file
- Replies: 2
- Views: 4622
Re: Sending an SMTP Mail using Curl in a Batch file
Hey scavenger and thanks for your reply! Well the curl-command as posted in the first post works very well and sends a mail to me. And there I provided username+password in the command line. However, the password is sent without being obscured or decrypted somehow. Is there any possibility to make t...
- 18 Apr 2020 16:05
- Forum: DOS Batch Forum
- Topic: Sending an SMTP Mail using Curl in a Batch file
- Replies: 2
- Views: 4622
Sending an SMTP Mail using Curl in a Batch file
Hey there! I'd like to send an email using curl in a batch file. I tried the following lines: curl --url 'smtps://securesmtp.t-online.de:587' --ssl-reqd --cacert cacert.pem --mail-from 'user@t-online.de' --mail-rcpt 'user@t-online.de' --user 'user@t-online.de:password' And this works out well! Now I...
- 17 Apr 2020 15:23
- Forum: DOS Batch Forum
- Topic: Searching a pattern in a website using curl in cmd
- Replies: 12
- Views: 10410
Re: Searching a pattern in a website using curl in cmd
Hey together,
now everything worked out very well - thanks a lot for your help!
Kind regards,
X3nion
now everything worked out very well - thanks a lot for your help!
Kind regards,
X3nion
- 17 Apr 2020 08:48
- Forum: DOS Batch Forum
- Topic: Searching a pattern in a website using curl in cmd
- Replies: 12
- Views: 10410
Re: Searching a pattern in a website using curl in cmd
Hey and thanks for your reply! When I provide the following code, >"out.txt" curl "https://www.foobar.com/" >nul findstr "out.txt" /c:"search me" && echo found || echo not found I get the following error: FINDSTR: /c:Kann nicht geöffnet werden not found So in English: FINDSTR: /c: Cannot be opened. ...
- 17 Apr 2020 03:59
- Forum: DOS Batch Forum
- Topic: Searching a pattern in a website using curl in cmd
- Replies: 12
- Views: 10410
Re: Searching a pattern in a website using curl in cmd
Hey Steffen, thanks for your reply! I'm from Germany as well as penpen. However, this is an American forum and our users are from all over the world. Thus, English is the common language here and we're following this rule. Okay I of course understand this guideline! What could that mean? As I alread...
- 16 Apr 2020 15:57
- Forum: DOS Batch Forum
- Topic: Searching a pattern in a website using curl in cmd
- Replies: 12
- Views: 10410
Re: Searching a pattern in a website using curl in cmd
Now I tried it and it worked out well, and it shows "Found"!
However, the following notification appears: "FINDSTR: Line 106 is too long".
What could that mean?
And how could I search for more strings?
I repeated the command more times, but I'm sure there must be an easier way?
Kind regards,
X3nion
However, the following notification appears: "FINDSTR: Line 106 is too long".
What could that mean?
And how could I search for more strings?
I repeated the command more times, but I'm sure there must be an easier way?
Kind regards,
X3nion
- 16 Apr 2020 13:50
- Forum: DOS Batch Forum
- Topic: Searching a pattern in a website using curl in cmd
- Replies: 12
- Views: 10410
Re: Searching a pattern in a website using curl in cmd
Hey aGerman and Thanks for your reply!
Do you come from Germany? If yes, we could write in German
I‘m going to try it out and answer if it worked out.
Kind regards,
X3nion
Do you come from Germany? If yes, we could write in German
I‘m going to try it out and answer if it worked out.
Kind regards,
X3nion
- 16 Apr 2020 06:54
- Forum: DOS Batch Forum
- Topic: Searching a pattern in a website using curl in cmd
- Replies: 12
- Views: 10410
Re: Searching a pattern in a website using curl in cmd
Hey penpen and thanks for your reply!
Is there maybe someone else familiar with Curl?
Kind regards,
X3nion
Is there maybe someone else familiar with Curl?
Kind regards,
X3nion
- 15 Apr 2020 10:09
- Forum: DOS Batch Forum
- Topic: Searching a pattern in a website using curl in cmd
- Replies: 12
- Views: 10410
Searching a pattern in a website using curl in cmd
Hey there! I'd like to use curl (or, if it’s not possible, another tool) to search some patterns on a web site using a batch script. If the search is successful, it would be great if curl could somehow give back a positive sign (e.g. a "1" in case of success, and a "0" in case of no hits). Does anyo...