ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Timeout in .sh file

    IT Discussion
    5
    50
    2.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LakshmanaL
      Lakshmana @thwr
      last edited by

      @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

      thwrT 1 Reply Last reply Reply Quote 0
      • thwrT
        thwr @Lakshmana
        last edited by thwr

        @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?

        LakshmanaL 1 Reply Last reply Reply Quote 0
        • LakshmanaL
          Lakshmana @thwr
          last edited by

          @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

          thwrT 1 Reply Last reply Reply Quote 0
          • thwrT
            thwr @Lakshmana
            last edited by

            @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 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

            So what you've downloaded is actually a HTML page containing a button with a link, for example?

            1 Reply Last reply Reply Quote 0
            • LakshmanaL
              Lakshmana
              last edited by

              Yes

              thwrT 1 Reply Last reply Reply Quote 0
              • thwrT
                thwr @Lakshmana
                last edited by

                @lakshmana said in Timeout in .sh file:

                Yes

                Are you able to parse that page? Regex maybe? Just hope that the page never changes.

                LakshmanaL 1 Reply Last reply Reply Quote 0
                • LakshmanaL
                  Lakshmana @thwr
                  last edited by

                  @thwr Sorry I cant understand

                  thwrT 1 Reply Last reply Reply Quote 0
                  • thwrT
                    thwr @Lakshmana
                    last edited by thwr

                    @lakshmana said in Timeout in .sh file:

                    @thwr Sorry I cant understand

                    From what I understand, you've downloaded a HTML formated file. That's what your browser reads whenever you visit a website with a browser. It contains information about the content and structure of a web page.

                    You could read that file yourself and grab the link that's contained. Regular expression pattern matching is a perfectly valid, easy and straight forward way to do so. You'll find tons of information with your search engine of choice.

                    Please understand that people here at ML for example will be happy to help you in many ways, like pointing you into the right direction or reviewing your ideas. But I simply can't do your job. It's you who gets the paycheck for solving this problem, not me or anyone else.

                    Let me say that again: I would be happy to provide you with directions, but it's you who needs to get the work done.

                    LakshmanaL 1 Reply Last reply Reply Quote 0
                    • LakshmanaL
                      Lakshmana @thwr
                      last edited by

                      @thwr Hereafter i should not update any doubts in this post only Right !!!!

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @Lakshmana
                        last edited by

                        @lakshmana said in Timeout in .sh file:

                        @thwr Hereafter i should not update any doubts in this post only Right !!!!

                        If you are getting the file, but are now looking to parse it, that should be a new thread, yes.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 3 / 3
                        • First post
                          Last post