Uploading Files to FTP Servers

Q

Uploading Files to FTP Servers

✍: Guest

A

Allowing other users to upload files to your FTP server needs some extra security settings. So let's re-visit the IIS FTP Server settings:
1. Run IIS, and open the Default FTP Site properties dialog box.
2. Visit the Security Accounts and Home Directory tabs, and making the following changes:
* Allow Anonymous Connections: unchecked - To stop other users accessing your FTP server anonymously. The server can only be accessed now by admin users registered on your machine.
* FTP Site Directory Write: checked - To allow other users to upload files.

To upload files, run the FTP client in a command window:

>ftp localhost
Connected to localhost.
220 Microsoft FTP Service
User (localhost:(none)): gg 331 Password required for gg.
Password: ********
230 User gg logged in.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
11:05PM 5537 ftp.html
03:43PM 5082 index.html
08:39PM 1174 reference.html
226 Transfer complete.
ftp: 155 bytes received in 0.00Seconds 155000.00Kbytes/sec.
ftp> put help.html
200 PORT command successful.
150 Opening ASCII mode data connection for help.html.
226 Transfer complete.
ftp: 728 bytes sent in 0.00Seconds 728000.00Kbytes/sec.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
11:05PM 5537 ftp.html
11:53PM 728 help.html
03:43PM 5082 index.html
08:39PM 1174 reference.html
226 Transfer complete.
ftp: 205 bytes received in 0.00Seconds 205000.00Kbytes/sec.
ftp> quit
221

2008-10-28, 5983🔥, 0💬