iOS Question FTP Transfer Mode?

Erel

Administrator
Staff member
Licensed User
Hard to say. What is the difference between the server file and the local file?
 

yejian

Member
Licensed User
local file size 12K
Uploaded to the server only 4K



FTP.Initialize("FTPCommand","*******",21,"***","***")

FTP.UploadFile(File.DirDocuments,"Ordine.db",True,"/Ordine.db")

Sub FTPCommand_UploadCompleted (ServerPath As String, Success As Boolean)
If Success Then
hd.ProgressDialogHide
Msgbox("ok!","FTP")
Else
Msgbox("FTP error!","FTP error")
End If
End Sub
Prompt ok
 

Erel

Administrator
Staff member
Licensed User
Note that you should move hd.ProgressDialogHide out of the condition block.

I tested FTP with several FTP servers and it works properly. If you like send me the required details and I can test it with your FTP server.
 

Jean Weets

Member
Licensed User
I have the same problem.
Download files = ok
Uploud file often only 4344 bytes. never completely. No error message. :|
 

Erel

Administrator
Staff member
Licensed User
This means that from the device side everything was ok.

Are you sure that the local file is "complete"?
 

Erel

Administrator
Staff member
Licensed User
Why should I do that?
To try to debug this issue.

I tested this library with several FTP servers and it worked properly. If you like you can privately send me your FTP server details and I'll check it.
 
Top