Hi,how are you.
I have a trouble ,when I use FTP.
I know I must set obj server "PASV",and then set src
server "STOR",then obj server "RETR",begin transfer.
do you have example for it use API,please help me,thanks.
I am writing a Liveupdate software that run like the LiveUpdate in Norton Anti-Virus. But I am having problems when writing this program using Embedded Visual Tool Kit 3.00 as i could not synchronize perfectly, it only download the whole thing. I am glad if anyone would give me any information on my problem.
I create an application that retrieve via FTP some files from a Web Site. This application uses wininet.dll and execute all jobs in background. The problem is an error "407 Proxy-Authentication required" . I realize that the solution is adding an Http request string with Username:Passord required.
How can I implement this solution?
How can I by-pass Proxy Authentication programatically ?
I'm using CFtpConnection to connect to an NT 4.0 box. I then use CFtpFileFind to get a list of files. FindNextFile() and GetFileName() work fine. But IsReadOnly() always returns zero, even when the file is read-only.
This fails on multiple machines that I've tried it on.
Is this a known bug? Does anyone have a workaround? I can't find anything on Microsoft's site.
On unix machine, you can create a link to a directory. In that case, pFileFind->IsDirectory())will return false. The only workaround I can think of is to use SetCurrentDirectory to test whether it is a dir or file.