Title: Transfer failed
Last modified: October 18, 2018

---

# Transfer failed

 *  [maartentak](https://wordpress.org/support/users/maartentak/)
 * (@maartentak)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/transfer-failed-2/)
 * Hi there,
 * Quick question; I’ve installed the plugin, but I get the “transfer failed” error.
 * Do you know why this might be?
 * Thanks on advance!
 * All the best,
    – Maarten
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftransfer-failed-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [ozpital](https://wordpress.org/support/users/ozpital/)
 * (@ozpital)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/transfer-failed-2/#post-10800619)
 * Thanks for the link [@maartentak](https://wordpress.org/support/users/maartentak/).
 * You’re getting a 400 error from the first AJAX request to `/wp-admin/admin-ajax.
   php`.
 * I get the feeling the plugins ajax actions aren’t being registered in time.
 * I need more info. Do you get any PHP errors in your error logs when trying to
   transfer files with the plugin? They might reveal the issue.
 *  Thread Starter [maartentak](https://wordpress.org/support/users/maartentak/)
 * (@maartentak)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/transfer-failed-2/#post-10802449)
 * I’ve checked but my error log doesn’t show any PHP errors on the page.
 *  [StephenSkelly](https://wordpress.org/support/users/stephenskelly/)
 * (@stephenskelly)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/transfer-failed-2/#post-11429597)
 * Ive just solved this error i think.
 * After looking at the curl request sent to the wetransfer auth end point i noticed
   that it was sending a “content-length: -1” header which was being refused by 
   the server and returing a 400 error.
 * in /app/services/OWPWT_CurlService.php i just changed the following:
    `public
   static function auth() { Error::post();
 *  $url = ‘authorize’;
 *  $response = self::fetch(‘POST’, $url);
 *  echo $response;
    die(); }`
 *  public static function auth() {
    Error::post();
 *  $url = ‘authorize’;
 *  $response = self::fetch(‘POST’, $url, array(‘content-length: 0’));
 *  echo $response;
    die(); }
    -  This reply was modified 7 years, 1 month ago by [StephenSkelly](https://wordpress.org/support/users/stephenskelly/).
 *  Plugin Author [ozpital](https://wordpress.org/support/users/ozpital/)
 * (@ozpital)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/transfer-failed-2/#post-11439659)
 * Thanks for posting this [@stephenskelly](https://wordpress.org/support/users/stephenskelly/),
   hopefully it helps some others. It’s highly unlikely I’ll be patching the release
   as WeTrasnfer are working on a drop-in widget which – if viable – could be a 
   drop in replacement for the javascript side of the plugin and do away with the
   PHP curl requests.
 * As you’ll be aware, I’ve removed the plugin from WordPress – I am in talks with
   WeTransfer and a new plugin featuring the above ‘official widget’ should be online
   soon.
 * It will simplify my codebase and allow me to focus on integration with plugins
   like Gravity Forms, Contact Form 7 etc.
 * If you’re interested I have updated my original plugin to support Contact Form
   7 properly. You can find the source code here: [https://github.com/weareindi/wordpress-wetransfer](https://github.com/weareindi/wordpress-wetransfer)–
   it just never made it to the WordPress plugin directory.

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

The topic ‘Transfer failed’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ozpital-wetransfer_7a7a7a.svg)
 * [Ozpital WPWeTransfer](https://wordpress.org/plugins/ozpital-wetransfer/)
 * [Support Threads](https://wordpress.org/support/plugin/ozpital-wetransfer/)
 * [Active Topics](https://wordpress.org/support/plugin/ozpital-wetransfer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ozpital-wetransfer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ozpital-wetransfer/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [ozpital](https://wordpress.org/support/users/ozpital/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/transfer-failed-2/#post-11439659)
 * Status: not resolved