login about faq

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?

asked Jun 29 '15 at 17:43

gpfeifer's gravatar image

gpfeifer
111

Hello, it does not look like there are any (back slashes) in your file paths. If you do not mind, please wrap the error code in the a pre block. This will prevent this site from stripping characters.

<pre>some code</pre>
(Jun 29 '15 at 18:55) emartinson
WindowsErrorCode: 0x3 win32CreateFileAnsi failed. localFilePath: C:\inetpub\wwwroot\gp-planner.simpleswipe.com\events\graphics\uploads\files\ currentWorkingDirectory: c:\windows\system32\inetsrv localWindowsFilePath: C:\inetpub\wwwroot\gp-planner.simpleswipe.com\events\graphics\uploads\files\ Failed. --S3_UploadFile --ChilkatLog
(Jun 30 '15 at 08:13) gpfeifer

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"
link

answered Jun 30 '15 at 19:31

emartinson's gravatar image

emartinson
148162030

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×50
×15
×13
×8

Asked: Jun 29 '15 at 17:43

Seen: 2,699 times

Last updated: Jun 30 '15 at 19:31

powered by OSQA