Help with ftpd

A

Anonymous

Guest
I am trying to upload files from a windows machine to my FreeBSD machine using ftp. I have ftpd enabled in /etc/rc.conf and have started the daemon. Below are the commands I am using from the windows shell, but when I check on the FreeBSD system for the uploaded file there is nothing.

Code:
C:\Documents and Settings\Administrator>ftp 192.168.2.2
Connected to 192.168.2.2.
220 my.test.box.com FTP server (Version 6.00LS) ready.
User (192.168.2.2:(none)): mickey.harvey
331 Password required for mickey.harvey.
Password:
230 User mickey.harvey logged in.
ftp> pwd
257 "/usr/home/mickey.harvey" is current directory.
ftp>put C:\Documents and Settings\Administrator\Desktop\logo-freebsd.png
ftp>
 
Sorry but I can’t really help other than to relate some info that I am planning to follow myself. I am a little slower by nature and taking one step at a time to build an easy to run but secure dedicated web-server after I learn how to walk around the FreeBSD system, thasn I plan to rent. Others will be more informative right now, but this info could prove helpful down the line.

“I recommend leaving FTP disabled (FreeBSD's default). FTP is not nearly secure as SFTP or SCP. Almost any modern FTP client is capable of SFTP and the SFTP daemon runs by default on FreeBSD.”

BY:
http://www.imarc.net/communique/view/52/run_your_own_unix_web_server_part_2_of_3
 
What happens if you cd to C:\Documents and Settings\Administrator\Desktop\ first and upload logo-freebsd.png from there?
 
Is what I'm getting now, and when I insert the image in an HTML document it just shows me the broken image symbol.

l_ddccd13fb7834f029c2fd27f49f6745c.gif
 
fixed it by transferring in binary mode
 
I guess the spaces in the path name confused ftp. Something like
Code:
put "C:\Documents and Settings\Administrator\Desktop\upload logo-freebsd.png"
may or may not work.
 
Back
Top