SCP does not work (wodSFTP / wodSFTP.NET / wodSFTPdll)
Hi guys!
I have bought your wodSSH Product.
ActiveX Component Verion tells me i have version 2.3.9.32
I have tried to upload or download a file to my SuSE Linux Enterprise Server 9 with your developed Example, but it don't work.
I have tried the Oppinions told on this forum but i get always the Error Cannnot send at this time, not connected => Error Code 30008.
Have you an idea how to solve my problem?
Best regards,
Robert
Re: SCP does not work
Hi Robert,
We just duplicate an error 30008-Cannot send at this time, not connected. like yours and we presume your problem.
Like you set Local Filename in our sample(5. Implementing scp) you also need to set name of remote file.
Here is an example:
Local File: c:\home\example.txt
Remote File: /home/example.txt
I hope that we helped you.Let us know how it goes?
Regards,
Drazen
Re: SCP does not work
Hi Drazen!
I have set always a local and remote filename with fullpath.
Localfile: c:home imer.log
Remotefile: /home/timer.log
I have tested it like your example => same error.
The Error comes out in the ScpFileUpload() Sub when he tries to send the String 'a'.
In the wodSSH1_Received Sub i comment in the Line
AddDebug Received & ByteCount & bytes and changed it to
AddDebug Received & ByteCount & bytes & wodSSH1.Receive
Before the Error 30008 pop up i will get a line
Received 55 bytes | scp: error: unexpected filename: /home/timer.log
After this error i touched a file timer.log into this folder and tested it again => don't helped.
I hope this information will help you to solve my problem [:sad:]
Regards,
Robert
P.S.: Programing Language is Visual Basic 6 with SP6.
Re: SCP does not work
Robert,
Did you try set Blocking = True and could you send us your code to try duplicate an error.
Drazen
Re: SCP does not work
Robert,
Did you try set Blocking = True and could you send us your code to try duplicate an error.
Drazen
Hi!
Tried it with Blocking = True => same Error [:sad:]
I am using your Example 5. Implementing scp with DLL and changed nothing in the code.
If you want it although give me your email adress or should i use the adress out of your profile?
Thanks so far for your help.
Regards,
Robert
Re: SCP does not work
Robert,
Yes please zip it and send me on that mail.
Drazen
Re: SCP does not work
Robert,
Are you sure that you are in directory on server that you want (/home/), try to upload file to servers root directory (/) to see if this could be a problem.
Example:
Localfile: c:\home\timer.log
Remotefile: /timer.log
Of course file timer.log must exist.
Drazen
Re: SCP does not work
Hi Drazen!
Upload a file no goes perfectly !!!!! [:cool:]
I have tested your example on another linux machine. First it does not go but after comment out the wodSSH.Disconnect in the Upload Sequence it run perfect [:smile:]
Thanks for your help.
Now i will test Download and if a Problem comes up i will open an new thread.
Regards,
Robert
Re: SCP does not work
Can I download from some where this SCP example being refered in the discussion?
Regards
Yogi
Re: SCP does not work
Yogi,
You can find it in Samples folder ( SamplesVBComponent5. Implementing scp ) when you install wodSSH ActiveX component.
You can download it here:
http://www.weonlydo.com/Samples/wodSSH.exe
Drazen