Re: Using the 'FtpCommand' of wininet.dll

new topic     » goto parent     » topic index » view thread      » older message » newer message
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. blink


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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu