hi all,
i am trying to get ftpgetfile() workin but am having problems. i use the code
FtpGetFile(lhFTPSession, FTPcopyfile, FTPcopyfile, 0, 0, 0, 0)
the first parameter works fine, i use it to put a file. the next two i think are ok.
the fourth should be true or false but i have 0, if i have .T., TRUE... it kicks up a fuss but 0 works just fine.
the fifth is a 0, i have also tried this as a 1, and this gives me no errors but on the web i see this constantly as "FILE_ATTRIBUTE_NORMAL" but if i use this i get errors.
the sixth is the same problem as the fifth, on the web it is often "FTP_TRANSFER_TYPE_BINARY" but this gives errors.
the seventh seems fine set at 0.
this code keeps failing on me and i know thats its something small as i had similar problems with the parameter on ftpputfile but i can't get to the bottom of this for the ftpgetfile option. any help very much appreciated at this late hour.
Slán
~M
Go raibh maith agat
~M