Set the FTP User Password in WINCE

Source: Internet
Author: User

Set the FTP User Password in WINCE

Enable FTP in WINCE, add FTP components, and add the following content to the Registry Platform. reg:
[HKEY_LOCAL_MACHINE \ Comm \ FTPD]
"IsEnabled" = dword: 1' enable FTP
"UseAuthentication" = dword: 1
"AllowAnonymous" = dword: 1' Anonymous Access Allowed
"AllowAnonymousUpload" = dword: 1
"AllowAnonymousVroots" = dword: 1
"DefaultDir" = "\" 'default directory
Compile and burn NK on the board to allow FTP access.

If you want to access FTP using the user password, you still need two steps.
1. Use NTLMSetUserInfo to set the user name and password of the system. This function can dynamically maintain various users and passwords of the system;

The NTLMSetUserInfo function is in ntlmssp. dll.
The function prototype is BOOL NTLMSetUserInfo (LPTSTR pszUser, LPTSTR pszPassword );
You can use BOOL NTLMDeleteUser (LPTSTR pszUser) to delete a specified user.

2. Add the set user name to the FTP UserList, and FTP will have the user name and password;
[HKEY_LOCAL_MACHINE \ Comm \ FTPD]
"UserList" = "admin"
If multiple users are added, separate them.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.