Ask Your Question

How to move my files from my old laptop using vsftp

asked 2017-07-17 05:48:33 -0500

powergame gravatar image

As it seems that networking in Linux is hell of a hard job, I decided to configure my old laptop as an ftp server using vsftp and then connect to it with my new laptop over the same local network (wireless) and get my files. I just managed to start the default ftp server and access ftp://localhost locally which in turn shows an empty 'pub' folder. To access my files from the old laptop, I need to set a folder other than pub for vsftp, but I saw no option to this purpose in vsftpd.conf. I have several partitions mounted on /mnt e.g. /mnt/dir1, /mnt/dir2, etc. I need to access all of these directories remotely via ftp (using e.g. FileZilla). How can I do that?

edit retag flag offensive close merge delete



Why don't you try rsync? man rsync

fcomida gravatar imagefcomida ( 2017-07-17 06:14:15 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-07-17 13:08:03 -0500

ssieb gravatar image

updated 2017-07-20 13:22:38 -0500

FTP is a very insecure protocol and has generally been deprecated. There is some configuration necessary to allow non-anonymous access and wider directory access. There should be documentation around. But you would be much better off using a protocol that runs over ssh, such as rsync, sftp, or scp. Why are you wanting to use FileZilla? You don't say what kind of system you are wanting to use to copy the files. If it's Linux, then you can directly connect and copy using the file manager. If it's Windows, then get winscp. I just checked and FileZilla claims to support sftp, so it would work as well.

In Nautilus, you can use CTRL-L to go to a specific file location or any supported url. Or you can click on "Other Locations" at the bottom. Then there will be a text box at the bottom to enter a url with a bit of help text about different available protocols. What you want is sftp://username@hostname_or_ip:/path. Once you're connected, you can make a bookmark for the location to easily access it later by dragging a folder to the left side and dropping it on the "+New Bookmark" label.

edit flag offensive delete link more


Both are Linux. Thanks for your answer. By the way, is it really possible to copy directly via Gnome File Manager (nautilus)?

powergame gravatar imagepowergame ( 2017-07-20 02:08:50 -0500 )edit

I modified the answer to include that info.

ssieb gravatar imagessieb ( 2017-07-20 13:23:42 -0500 )edit

Thanks @Samuel-sieb

powergame gravatar imagepowergame ( 2017-07-21 23:50:23 -0500 )edit

Question Tools

1 follower


Asked: 2017-07-17 05:48:33 -0500

Seen: 96 times

Last updated: Jul 20 '17