Utilisation de FTP

sultan87

Active Member
Licensed User
Longtime User
Bonjour
Je serais désireux de récupérer une base de données SQLITE stockée sur le site FTP de FREE
Pouvez vous me donner un exemple complet
Comment faire pour recopier cette base de données sur le site ftp après utilisation sur le téléphone mobile
Cordialement
 

sultan87

Active Member
Licensed User
Longtime User
utilisation FTP

good evening
you will find my project herewith
best regards
 

Attachments

  • FTP.zip
    5.8 KB · Views: 242
Upvote 0

sultan87

Active Member
Licensed User
Longtime User
utilisation ftp

good evening
you will find my project herewith
best regards
 

Attachments

  • FTP.zip
    5.8 KB · Views: 245
Upvote 0

sultan87

Active Member
Licensed User
Longtime User
utilisation FTP

hello j' have advanced in the project I make download and upload without problems I n' still do not manage to make the list this n' is not serious I will put another question about the forum relating to l' use of login and password thank you for your assistance
best regards
 
Upvote 0

sultan87

Active Member
Licensed User
Longtime User
good evening,
FTP.List (" /") call FTP_ListCompleted which lists the files and the repertories of " /"
How to make to list the files which are in the repertories
example
REP1
Fichier1
Fichier2
REP2
Fichier3
Fichier4
Fichier5
Fichier6
Best Regards
 
Upvote 0

casella

Member
Licensed User
Longtime User
Same problem

Hi Erel

I have the same problem.

When I look at the folders or files, theire are empty.
I'm test with Wincommander and I see all the folders and files, with the same permission.

All the variables are correct.

That's my code:
In Process Globals
Dim cFTP As FTP

In activity create
If FirstTime Then
cFTP.Initialize("FTP",FTPName,FTPPort,FTPLogin,FTPPass)
End If

In Button_Click
cFTP.List(FTPPath)

Sub FTP_ListCompleted (ServerPath As String, Success As Boolean, Folders() As FTPEntry, Files() As FTPEntry)
Log(ServerPath)
If Success = False Then
Log(LastException.Message)
Else
For i = 0 To Folders.Length - 1
Log(Folders(i).Name)
Next
For i = 0 To Files.Length - 1
Log(Files(i).Name & ", " & Files(i).Size & ", " & DateTime.Date(Files(i).Timestamp))
Next
End If
End Sub

The Folders return '[]' and the Files also.

Can you hepl us?


Thankx
 
Upvote 0

casella

Member
Licensed User
Longtime User
FTP library

Hi Erel,

I have the FTP 1.01 an I dont have the process .PassiveMode.

Really is the last version or I need an other?

Thanx
 
Upvote 0

casella

Member
Licensed User
Longtime User
FTP Library

Hi Erel,

I have all correct, but the library is not FTP, is NET.:BangHead:

Maybe it's possible to inform to all members when we say FTP say them to put the NET library.

We declare FTP as FTP, but this process come from NET library.

It's correct my deduction?:sign0013:

Thank you
 
Upvote 0

gpe

Member
Licensed User
Longtime User
:sign0085:Hi
FTP.List ("/") doesn't give any result, only empty lists.
Sometimes the sub FTP_ListCompleted isn't raised at all.
Pls HELP, I tried with public and private addresses, different folders, everything....
 
Last edited:
Upvote 0

gpe

Member
Licensed User
Longtime User
tried passive mode too, nothing better
I'm working on Galaxy7'

I have to delay each sending of (small) files. The files are transferred completely and I can see the content in the FTP folder on the server, whilst the uploading isn't yet started. After a while, I can see the log() populate, but I have to pause from time to time otherways I get an error non better detailed than "rejected". At the end of the process, the completed is success, but the files are []
After that, the FTP.list("/") shows nothing.
I'm thinking to give up and use other methods to transfer, but it's not so easy for my abilities!
Thanks anyways, I'm using lots of libraries and they work perfectly, but this one and the advanced camera where I couldn't get the flash working on the Galaxy7' P1000.
 
Upvote 0
Top