Re: Server Error - WeOnlyDo Discussion board

Re: Server Error (General questions)

by voxio, Thursday, September 08, 2005, 15:33 (7016 days ago) @ wodSupport

I tried to upload a file using sftp(I used PutFile method for this), but an error code was returned from the method which is the ServerErrorCode : 2 meaning No such file Or folder .

So, I created an empty file(filename eqaul to local file) at remote site before using PutFile method. Now i was able to upload the local file successfully using PutFile method...

If I pass the method the full path name, the method works. But is I pass a relative path name, the method does not work. Is there a method that can be used with relative path name to upload a file.

For example instead of using /home/etc/a.txt , I want to use a.txt , but ofcourse I've changed my path to /home/etc/ before using it.


Complete thread: