ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Lakshmana
    3. Posts
    • Profile
    • Following 66
    • Followers 3
    • Topics 313
    • Posts 1,763
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Timeout in .sh file

      @thwr Sorry I cant understand

      posted in IT Discussion
      LakshmanaL
      Lakshmana
    • RE: Timeout in .sh file

      Yes

      posted in IT Discussion
      LakshmanaL
      Lakshmana
    • RE: Timeout in .sh file

      @thwr said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @thwr said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @thwr said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @thwr another doubt is whether tiny url of the internal site will be working in Wget?

      why not? Oh, wait. Please try:

      curl -JLO https://your.webserver/folder/file1.csv
      

      The data is downloading now.How to open that .csv from the terminal ?
      The machine is GUI only but I accessing the same in putty ,if i need to confirm tomorrrow once present at Office

      Great. Erm, cat file.csv for example?

      Don't you want to know what caused you so much trouble?

      The .csv file is there but the file is having another link to download the original .csv file

      what do you mean by "another link"? Is the link the content of the file you've downloaded?

      The example is "facebook,com/example.mp4" that example.mp4 is the file which needs to be downloaded but the file download as example and inside that example file Click here Link(facebook.com/example.mp4) is present and i need to click that to download that file

      posted in IT Discussion
      LakshmanaL
      Lakshmana
    • RE: Outlook 2016 in Tree Format based on Subject

      @net-runner said in Outlook 2016 in Tree Format based on Subject:

      Is the "View email messages by conversation" not what you are looking for? It's not exactly the subject-based grouping (meaning everything that has the same subject goes to a single tree) but very similar to it:
      https://support.office.com/en-us/article/view-email-messages-by-conversation-0eeec76c-f59b-4834-98e6-05cfdfa9fb07

      Thank you so much this is the one I have searched fotr

      posted in IT Discussion
      LakshmanaL
      Lakshmana
    • Outlook 2016 in Tree Format based on Subject

      How to see the mail in Outlook 2016 in Tree Format based on the Subject ?

      I have configured mail and checked the feature in Thunderbird which is working but how to enable the same in the Outlook 2016

      posted in IT Discussion
      LakshmanaL
      Lakshmana
    • RE: Timeout in .sh file

      @thwr said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @thwr said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @thwr another doubt is whether tiny url of the internal site will be working in Wget?

      why not? Oh, wait. Please try:

      curl -JLO https://your.webserver/folder/file1.csv
      

      The data is downloading now.How to open that .csv from the terminal ?
      The machine is GUI only but I accessing the same in putty ,if i need to confirm tomorrrow once present at Office

      Great. Erm, cat file.csv for example?

      Don't you want to know what caused you so much trouble?

      The .csv file is there but the file is having another link to download the original .csv file

      posted in IT Discussion
      LakshmanaL
      Lakshmana
    • RE: Timeout in .sh file

      @thwr said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @thwr another doubt is whether tiny url of the internal site will be working in Wget?

      why not? Oh, wait. Please try:

      curl -JLO https://your.webserver/folder/file1.csv
      

      The data is downloading now.How to open that .csv from the terminal ?
      The machine is GUI only but I accessing the same in putty ,if i need to confirm tomorrrow once present at Office

      posted in IT Discussion
      LakshmanaL
      Lakshmana
    • RE: Timeout in .sh file

      @thwr another doubt is whether tiny url of the internal site will be working in Wget?

      posted in IT Discussion
      LakshmanaL
      Lakshmana
    • RE: Timeout in .sh file

      @thwr said in Timeout in .sh file:

      That doesn't matter at all. There are only a few factors:

      • Do you need any form of authentication - if so, what exactly? A web based form, a HTTP BASIC AUTH (your browser shows a popup for credentials) or something else (some auth protocols can be tricky)
      • Can the machine running the script reach the webserver?
      • Is there any script language available? not required, just a plus
      • Any download tool available? curl, powershell?

      You see, it's pretty simple. Most questions are already answered. We now need to know what kind of authentication your webserver requires. Simply start your favorite browser in incognito mode (shift + ctrl + p in Chrome) and navigate to your URL. There are no cookies or caches involved in that moment. Tell us what you see, maybe create a screenshot.

      As checked the link in the browser by incognito window there is not Login Credentials was asked where the file get downloaded without any issues.

      1)As of now i dont need any authorization to download the file
      2)The machine which is running is able to reach the Webserver
      3)No script language.Just making .sh file to download the files consecutively
      4)I am trying the process in Ubuntu and same needs to be worked in Mac but tried the Curl which is creating the file which have the same link inside that file once i click on that link the file will be downloading

      I need to download the Files automatically in Downloads Test Folder in the .csv format first

      posted in IT Discussion
      LakshmanaL
      Lakshmana
    • RE: Timeout in .sh file

      @thwr said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @thwr said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @scottalanmiller said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @scottalanmiller If i am giving the .sh file to be runned with ny collegues system i cannot share that the executable file since it may lead Infosec Issue

      How will that work regardless of the tool used?

      @scottalanmiller said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @scottalanmiller If i am giving the .sh file to be runned with ny collegues system i cannot share that the executable file since it may lead Infosec Issue

      How will that work regardless of the tool used?

      That .sh file should download the data by terminal or by Browser inside the machine without using credentials!!!

      Ok, full stop. What happens here is that your web server simply tells you: "Hey, dude, I would love to give you that file, but your f'ing unauthorized, so just leave me alone. I won't give you the file unless you can present me a valid auth".

      In other words: HTTP 401 Unauthorized.

      So what needs to be done is simple: we need to authenticate against the server. This does not relate to the client side in any way. You will see the same behavior in Internet Explorer, Edge, Chrome, misc. PowerShell cmdlets or whatever else you may use to access that file.

      Like SAM said, let us stop talking about client side tools for now. Let us instead discuss very basic authentication mechanisms.

      I understood but in Browser the file will download from the cache credentials since the cookies make to download the data Right?????

      Yep. And it's a very bad idea to rely on something you can't control: a users cached cookies.

      This script will not run on users .only on System Administrator machines only

      posted in IT Discussion
      LakshmanaL
      Lakshmana
    • RE: Timeout in .sh file

      @thwr said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @scottalanmiller said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @scottalanmiller If i am giving the .sh file to be runned with ny collegues system i cannot share that the executable file since it may lead Infosec Issue

      How will that work regardless of the tool used?

      @scottalanmiller said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @scottalanmiller If i am giving the .sh file to be runned with ny collegues system i cannot share that the executable file since it may lead Infosec Issue

      How will that work regardless of the tool used?

      That .sh file should download the data by terminal or by Browser inside the machine without using credentials!!!

      Ok, full stop. What happens here is that your web server simply tells you: "Hey, dude, I would love to give you that file, but your f'ing unauthorized, so just leave me alone. I won't give you the file unless you can present me a valid auth".

      In other words: HTTP 401 Unauthorized.

      So what needs to be done is simple: we need to authenticate against the server. This does not relate to the client side in any way. You will see the same behavior in Internet Explorer, Edge, Chrome, misc. PowerShell cmdlets or whatever else you may use to access that file.

      Like SAM said, let us stop talking about client side tools for now. Let us instead discuss very basic authentication mechanisms.

      I understood but in Browser the file will download from the cache credentials since the cookies make to download the data Right?????

      posted in IT Discussion
      LakshmanaL
      Lakshmana
    • RE: Timeout in .sh file

      @scottalanmiller said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @scottalanmiller If i am giving the .sh file to be runned with ny collegues system i cannot share that the executable file since it may lead Infosec Issue

      How will that work regardless of the tool used?

      @scottalanmiller said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @scottalanmiller If i am giving the .sh file to be runned with ny collegues system i cannot share that the executable file since it may lead Infosec Issue

      How will that work regardless of the tool used?

      That .sh file should download the data by terminal or by Browser inside the machine without using credentials!!!

      posted in IT Discussion
      LakshmanaL
      Lakshmana
    • RE: Timeout in .sh file

      @scottalanmiller If i am giving the .sh file to be runned with ny collegues system i cannot share that the executable file since it may lead Infosec Issue

      posted in IT Discussion
      LakshmanaL
      Lakshmana
    • RE: Timeout in .sh file

      @thwr

      @thwr said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @stacksofplates said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @thwr said in Timeout in .sh file:

      I would always use curl / wget / any other CLI tool before I would use Chromium (Chromium != Chrome) for a simple file download. It's a monster in terms of resource consumption.

      I tried wget where credentials is asking and in curl the file is not downloading where the test file created inside that file the link is there to download the file.So only using Chrome here

      Show us the command you ran. I have a feeling you’re either not following a redirect or your output option is not set correctly.

      curl -o "Link"

      Could you please try what I posted above? And could you please bring some light in your requirements? What kind of authentication is required by the server? Basic HTTP Auth?

      The process here is the internal site is there where the .csv files will be downloaded from the site through wget or curl or by browser.Where i tried from the wget i got the error as

      "HTTP request sent, awaiting response... 401 Unauthorized"-->I think this for the AD username and password where the credentials part is not even asking.

      How to try the above thing which was mentioned already

      posted in IT Discussion
      LakshmanaL
      Lakshmana
    • RE: Timeout in .sh file

      @stacksofplates said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @thwr said in Timeout in .sh file:

      I would always use curl / wget / any other CLI tool before I would use Chromium (Chromium != Chrome) for a simple file download. It's a monster in terms of resource consumption.

      I tried wget where credentials is asking and in curl the file is not downloading where the test file created inside that file the link is there to download the file.So only using Chrome here

      Show us the command you ran. I have a feeling you’re either not following a redirect or your output option is not set correctly.

      curl -o "Link"

      posted in IT Discussion
      LakshmanaL
      Lakshmana
    • RE: Timeout in .sh file

      @scottalanmiller said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @thwr said in Timeout in .sh file:

      I would always use curl / wget / any other CLI tool before I would use Chromium (Chromium != Chrome) for a simple file download. It's a monster in terms of resource consumption.

      I tried wget where credentials is asking and in curl the file is not downloading where the test file created inside that file the link is there to download the file.So only using Chrome here

      Just because you tried and didn't figure it out doesn't mean it isn't the right solution. You don't have anything working right now, or you'd not need the question. We are trying to get this working in a practical, logical way, and cURL is almost certainly the right way.

      Yes I understood but trying my efforts

      posted in IT Discussion
      LakshmanaL
      Lakshmana
    • RE: Timeout in .sh file

      @black3dynamite said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @scottalanmiller said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @scottalanmiller said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @scottalanmiller

      @lakshmana said in Timeout in .sh file:

      @black3dynamite said in Timeout in .sh file:

      pkill chromium

      https://www.garron.me/en/bits/kill-all-instances-chromium-linux-command-line.html

      While using the chrome is not even starting but the working chrome is being killed

      We can use but need to give credentials.I need to run without admin credentials

      You can do that with cURL for sure, and I expect wget.

      During using Curl the file is not downloading where the link for that file is created inside the downloaded file

      Are you sending the credentials with cURL?

      How to do this?

      https://www.cyberciti.biz/faq/curl-download-file-example-under-linux-unix/
      curl http://username:[email protected]/file/path/data.tar.gz
      or
      curl -u Username:Password http://server1.cyberciti.biz/file/path/data.tar.gz

      This .sh file will be running in my colleague System also at that time credentials cannot be shown right! So only going for Chrome

      posted in IT Discussion
      LakshmanaL
      Lakshmana
    • RE: Timeout in .sh file

      @thwr said in Timeout in .sh file:

      I would always use curl / wget / any other CLI tool before I would use Chromium (Chromium != Chrome) for a simple file download. It's a monster in terms of resource consumption.

      I tried wget where credentials is asking and in curl the file is not downloading where the test file created inside that file the link is there to download the file.So only using Chrome here

      posted in IT Discussion
      LakshmanaL
      Lakshmana
    • RE: Timeout in .sh file

      @scottalanmiller said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @scottalanmiller said in Timeout in .sh file:

      @lakshmana said in Timeout in .sh file:

      @scottalanmiller

      @lakshmana said in Timeout in .sh file:

      @black3dynamite said in Timeout in .sh file:

      pkill chromium

      https://www.garron.me/en/bits/kill-all-instances-chromium-linux-command-line.html

      While using the chrome is not even starting but the working chrome is being killed

      We can use but need to give credentials.I need to run without admin credentials

      You can do that with cURL for sure, and I expect wget.

      During using Curl the file is not downloading where the link for that file is created inside the downloaded file

      Are you sending the credentials with cURL?

      How to do this?

      posted in IT Discussion
      LakshmanaL
      Lakshmana
    • RE: Centos 7.3 Wifi Issue

      @scottalanmiller said in Centos 7.3 Wifi Issue:

      @lakshmana said in Centos 7.3 Wifi Issue:

      @scottalanmiller Installed Ubuntu now

      But OLD Ubuntu, that is expected to have lots of issues because it is not up to date, right?

      Yes Now WiFi Detected will go with KVM and then Centos will run it

      posted in IT Discussion
      LakshmanaL
      Lakshmana
    • 1
    • 2
    • 6
    • 7
    • 8
    • 9
    • 10
    • 88
    • 89
    • 8 / 89