tvkaiser Posted March 17, 2006 Posted March 17, 2006 I would like to transfer files with the function InternetWriteFile from wininet.dll. Up to opening the file everything is OK. But if I want to write data now, I get the error message ERROR_INVALID_PARAMETER, The parameter is incorrect.CODE $iInternetWriteFile = DllCall('wininet.dll', 'int', 'InternetWriteFile','long', $hFTPOpenFile, 'str', $sBuffer, 'long', $iBytesToWrite, 'long', $iBytesWritten)Does someone have an idea, what's wrong?
Confuzzled Posted March 18, 2006 Posted March 18, 2006 I would like to transfer files with the function InternetWriteFile from wininet.dll. Up to opening the file everything is OK. But if I want to write data now, I get the error message ERROR_INVALID_PARAMETER, The parameter is incorrect.CODE$iInternetWriteFile = DllCall('wininet.dll', 'int', 'InternetWriteFile','long', $hFTPOpenFile, 'str', $sBuffer, 'long', $iBytesToWrite, 'long', $iBytesWritten)Does someone have an idea, what's wrong? Can you post a little more of your code please for us to work on?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now