FTP on the PDA

timsteeman

Member
Licensed User
I'm looking for a solution for my ftp problem...
On the PC everything works fine, But on the PDA not.
Internet works. Connection is open...

This is my code;

Sub Globals
Dim datumfile
Dim datum
Dim csvbestand
csvbestand=AppPath & "\livaadje.csv"
End Sub

Sub App_Start
frmmain.Show
Msgbox("1")
ErrorLabel (errHandler)
ftp.New1
Msgbox("2")
WaitCursor(true)
ftp.Open("","","")
Msgbox("3")
If ftp.IsFTPConnected Then
If FileExist (csvbestand) Then
FileDel(csvbestand)
End If
Msgbox("4")
ftp.GetFile("livaadje.csv",csvbestand)
Msgbox("5")
WaitCursor(false)
Msgbox("6")
ftp.Close
Msgbox("7")
Else
Msgbox("8")
End If
Msgbox("9")
Return
ErrHandler:
Msgbox("a")
End Sub


On the PC no worry's. On the PDA i come as far as Msgbox("4")
.
Please give me a clue!
 

timsteeman

Member
Licensed User
Error message is....

An error occured on Sub app_start
Line number: 0
Error description:
Error getting File.
Continue?

This is on an older PDA (2002), on a newer one (2003 SE) there is no problem.
-
Installed Compact framework 1.0
 

timsteeman

Member
Licensed User
No, sorry. It was worth trying, but didn't work.
This is not Basic4ppc issue, but don't you get a little bit tired about the compatibility problems in the types of the PDA?
I rewrote my programme for a thousand time, and everytime i get another incompatible thing.
This was the last step, and i really hoped it would work now. Such a pitty!
:confused:
Is it possible to use an older ftp.dll?? Do you have an older ftp.dll??
 
Last edited:

timsteeman

Member
Licensed User
Hi Erel,
I believe that this may be the solution, but...

I copied the http from the help. But i can't go further than an errormessage. Do i forget something. (i'm just a homemade programmer, :sign0013:)
 

Attachments

Top