[GUIDE] Enable FXP transfers between 2 MyBookLives

 FXP is an FTP to FTP transfer (No data is passed through your PC)

This will allow you to easily transfer multiple files and folders between 2 MyBookLive devices using any FTP client that supports FXP

  1. SSH into your MBL using PuTTY or Terminal

  2. Edit vsftpd.conf

    nano /etc/vsftpd.conf

  3. At the bottom of the file add

    port_promiscuous=YES

Hit control and o

Hit enter

Hit control and x

This will save and overwrite the old file and exit nano

  1. Now restart vsftpd

    /etc/init.d/vsftpd restart

  2. Repeat this process on your second MyBookLive

  3. Download a free program that supports FXP transfers such as FTPRush http://www.wftpserver.com/ftprush.htm

  4. Make sure passive mode is enabled for each connection

  5. FTP into the 1st MBL in the left pane using standard port 21

  6. FTP into the 2nd MBL in the right pane using standard port 21

  7. Transfer multiple files and folders at top speed from one drive to the other

    [1] TYPE I[1] 200 Switching to Binary mode.[2] TYPE I[2] 200 Switching to Binary mode.[1] PASV[1] 227 Entering Passive Mode (192,168,1,4,19,197).[2] PORT 192,168,1,4,19,197[2] 200 PORT command successful. Consider using PASV.[2] STOR Frankenweenie 2012.mkv[2] 150 Ok to send data.[1] RETR Frankenweenie 2012.mkv[1] 150 Opening BINARY mode data connection for Frankenweenie 2012.mkv (2840301466 bytes).[1] 226 Transfer complete.[2] 226 Transfer complete.[i] Frankenweenie 2012.mkv 2.6 Gbytes/49.11(s)/57,836.68Kbps[i] transferred 1 file(s) - Total: 2.6 G byte(s) in 49.11 (57,836.68 KBps)[2] TYPE A[1] TYPE A[2] 200 Switching to ASCII mode.[1] 200 Switching to ASCII mode.[2] PASV[1] PASV[2] 227 Entering Passive Mode (192,168,1,6,19,210).[1] 227 Entering Passive Mode (192,168,1,4,19,191).[2] Opening data connection IP: 192.168.1.6 PORT: 5074[1] Opening data connection IP: 192.168.1.4 PORT: 5055[2] LIST -al[1] LIST -al[2] 150 Here comes the directory listing.[1] 150 Here comes the directory listing.[2] 226 Directory send OK.[1] 226 Directory send OK.[2] List Complete: 659 bytes in 0.03 seconds (21.26KB/s)[1] List Complete: 453 bytes in 0.03 seconds (14.61KB/s)

4 Likes

Nice! Never heard of it! Like it! And thanks for lettting me learn something new.

One question though, if security is a concern, can this be encrypted? Doing some searches but not a definitive answer yet.

FXP isn’t an encrypted connection but it comes in handy on a local network when you want to transfer files from one MBL to another at some nice speeds. VSFTP uses ports 5000-5099 for FXP. If you were to do this outside your home network, I would stick with something that supports encryption

pasv_min_port=5000
pasv_max_port=5099

 If you find out otherwise though, please update me in this thread :slight_smile:

1 Like

Will this work with a My Book World to a My Book Live?

Also, as  Mac user, do you know if Fetch will do the job of FTP Rush? I’ve tried to FTP between the two via my Mac and get about 1.8MB/s only…

** edit ***

sorry, could have googled that myself. Yes, Fetch supports it -  http://fetchsoftworks.com/fetch/help/Contents/Concepts/ServerToServerTransfers.html

  1. If you can edit the MyBookWorld vsftp config then yes it should work

  2. Any MAC program that supports FXP should work

1 Like

What am I doing wrong? I’ve edited the vsftpd.conf file on both NAS drives, and restarted them for good measure.

I’ve tried it with Fetch on a Mac, having enabed server to server in the prefs. On transfering files I immediately get a ‘server connection closed’ error on the destination.

So I’ve tried it on Windows with Rush FTP - similar problem but just get 0 byte files copied…

Any ideas?

Thanks

None at all unfortunately :frowning:

1 Like

Trying this has caused all sorts of problems with my MBL. I can no longer access the web control panel, it shows under ‘shares’ on my mac but I can’t access it and I can no longer SSH into it. However, I can ping it and the green light is flashing so I have no idea what it’s doing!

Try holding the reset button for 4-8 seconds to reboot the drive to defaults.
The change to vsftpd.conf would not cause any dashboard issues

1 Like

Now that I think of it, there was one more setting to make FXP work under vsftpd. The MBL already had that particular line in the vsftpd.conf but the MyBook World may not.

I will have to dig around again

1 Like

Make sure your MyBook World has the following lines in the vsftpd.conf

pasv_promiscuous=YES
port_promiscuous=YES

1 Like

Thanks - I’ll give that a go.

I’ve pretty much copied most stuff across now anyway. Just my mounting both drives on my Mac and copying across. Really slow…

:smileyvery-happy:

Well I seem to have got it working, sort of. Seems I have to delete the .hidden Apple files and folders from the source. But transfer rate is only 3.1Mb/s. I tried SFTP and it’s down to 1.5MB/s - they’re both plugged into the same gigabit router so that’s pretty poor isn’t it?

Yes very poor, on large files I get 55MB/sec… Do you have another gigabit router you can try?

1 Like

Is the MyBook World gigabit? Even at 100Megabit you should get around 12MB/sec

1 Like

Yes, the MBW has gigabit according to the spec.

http://www.wdc.com/wdproducts/library/AAG/ENG/4178-705039.pdf

It’s a brand new TP-Link switch - I do have a Netgear one I can swap with it to test…

Hello, 

First post here… :).

So…the issue is the following:

  • I’m trying to transfer 1TB files from one MBL to another due to the fact that one of them is damaged (status lights are not working anymore) and I’ve received an replacement from WD.

  • I’ve performed all the steps presented above and i cannot transfer the files. The only thing transferred is the tree structure. The error message received in the FTP log is the following:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

[T] Connecting to ftp://admin:\*\*\*@192.168.1.133
[T] Connecting to ftp://admin:\*\*\*@192.168.1.128
[T] Connecting to 192.168.1.133:21
[T] Connecting to 192.168.1.128:21
[T] 220 “Welcome to MyBookLive”
[T] 220 “Welcome to MyBookLive”
[T] USER admin
[T] USER admin
[T] 331 Please specify the password.
[T] 331 Please specify the password.
[T] PASS (hidden)
[T] PASS (hidden)
[T] 230 Login successful.
[T] 230 Login successful.
[T] SYST
[T] SYST
[T] 215 UNIX Type: L8
[T] 215 UNIX Type: L8
[T] TYPE A
[T] TYPE A
[T] 200 Switching to ASCII mode.
[T] 200 Switching to ASCII mode.
[T] REST 1
[T] REST 1
[T] 350 Restart position accepted (1).
[T] 350 Restart position accepted (1).
[T] REST 0
[T] REST 0
[T] 350 Restart position accepted (0).
[T] 350 Restart position accepted (0).
[T] FEAT
[T] FEAT
[T] 211-Features:
[T] 211-Features:
[T] EPRT
[T] EPRT
[T] EPSV
[T] EPSV
[T] MDTM
[T] MDTM
[T] PASV
[T] PASV
[T] REST STREAM
[T] REST STREAM
[T] SIZE
[T] SIZE
[T] TVFS
[T] TVFS
[T] UTF8
[T] UTF8
[T] 211 End
[T] 211 End
[T] PWD
[T] PWD
[T] 257 “/”
[T] 257 “/”
[T] CWD /Pictures/Punta Cana/100NIKON/
[T] 250 Directory successfully changed.
[T] PWD
[T] 257 “/Pictures/Punta Cana/100NIKON”
[T] PASV
[T] 227 Entering Passive Mode (192,168,1,128,19,197).
[T] Opening data connection IP: 192.168.1.128 PORT: 5061
[T] LIST
[T] 150 Here comes the directory listing.
[T] 226 Directory send OK.
[T] List Complete: 56,426 bytes in 0.27 seconds (212.93KB/s)
[T] TYPE I
[T] 200 Switching to Binary mode.
[T] TYPE I
[T] 200 Switching to Binary mode.
[T] PASV
[T] 227 Entering Passive Mode (192,168,1,128,19,182).
[T] PORT 192,168,1,128,19,182
[T] 500 Illegal PORT command.
[T] Reversed FXP started
[T] PASV
[T] 227 Entering Passive Mode (192,168,1,133,19,190).
[T] PORT 192,168,1,133,19,190
[T] 500 Illegal PORT command.
[i] Transfer Failed: DSCN2213.JPG
[T] (User Disconnect Connection)
[T] (User Disconnect Connection)
[i] Failed 1 file(s) and Skipped 0 file(s)
[T] ftp://admin:\*\*\*@192.168.1.133 Disconnected
[1] PASV
[2] PASV
[T] ftp://admin:\*\*\*@192.168.1.128 Disconnected
[1] 227 Entering Passive Mode (192,168,1,128,19,147).
[2] 227 Entering Passive Mode (192,168,1,133,19,138).
[1] Opening data connection IP: 192.168.1.128 PORT: 5011
[2] Opening data connection IP: 192.168.1.133 PORT: 5002
[1] LIST
[2] LIST
[1] 150 Here comes the directory listing.
[2] 150 Here comes the directory listing.
[2] 226 Directory send OK.
[2] List Complete: 335 bytes in 0.02 seconds (20.94KB/s)
[1] 226 Directory send OK.
[1] List Complete: 56,426 bytes in 0.42 seconds (133.71KB/s)

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Both are connected on GBit via Linksys E4200.

Any ideeas why?

Many thanks,

Marian

Try restarting vsftp

In PuTTY or terminal, issue
/etc/init.d/vsftpd restart

2 Likes

Guide updated

vsftpd needs to be restarted for the settings to take effect… Sorry for missing this guys

2 Likes

Worked like a charm! Many thanks.