Re: PutFile not finding local file - WeOnlyDo Discussion board

Re: PutFile not finding local file (General questions)

by doteffect, Thursday, March 20, 2008, 23:17 (5886 days ago) @ bugmenot

i am having the same problem that return error below;

LocalPath should specify a file, and such file does not exist.

I tried the suggestion below but failed.

sftp.LocalPath sFile
sftp.putFile sFile, /directoryName/

On further test, i found that when the script executed, it actual look for file on server instead of user pc.

Did you guys tested with a separate pc and upload a file to server? or just test upload file within the server?

Anyone can help? Please. Thanks.


Complete thread: