FTP How to
Example of converting Windows FTP script to WinSCP FTP script
How to
create an FTP Drop Only Site
How to create FTP Virtual Site
How to
create an FTP Drop Only Site
This article descript how to create an FTP site that anonymous users can
drop files to, but can't see or retrieve any files that have been uploaded.
The article also show you how to retrieve the files uploaded to the drop
folder.
1. Create a ftp folder called FTP and subfolder called Drop.
2. Disable inheritable permissions from the FTP folder to Drop by opening
Properties of FTP. Click the Advanced. Then uncheck “Allow
inheritable permissions from the parent to propagate to this object…”
When prompting you to Copy, Remove or Cancel the existing
inherited permissions on the FTP folder, click Copy. Then
click OK to close the Advanced Security Settings
box and return to the Properties for the FTP folder.
3. Remove the following three groups: CREATOR OWNER, SYSTEM, and Users in
the Security of FTP and keep Administrators only with
Full Control. Note:
you may add another user for managing the FTP folder.
4. Add the IIS anonymous user account (IUSR_servername) with List Folder
Contents permission in the FTP as shown below.
5. Open the Properties of Drop folder and clear “Allow inheritable
permissions…” checkbox in the Drop older, click Copy as we did in FTP
folder. Click OK to be back the Security of the drop folder.
6. Click the Advanced in the Drop folder. Even though the permissions in the
Security page for IUSR_servername is List Folder Contents, the
Advanced page
shows Read & Execute permissions. Highlight IUSR_servername and click the
Edit. When the Permissions Entry dialog box appears, make sure only
List
Folder/Read Data and Read Permissions are checked. Also change the
Apply
Onto dropdown listbox to Files Only as shown below. Click
OK to close the
Permissions Entry box.
7. Modify the special permissions for IUSR_servername in the Drop folder. Click the
Add button to add IUSR_servername with these permissions:
Check Files / Write data, Create Folders / Append Data, Write Attributes,
Write Extended Attribute and Read Permissions. In the Apply onto, select
This folder only.
Click OK several times to close the permissions dialog boxes and you’re
done.
8. Setup FTP as the root folder for the Default FTP Site
in IIS. Open IIS Manager, navigate to FTP Sites>Default FTP Site.
Select Properties. Select the Home Directory
tab and change the home folder for the site from C:\Inetpub\Ftproot to
E:\FTP. Also select the Write checkbox to
enable uploads to the FTP site.
9. Finally, test the FTP drop site. Open an Internet Browser and enter
the URL for the FTP drop box, for example ftp://10.0.0.19/drop.
Drop files to it. You will see all files you just dropped. However, if you
press F5, all files will disappear.
10. To retrieve the FTP files, login administrator or a user who has
rights to the FTP and Drop folder.
Post your questions, comments, feedbacks and suggestions
Contact a consultant
Related Topics
|