Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

sumangeorge

Re: Can we use WinSCP with VB6 application.

Thank you so much guys..It really helps!!!
solutionsville

Re: Can we use WinSCP with VB6 application.

I stand corrected, and I apologize for misleading sumangeorge.

martin wrote:

You can use WinSCP .NET assembly in VB6. I know that people succeeded with that.
For example, see
https://stackoverflow.com/q/26342675/850848
https://winscp.net/forum/viewtopic.php?t=24173
I have no experience with VB6 though, so I cannot give you details.
You just have to register the assembly as a COM somehow.
It will be similar as in VBA:
https://winscp.net/eng/docs/library_vb#using
sumangeorge

Re: Can we use WinSCP with VB6 application.

Ok so i cannot use winSCP in Visual basic application.
:|

I am new to VB so can you please give me a hint as in how will i use vb script in vb6.
solutionsville

Re: Can we use WinSCP with VB6 application.

Short answer, No. Not according to the documentation for the .NET & COM Library; However it does look like you can do it with VBScript and VBA .

https://winscp.net/eng/docs/library

WinSCP .NET Assembly and COM Library


The WinSCP .NET assembly winscpnet.dll is a .NET wrapper around WinSCP’s scripting interface that allows your code to connect to a remote machine and manipulate remote files over SFTP, FTP, WebDAV and SCP sessions from .NET languages, such as C#, VB.NET, and others, or from environments supporting .NET, such as PowerShell, SQL Server Integration Services (SSIS), ASP.NET and Microsoft Azure WebSite.

The assembly is also exposed to COM, and as such it can be used from variety of other programming languages and development environments–e.g., WSH-hosted active scripting languages like JScript and VBScript, Visual Basic for Applications (VBA), Perl, and Python.
sumangeorge

Can we use WinSCP with VB6 application.

Hi,

I need to convert FTP code to SFTP in VB6 application.
I am using visual basic IDE.
Please let me know:
1.> If WinSCP can be used in vb6 application. &
2.> If yes, is there any help or documentation on how to use WinSCP in VB6. All i can find is for VB.net and C#.