Archived Forum Post

Index of archived forum posts

Question:

ActiveX S3 DownloadFile Issue

Aug 01 '13 at 00:34

Having an issue with downloading files from amazon using VFP 9 on WinOS8. Error text is below. Looks to be OS permissions issue but am not sure. Any tips to resolve are greatly appricated.

ChilkatLog: S3_DownloadFile: DllDate: Jul 10 2013 ChilkatVersion: 9.4.1.26 UnlockPrefix: Anything for 30-day trial Username: WORKPC:clee Architecture: Little Endian; 32-bit Language: ActiveX VerboseLogging: 0 hcCurDate: Thu, 01 Aug 2013 00:17:17 -0400 hcExpire: 11/2013 bucketName: cdrlogs objectName: amz1vpibp2/07/28/13/amz1vpibp2.amz1.vcity.com-opensips.cdr-2013-07-28T00:30.gz localFilePath: c:lobtool stringToSign: GET

Thu, 01 Aug 2013 04:17:17 +0000 /cdrlogs/amz1vpibp2/07/28/13/amz1vpibp2.amz1.vcity.com-opensips.cdr-2013-07-28T00:30.gz Host: cdrlogs.s3.amazonaws.com Authorization: FB3F646A:6tiTsF7UoPOswOl7g99caGycq+E= backgroundThread: 0 url: http://cdrlogs.s3.amazonaws.com/amz1vpibp2/07/28/13/amz1vpibp2.amz1.vcity.com-opensips.cdr-2013-07-28T00:30.gz toLocalPath: c:lobtool localFileAlreadyExists: 1 openForReadWriteWin32: Failed to open file (2) localFilePath: c:lobtool currentWorkingDirectory: d:clee_pcwork_datavcityanalytics osErrorInfo: Access is denied. localWindowsFilePath: c:lobtool --openForReadWriteWin32 totalElapsedMs: 0 ContentLength: 0 Failed. Failed. --S3_DownloadFile --ChilkatLog


Answer

got it to work...looking at example the lcLocalFilePath parameter should contain just file name and not path as the file will be copied to the working dir.