Closed Thread
Results 1 to 2 of 2

Thread: Updating Files from an External Resource

  1. #1
    Bioshox is offline Programmer
    Join Date
    Oct 2009
    Location
    Manchester, UK
    Posts
    196
    Rep Power
    10

    Updating Files from an External Resource

    Like Wordpress does via the update

    Download files from an external resource
    Upload and Replace current Files and Folders on the server
    Done

    Use as a software updater

    How would this be done?!

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    Join Date
    Sep 2007
    Location
    Karlstad, Sweden
    Posts
    3,087
    Blog Entries
    7
    Rep Power
    42

    Re: Updating Files from an External Resource

    Most likely, it's done with curl, or get_file_contents or similar, then stored on disk and after that unpacked/untared/unzipped with either own php code using the built in libraries, or using system calls to perform it.
    __________________________________________
    I study Information Systems at Karlstad University when I'm not on CodeCall

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Include PHP Files on an External Website
    By Bioshox in forum PHP Development
    Replies: 2
    Last Post: 09-17-2011, 12:47 AM
  2. Call upon a resource
    By Kierien in forum C# Programming
    Replies: 2
    Last Post: 07-09-2009, 03:18 AM
  3. Refering to external files without using full path
    By Zeddan in forum C# Programming
    Replies: 5
    Last Post: 10-28-2008, 06:58 AM
  4. Comparing lastmodified dates of external files...any ideas?
    By erdubya in forum JavaScript and CSS
    Replies: 0
    Last Post: 03-05-2008, 11:58 AM
  5. Resource id #59
    By TcM in forum PHP Development
    Replies: 5
    Last Post: 01-13-2008, 08:45 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts