• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

HTML assistance

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    HTML assistance

    I have a web site and want to be able to upload files from client site (we have no external email) so I can access when I get home.

    What tags do I need to do this?

    Any help much appreciated
    And on the eighth day God said, "Okay, Murphy, you're in charge!"

    #2
    Why not just FTP the files to the web host?
    Me, me, me...

    Comment


      #3
      Originally posted by Cliphead View Post
      Why not just FTP the files to the web host?
      I don't know

      I don't think we have access to FTP either (although I'm not certain)
      And on the eighth day God said, "Okay, Murphy, you're in charge!"

      Comment


        #4
        To get this straight - you simply want to get files from work to home so that you can look at them when at home? The web site bit is kind of irrelevant?

        If this is the case can you not stick them on a usb stick?

        Could you remote desktop to your home machine and push them in that way? If they are blocking the standard port for RDP then find an open port in their firewall and set RDP on your home machine to answer on that one instead.

        If you can't do either of these and are adamant that it must go up to your web space then how do you connect to your web space from home? Surely Cliphead is correct with ftp? What do you mean you don't have access to ftp at work? All you need to do is use an ftp client - heck you can even use Firefox as an FTP client if you want to - and just hope they have not blocked port 21. If they have blocked port 21 and you are using shared hosting then you are buggered.

        If that is the case then set up a VM on your home machine with linux on it and either use SCP or ftp with a changed port number to push your files up.

        The possibilities of getting data out of a client's site are endless

        Comment


          #5
          Run ssh on your box on port 443 and scp on that port.

          Comment


            #6
            1) Just use windows explorer (Not internet explorer). Type the FTP address in the address bar, something like
            ftp://mysite.co.uk/ , fill in the user and pwd details in the popup and it's just like accessing a local folder.

            2) Check what your host provides. Most have a free explorer type file transfer utility that you could log into on client site.

            3) A google should bring up some freeware uploaders in php or whatever.
            bloggoth

            If everything isn't black and white, I say, 'Why the hell not?'
            John Wayne (My guru, not to be confused with my beloved prophet Jeremy Clarkson)

            Comment


              #7
              Very simple HTML file and PHP files to upload single file:

              <html>
              <body>
              <form action="upload.php" method="post" enctype="multipart/form-data">
              <label for="file">Filename:</label>
              <input type="file" name="file" id="file" /><br />
              <input type="submit" name="submit" value="Submit" />
              </form>
              </body>
              </html>



              <?php
              if ($_FILES["file"]["error"] > 0)
              {
              echo "Error: " . $_FILES["file"]["error"] . "<br />";
              }
              else
              {
              echo "Upload: " . $_FILES["file"]["name"] . "<br />";
              echo "Type: " . $_FILES["file"]["type"] . "<br />";
              echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />";
              echo "Stored in: " . $_FILES["file"]["tmp_name"]."<br>";
              move_uploaded_file($_FILES["file"]["tmp_name"],$_FILES["file"]["name"]);
              echo "Stored in: ".$_FILES["file"]["name"];
              }
              ?>
              bloggoth

              If everything isn't black and white, I say, 'Why the hell not?'
              John Wayne (My guru, not to be confused with my beloved prophet Jeremy Clarkson)

              Comment


                #8
                https://www.google.com/accounts/Serv...ltmpl=homepage

                Comment


                  #9
                  Dropbox (PM sent)
                  Coffee's for closers

                  Comment


                    #10
                    Originally posted by Spacecadet View Post
                    Dropbox (PM sent)
                    Most usefull app I've come across in a long time.
                    Me, me, me...

                    Comment

                    Working...
                    X