Re: Using the 'FtpCommand' of wininet.dll
- Posted by ghaberek (admin) Aug 19, 2009
- 1672 views
sergelli said...
1-where they put the flag = "PASSIVE"
The source code only seems to support "ASCII" as an option for flags.
Flags = FTP_TRANSFER_TYPE_BINARY Parameter = ParameterValue("flags",NULL, options) if sequence(Parameter) then if equal(upper(Parameter),"ASCII") then Flags = FTP_TRANSFER_TYPE_ASCII end if -- there should be something here to -- check for a combination of flags end if
sergelli said...
2-How you can copy and paste the message returned? It appears that you do this, easily. How is this magic? :)
Just hit Ctrl+C when the message box is in focus. It will copy all the text on the message box. Then I just edit out the stuff I don't need.
Example:
--------------------------- Wininet --------------------------- 220 spftp/1.0.0000 Server [204.2.225.144] 331 Password required for USER. 230 Welcome to WinZip's FTP site. --------------------------- OK ---------------------------
-Greg