On Saturday 03 April 2010 14:11, Ratheendran R wrote: > Hi All, > > I have successfully cross compiled 'busybox-1.16.0' on my mini2440,the > busybox allows me to ftp login without password and when I try to > download a file using the ftp ( put <file name>) I get the below > message. > > /************************************************************************************************ > gu...@dhcppc0:~/mini2440/BusyBox/busybox-1.16.0> ftp 192.168.1.230 > Connected to 192.168.1.230. > 220 Operation successful > Name (192.168.1.230:guest): plg > 230 Operation successful > Remote system type is UNIX. > Using binary mode to transfer files. > ftp> bin > 200 Operation successful > ftp> put Makefile
"put" is the *upload* command. In order for it to work, you need to enable FEATURE_FTP_WRITE and run ftpd with -w option. Be careful to also use DIR parameter: ftpd -w DIR and/or run ftpd under non-root, otherwise people will be able to overwrite any file using ftp upload. > local: Makefile remote: Makefile > 229 EPSV ok (|||55677|) > 500 Unknown command > > /***************************************************************************************** > > Kindly let me know the configuration I need to perform in order to > make this work. -- vda _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
