0 votes
by (210 points)

http://imgur.com/aBerIIz

As you can see in image url I am trying to upload image to a server with a defined location but I get exception. So please help me out.![enter image description here

Applies to: Rebex SFTP

1 Answer

+1 vote
by (58.9k points)
selected by
 
Best answer

You are getting UnauthorizedAccessException when accessing the local file. Please make sure that your program has sufficient rights to read the image file from "C:\Data\Users\Public\Pictures\Camera Roll\WP20151208001.jpg" and that the file path actually exists.

...