6 Replies - 216 Views - Last Post: 12 September 2012 - 01:09 PM Rate Topic: -----

#1 supernoob  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 12-September 12

need help with updater asap

Posted 12 September 2012 - 02:11 AM

Been working all night to try and do this updater for my application
I JUST NEED HELP i want to get my update via ftp makes life easyer but keep running into problems
like CANT FIND A DOWNLOAD/UPDATE FTP CODE and when i use this code it dose not update the application

PLEASE HELP!!!!

      updater.checkinternet()
        updater.checkversion("VERSION PATH", "1.0.0.0")
        If updater.updateavailable = True Then
            MsgBox("BBOY TV UPDATE AVALIABLE")
            updater.downloadupdate("DOWNLOAD PATH ")
            If updater.downloadsuccess = True Then
                updater.runupdate()
                MsgBox("Update complate")
                End
            Else
                MsgBox("FAILED")

            End If
        Else
            MsgBox("BBOY TV PLAYER IS UP TO DATE")
        End If


PLEASE REPLY

Is This A Good Question/Topic? 0
  • +

Replies To: need help with updater asap

#2 torind_2000  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 46
  • View blog
  • Posts: 235
  • Joined: 22-August 11

Re: need help with updater asap

Posted 12 September 2012 - 05:36 AM

You popped a little bit of code up and a vague description of what the issue is and expect what exactly? We're not mind readers here sir. Tell us what the actual errors are if there are any, show us how you've tried to correct them and most importantly stop yelling at us via caps.
Was This Post Helpful? 0
  • +
  • -

#3 supernoob  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 12-September 12

Re: need help with updater asap

Posted 12 September 2012 - 09:38 AM

sorry there is no errors i just want to make this code get the download/update from via ftp i cant find a code anywhere
Was This Post Helpful? 0
  • +
  • -

#4 rgfirefly24  Icon User is offline

  • D.I.C Lover
  • member icon


Reputation: 234
  • View blog
  • Posts: 1,315
  • Joined: 07-April 08

Re: need help with updater asap

Posted 12 September 2012 - 10:51 AM

Well then, How do you think you should do it?

You'll want to
1. Connect to the FTP
2. Get a list of files
3. Get the files from the ftp and put them into a specific directory
4. Close the FTP Connection

To do that you can use the FtpWebRequest class to do it. You could also use any number of 3rd party FTP Programs. You're last option is to deploy your application from visual studio and in the deployment wizard set it to check a certain location for updated files.

Now, with that we will not write the code for you. What we will do is help answer any questions you have on attempts you've tried.
Was This Post Helpful? 2
  • +
  • -

#5 torind_2000  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 46
  • View blog
  • Posts: 235
  • Joined: 22-August 11

Re: need help with updater asap

Posted 12 September 2012 - 10:55 AM

Why do you need to "find a code"?
Why not write your own?
We can only point you in the right direction, and without seeing what you're doing my only guess is you're hoping someone throws up some code that you can copy and paste and fiddle with till it works.
I think you'll find that is not going to happen.

You need to put forth the effort to code it, we can only help you make it better, not make it for you.
Was This Post Helpful? 0
  • +
  • -

#6 supernoob  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 12-September 12

Re: need help with updater asap

Posted 12 September 2012 - 12:34 PM

thanks for the advice but i all ready know the basic of getting a a file via ftp i am stuck on the host user and pass section
Was This Post Helpful? 0
  • +
  • -

#7 rgfirefly24  Icon User is offline

  • D.I.C Lover
  • member icon


Reputation: 234
  • View blog
  • Posts: 1,315
  • Joined: 07-April 08

Re: need help with updater asap

Posted 12 September 2012 - 01:09 PM

ok, you're going to need to explain exactly what your question is. What steps you've tried; along with the code you have written to attempt to solve your current problem. If you're using the FTPWebRequest then you can supply the username and password via the Credentials Method. Read up on the links I gave you and show us your attempt.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1