SFTP GetFileSize32 returns 4294967295

Question:

I have an issue with the SFTP component.

When using the GetFileSize32 it returns 4294967295 for a file with length of 1324 bytes. L

When using the GetFileSizeStr it returns Nothing for a file with length of 1324 bytes. L

Answer:

GetFileSize32 returns -1 when it fails, so I suspect that if your variable is unsigned, -1 will appear as 4294967295.   Please send full contents of the sftpObject.LastErrorText property, captured immediately after calling GetFileSize32, to support@chilkatsoft.com

Tags :