Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Nov 2007
    Posts
    1,253
    Tokens
    150

    Latest Awards:

    Default

    Normally you would do it by having the upload form and upload handler on server A and an API type handler on B. You would then use CURL on server A to post the data to server B handler, of which would then store the files.

    http://forums.devshed.com/php-develo...le-533233.html

    that might help with curl a bit, of course you can use php.net/curl

  2. #12
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    Temp store the images on server A after an upload and add the name to a txt file then put a cron job on server B to download that txt file and copy all the images, then make server B make a txt file with the files its download then a cron job like an hour later to check that txt file and delete the old text file and the images in that txt file.

  3. #13
    Join Date
    Sep 2008
    Location
    UK
    Posts
    3,670
    Tokens
    0

    Latest Awards:

    Default

    You COULD do it via connecting to an FTP, I think.
    Back for a while.

  4. #14
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    Quote Originally Posted by Excellent2 View Post
    You COULD do it via connecting to an FTP, I think.
    http://www.web-development-blog.com/...load-via-curl/

    you are correct.

Page 2 of 2 FirstFirst 12

Posting Permissions

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