Transfer File By Url

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

    Transfer File By Url

    does any1 have a script that u can use to transfer files from other hosts to urs by url like on wen.ru? mind sharing?

    #2
    found 1. this file allow u to upload by http://
    Attached Files

    Comment


      #3
      how to config this file wizard brou?


      Code:
      <?php
      defined(&#39;_ALLOWINCLUDE&#39;) or die();
      
      // Default destination to copy files too NO TRAILING SLASH!!
      // If it is complete path, file be copied there ex: /home/public_html/FOLDER (Linux), C:\htdocs\FOLDER (Windows)
      // If it is just a direcotory it will be copied to that directory in directory the script is in ex: /SnatcherFolder/FOLDER
      $defaultDest = &#39;snatched&#39;;
          /*
          More examples
          If $defaultDest = &#39;&#39;; it will automatically copy to the `snatched` directory inside of the script&#39;s directory.
          If $defaultDest = &#39;files&#39;; it will copy to `files` directory inside of the script&#39;s directory.
          */
      
      // If you want a password to be required
      // Remember if you don&#39;t have a password anyone can copy a file to your server!
      $password = &#39;&#39;; 
      
      // URL to location of snatched files WITH OUT TRAILING SLASH
      $URLDest = &#39;[url]http://example.com/snatched&#39;;[/url]
      
      
      // Put a limit for file size in kilobytes (1024KB is 1MB)
      // For unlimited put 0
      // Example $sizelimit = 25;
      $sizelimit = 0;
      
      ?>
      where and how to use add dir where files will get uploaded?and where to put password and how to put limait of file size brou?

      Comment


        #4
        they r all right b4 u

        Comment


          #5
          is a esy seting if you reed .You can have a limit to copy and wite the link wher the script is placed.the default directori wher is copy the file is the place wher is the script

          Comment


            #6
            heres a good one
            Attached Files

            Comment


              #7
              wget? lol thats if you got shell access

              Comment


                #8
                wget? lol thats if you got shell access[/b]


                hehe.. jep... nice... (3v1l 5h311)

                Comment


                  #9
                  Try this code, but it does not work with all files.

                  Code:
                  <?
                  $file="http://mysite.com/folder1/folder2/file.gif";
                  $fname= array_reverse(explode("/",$file));
                  if(copy("$file", "local_folder/$fname[0]")) echo "$file copyed
                  ";
                  ?>
                  Advertise your mobile site for FREE with AdTwirl

                  Comment


                    #10
                    lol, i was just laughing and about to say its just the copy code.. just make sure the destination diectory is 0777/writable or it will fail.

                    Code:
                    $file = &#39;[url]http://w4p.us/pics.zip&#39;;[/url]
                    copy($file, &#39;somefolder&#39;);

                    Comment


                      #11
                      Does anyone know of a similar script wap or web that can copy entire folders in one go ?
                      :p:p:p

                      Comment

                      Working...
                      X