Unable to ftp files to other directories (General questions)
Hi, When I try to upload the file to another directory I always get the file uploaded to the root and the rest of the directory specification given in the SCP command is ignored. Need help.
Ex.
scp sample.txt user@machine:MYDir
Here MYDir is ignored and the file always gets to the root directory.
Thanks
Ramesh
Re: Unable to ftp files to other directories
Ramesh,
before our techsupport replies, can I just jump in and ask you - why don't you use sftp instead of scp? You can do all of that (and more...) with sftp which you most probably also have on that system?
Kreso
Re: Unable to ftp files to other directories
Hi Ramesh,
Your problem should be fixed.
Please download latest version of wodSSHServer ActiveX component.
Make sure that Version Property returns to you 1.3.5.211
You can call it on this way:
-----------------------------
MsgBox sshd1.Version
-----------------------------
Let us know how it goes.
Regards,
Drazen
Re: Unable to ftp files to other directories
i downloaded the new version. I will try it out and let youguys know how it goes.
Thanks
Ramesh
Re: Unable to ftp files to other directories
I am able to connect then the system disconnects with the following error. Not sure why.
newkeys: no keys for mode 0
Thanks
Ramesh
Re: Unable to ftp files to other directories
Hi Ramesh,
I've just tried this, and it worked like a charm on my side.
Can you please check what your version property returns? It should return 1.3.5.212 which is the latest version of wodSSHServer.
Also, please check your paths just to be certain you are using the right ones.
Regards,
Damba