Posted: 2012-03-06 09:50
I'm having a trouble when using WinSCP from .NET Code.
The delete handle in get command deletes the source files but tries also to remove the source directory which gives me error in my log.xml file
<filename value="/myremotepath" />
Error code: 3
Error message from server: Permission denied
Request code: 15</message>
I'm trying to simply get all jpg files from one folder and delete them.
get /myremotepath /mylocalpath -delete
Thanks in advance!
Location: Prague, Czechia
If you want to keep the source directory, make sure you are downloading its content, not the directory itself:
get /myremotepath/* /mylocalpath/ -delete
You can post new topics in this forum
And it's free!