469,081 Members | 1,489 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,081 developers. It's quick & easy.

How to use SFTP for SFTP server using VB6.0

How i can implement SFTP in VB.

Scenario is I want to take file from SFTP server, then after some process with the file , file will be moved to database..

Our requirement is very clear that how to use SFTP in VB, currently we are using the OS-native FTP functionality, for SFTP there is no OS-native functionality. And we are not using any third party tool.

In VB is it possible to accomplish this job.? If not could u give the reason.

Thanks in Advance.....
Radhakrishnan.
vrradhakrishnan@gmail.com
Aug 27 '06 #1
7 14394
sashi
1,754 Expert 1GB
Hi there,

what is the current platform of the SFTP server?
Aug 27 '06 #2
Hi ,

What is the current platform of the SFTP server?

Anser to your question:

SFTP server will be installed in windows platform....
Can you reply me as early as possible.....

Thanks
Radhakrishnan
Aug 28 '06 #3
Hi,

Sorry, At present my client application is using FTP server on windows (os).
Our client may install SFTP server either Windows or other plattform. So Plattform is not sure at the moment. could you reply on my initial post.

I do not have any idea on this. please reply me ASAP.

Thanks a lot
Radhakrishnan
Aug 28 '06 #4
debesh
4
Hi,

I am trying to connect to sftp server using vb6. But I think sftp is not supported.All I need to do is connect to the sftp server and download some files.

I know how to connect via ftp but the same process apparently is not working here.Would appreciate if anyone can help me in this regard.

Thanks
Debesh
Oct 12 '07 #5
debesh
4
Hi,

Sorry, At present my client application is using FTP server on windows (os).
Our client may install SFTP server either Windows or other plattform. So Plattform is not sure at the moment. could you reply on my initial post.

I do not have any idea on this. please reply me ASAP.

Thanks a lot
Radhakrishnan
Hi,

I have been trying to create an appication that would connect sftp server and download some files for me.Can you help me on this?

Thanks In Advance
Debesh
Oct 30 '07 #6
debesh
4
Hi there,

what is the current platform of the SFTP server?
Hi Sashi,

I am trying to create a vb6 application that would connect to sftp server and download some files for me. I know how to do it by ftp but that would not work here. Would appreciate if you can help me out on this.

Thanks In Advance,
Debesh
Oct 30 '07 #7
debesh
4
Hi,


I was grappling with this problem of connecting to the sftp server and then downloading some files from it. I had posted some time back asking for help, but i guess none had a good answer.So I thought might as well post the solution that I have found for this.

I recommend downloading winscp.exe.Then from the command prompt you can call a file where in you can write the script.The example script is as follows:

I had installed wnscp in program files. So I went to the installation folder from command prompt and typed the following:
winscp.com /console /script=example.txt

The following is how example.txt is like:
---------------------------------------------------------
open sftp://user:password@ip address:port
cd /<remote directory path>
get filename <localpath>
exit



Thanks,
Debesh
Nov 19 '07 #8

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Bernhard GŁnther | last post: by
1 post views Thread by bir | last post: by
reply views Thread by arkascha | last post: by
4 posts views Thread by sa6113 | last post: by
1 post views Thread by sa6113 | last post: by
reply views Thread by sa6113 | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.