By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,285 Members | 2,147 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,285 IT Pros & Developers. It's quick & easy.

How to use SFTP for SFTP server using VB6.0

P: 15
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
Share this Question
Share on Google+
7 Replies


sashi
Expert 100+
P: 1,754
Hi there,

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

P: 15
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

P: 15
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

P: 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

P: 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

P: 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

P: 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.