Unable to ftp files to other directories - WeOnlyDo Discussion board

Unable to ftp files to other directories (General questions)

by rvad, Wednesday, October 04, 2006, 19:44 (6625 days ago)

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

by wodSupport, Wednesday, October 04, 2006, 21:33 (6624 days ago) @ rvad

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

by wodDrazen, Thursday, October 05, 2006, 00:16 (6624 days ago) @ wodSupport

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

by Ramesh, Thursday, October 05, 2006, 16:23 (6624 days ago) @ wodDrazen

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

by Ramesh, Thursday, October 05, 2006, 17:37 (6624 days ago) @ Ramesh

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

by wodDamir, Thursday, October 05, 2006, 19:20 (6624 days ago) @ Ramesh

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