Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Possible for VB6 to upload info to FTP or send to email?

Visual Basic 4 / 5 / 6

  • Please log in to reply
4 replies to this topic

#1 thegrim7

thegrim7

    CC Lurker

  • Just Joined
  • Pip
  • 2 posts

Posted 08 May 2010 - 02:08 AM

Im pretty new to VB6, and I had a few questions.

1. Would it be possible for a VB6 program to upload entered text into a FTP?
For example, I make a program that has a Username, and a Password textbox.
Would it be possible to make VB6 upload the text entered in those textboxes to a FTP site.

2. Same question but instead of uploading to a FTP site, would it be possible to have the entered text sent to an email?

If so, how would I go about doing either one of those?
It is for a game I play, in case anyone is wondering.

Thanks for any input.
  • 0

#2 Vswe

Vswe

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1989 posts
  • Programming Language:Java, C#, PHP, Python, JavaScript, PL/SQL, Visual Basic .NET, Lua, ActionScript

Posted 08 May 2010 - 02:12 AM

Both those could be easily done in VB.NET, I'm not so sure if it'll work in VB6.
  • 0

#3 thegrim7

thegrim7

    CC Lurker

  • Just Joined
  • Pip
  • 2 posts

Posted 08 May 2010 - 02:24 AM

Is there a certain function I would need to look into to do this?
I have VB.net 2008 express on my computer, though I never use it.
I pretty much know zilch about vb.net, I can make a few cheating programs in vb6 for a game I play called neopets, so Im not a complete tard, but pretty close xD
So any help in the right direaction would be appreciated.
  • 0

#4 mirwanda

mirwanda

    CC Regular

  • Just Joined
  • PipPipPip
  • 28 posts

Posted 08 May 2010 - 02:54 AM

1. Would it be possible for a VB6 program to upload entered text into a FTP?

Yes, it is possible.

2. Same question but instead of uploading to a FTP site, would it be possible to have the entered text sent to an email?

Yes, it is possible.

If so, how would I go about doing either one of those?

For the first question, use winsock
For the second question, use google :lol:
  • 0

#5 Vswe

Vswe

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1989 posts
  • Programming Language:Java, C#, PHP, Python, JavaScript, PL/SQL, Visual Basic .NET, Lua, ActionScript

Posted 08 May 2010 - 06:21 AM

These are for VB.NET:

http://forum.codecal...ing-emails.html
http://forum.codecal...-basic-net.html
  • 0





Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download