Re: PutFile not finding local file (General questions)
By the way, this forum sucks; I lost my entire post three times because of various login-related issues.
A-ha. Following your suggesting, I think I've figured it out. Here's what I saw:
When I set LocalPath (but only if I specified the full path to the file, and whether or not I specified the file again via putFile) I got a different error: 800a7542, Server returned an error: Permission denied.
I knew I was successfully connected because I could get a directory listing. I then realized that the remote site, when connected to via a GUI client, throws my user into a specific subdirectory. Specifying that in the putFile command (e.g. putFile sFile, /directoryName/ ) seems to have done the trick. The confusing thing was that the first error of LocalPath should specify a file, and such file does not exist. implies a local issue, but it turns out to be more related to remote permissions.
Also, I MUST do:
sftp.LocalPath sFile
sftp.putFile sFile, /directoryName/
because if I omit the first line, I get the local file not found error. Odd, that.
Anyway, thanks for your help.