Posts

Showing posts from April, 2016

How to transfer and received file beagle bone to FTP server in fedora

 How to transfer and received file beagle bone to FTP server in        fedora Server Side: Step 1:In vsftpd.conf file (/etc/vsftpd/vsftpd.conf) editthis lines.  anon_other_write_enable=YES dirmessage_enable=YES dirlist_enable=YES no_anon_password=YES file_open_mode=0777 guest_enable=YES anon_upload_enable=YES Step 2 : start service vsftpd (service vsftpd start) Step 3: stop firewall (systemctl stop firewalld.service) step 4: mount --bind /default directory/ /var/ftp Client side:  Step 1: stop firewall service from ftplib import FTP import os flag = True while(flag):         os.system("ifconfig eth0 192.168.5.2")         ftps = FTP('172.16.1.176')         ftps.login('apcoer','12345678')         print "Select an option for transfering files:\n1.Machine to BBB\n2. BBB to machine"         print "3.FTP to BBB\n4.BBB to FTP\n5.Exit"         choice = int(input())         if choice == 1: