ftp.dll user pass problems

Discussion in 'Questions (Windows Mobile)' started by joel2009, Jan 29, 2009.

  1. joel2009

    joel2009 Member Licensed User

    I'm using the ftp library that comes with basic4ppc and i'm having problems with secure servers. If i log in anonymously i have no problems but if i try and hard code a user pass into the program i always get connection errors....

    Can someone help me out with the code?

    Right now this is what i am using:


    Thanks for any help ahead of time :D

    PS is there a way to force a file to be opened upon download?
    Last edited: Jan 30, 2009
  2. Erel

    Erel Administrator Staff Member Licensed User

    Your code looks fine.

    What do you mean with "force a file to be opened upon download"?
  3. joel2009

    joel2009 Member Licensed User

    i'm building a client that can upload download to my ftp server, and upon download completion, i wan't the program to open the files upon download completion....

    I'll upload my whole basic4ppc file when i get home so that someone can tell me what i am doing wrong :D

    Thanks for the response erel
  4. joel2009

    joel2009 Member Licensed User

    here is my file.

    right now it is configured for ftpplanet like the help file had, when it is like that it works fine. I just have problems trying to log onto my secure ftp server that requires a user/pass loggin.
  5. brathbone

    brathbone Member Licensed User

    It looks like you can use agraham's threading library to call process.start("myfile.ext") to open the file with the associated application.
  6. joel2009

    joel2009 Member Licensed User

    i got my ftp to connect, read my directory, and download... so i'm doing much better. thanks for the heads up on the library, i'll check it out.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice