• Resolved atiquetedevelopers

    (@atiquetedevelopers)


    I’ve split the resources into two servers: Server A with administration files, Server B with public files. They are connected by the data base.

    Are there any way that will cause media that I upload from the WP admin installation on Server A to be stored over on Server B? Whit this, that media will be served from Server B (“public site”).

    If possible, other than through an FTP connection, my client doesn’t want a FTP in the public site 🙁

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’d say that your first problem is this:

    If possible, other than through an FTP connection, my client doesn’t want a FTP in the public site 🙁

    You are transfering server to server. The initial file upload will be to a temporary file on Server A (sounds like). You will then have to transfer that file to server B. I don’t know of a way around that. FTP is built for file transfer and sFTP does the whole thing over an encrypted connection. Otherwise I guess you’d need some kind of uploader script on Server B, but that doesn’t seem any more secure than sFTP.

    There are plugins that do this, or similar. You could look at those and see how they work.

    http://wordpress.org/extend/plugins/search.php?q=CDN

    Thread Starter atiquetedevelopers

    (@atiquetedevelopers)

    Thanks for you answer!

    I take a look to these plugins, but I think that they force me to have a FTP…

    I think I’ll choose the option to create an uploader on server B.

    Thread Starter atiquetedevelopers

    (@atiquetedevelopers)

    This is my solution

    Server A: Hooks: Image creation and Thumbnails creation

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Upload images to a different server’ is closed to new replies.