Question:
I am a newbie trying to use the Chilkat dll to upload and download files from Amazon using vbscript. I have the DLL registered on my server. Overtime I try to connect to Amazon I get the following error back -
WindowsError: The system cannot find the path specified. WindowsErrorCode: 0x3 win32CreateFileAnsi failed. localFilePath: C:inetpubwwwrootgp-planner.simpleswipe.comeventsgraphicsuploadsfiles currentWorkingDirectory: c:windowssystem32inetsrv localWindowsFilePath: C:inetpubwwwrootgp-planner.simpleswipe.comeventsgraphicsuploadsfiles Failed. --S3_UploadFile --ChilkatLog
How do I change my current working directory?
Have you tried using FileAccess to create and or test the folder structure and permissions?
If FileAccessObj.DirEnsureExists(path_variable) = 1 Then print "ok"
or
If FileAccessObj.FileExists3(path_variable & "somefile.txt") = 1 then print "ok"