| |

VerySource

 Forgot password?
 Register
Search
View: 758|Reply: 2

About GetFtpConnection function usage

[Copy link]

4

Threads

7

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 China

Post time: 2020-12-17 12:00:01
| Show all posts |Read mode
CFtpConnection* GetFtpConnection(
   LPCTSTR pstrServer,
   LPCTSTR pstrUserName = NULL,
   LPCTSTR pstrPassword = NULL,
   INTERNET_PORT nPort = INTERNET_INVALID_PORT_NUMBER,
   BOOL bPassive = FALSE
);
May I ask this function if the user name and password are entered and there is no abnormal return, is it equivalent to connecting to ftp and logging in? Is this correct?
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-12-22 12:15:01
| Show all posts
pstrServer: ftp's IP address
pstrUserName: username
pstrPassword: password
you're right
Reply

Use magic Report

0

Threads

1

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2021-1-7 23:52:00
| Show all posts
You did not return, the basic function is wrong
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list