• I’m using a .nl and .com domain. The .nl is the wordpress directory. I want to use the wordpress upload function to upload files into my other other domain, and I know this is normally possible by using the absolute path. BUT, the .com domain is hosted at a different provider. Does anyone carry ideas for a plugin solution?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    You can’t do that, at all. If you upload, then you’re uploading to that host. If it’s on a different machine entirely, then you can’t upload to one machine and expect it to go to another.

    Thread Starter newsjunk

    (@newsjunk)

    For sure you can upload to domain1, and ftp the file with a php script to domain2. That means you need to upload to machine1 first, before the script can move the file into machine2. This is the only comparable information I could find online.

    The plugin should upload like normally, than move the new file to machine2 with ftp_connect,_login,_alloc,_mk_dir and _nb_put, than change the wordpress domain name to domain2.

    I think I can write this plugin by my own, but maybe there are better ideas or there already might be a good solution.

    Maybe this topics could be better placed into the plugin forum section?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WordPress upload folder outside the domain’ is closed to new replies.