30022 - Error occured trying to open local file (General questions)
How can I download a file with a : character in its path?
I tried to get remote file /tmp/ABCD123:images/1.jpg into local path C: mp, but it kept returning the error 30022 Error occured trying to open local file .
It works ok when I try to get /tmp/ABCD123images/1.jpg
Re: 30022 - Error occured trying to open local fil
June,
wodSFTP doesn't do any name conversions. Windows don't accept : in the name - so error is returned.
You can download file using different name, just specify something else in LocalPath and it should work.
Hope it helps.
Re: 30022 - Error occured trying to open local fil
I'm still not sure why this happens...
I understand that windows won't create a file with : in it's name, but I'm trying to download a file called 1.jpg . It's only the path on the remote machine that contains the :
The file should be copied to the local machine as C: mp1.jpg
Re: 30022 - Error occured trying to open local fil
June,
ok, I tried to duplicate the problem and now I see what you mean. Indeed, this was a bug. It's fixed now, please request update (or download demo again if you're not licensed user).
Regards,
Kreso