Topic "Help a VB.net newbie get started"

Author Message
Swindellvc

Guest


I'm trying to create a program in .net (new to .net) that I can schedule to upload (securely) a file daily.
I've seen the documentation for the class and have populated (I think) all of the necessary options of the sessionOptions in the example that is given online
I think I've also populated other items in the class.

OK..so How do I use the class?
I have create a new instance of the class.
But I can't figure out how to get it to execute.
I've set the instance that I've create to an integer to see if it will return anything (0 or 1)
I get nothing...not even an error.

Help a NEWBIE
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
It's difficult to help you, if you do not show us your code.

Did you see the example?
https://winscp.net/eng/docs/library#vbnet

You can also have WinSCP generate the code for you:
https://winscp.net/eng/docs/ui_generateurl#code
_________________
Martin Prikryl
Swindellvc

Guest


Yes..but How do you use the class

I called mine cls_ERL_FileTrans and it's the same as the example

how can I create an object that uses this..

in my main program I have
Dim NewSession As New cls_ERL_FileTrans

but how do I use it.


I want to create a .net program that I can schedule to run
I'm, running version 5.7.7
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Sorry, I do not understand anything you wrote.
And we are definitely not able to teach you programming here.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License