lhFTPFile = FtpOpenFile( lhFTPSession, This.FTPSendTargetName,; GENERIC_WRITE,; INTERNET_FLAG_RELOAD + FTP_TRANSFER_TYPE_BINARY, 0)but the program was complaining about GENERIC_WRITE so i put that in quotes. then it complained about the next parameter so i changed that to be "FTP_TRANSFER_TYPE_BINARY" but now it is complainaing about a data type mismatch. i have checked the web and any examples i find don't use quotes but if i dont i get the error variable GENERIC_WRITE not found etc. all i am trying to do is send a file up to an ftp server and then take one down.