FTP with Network

Byak@

Active Member
Licensed User
i'm think,Network.dll it's real very nice dll.i'm look exampel for uploading file in ftp.it is cool!
but i'm have one problem.how can i recive list of files and folders from ftp?
i'm use
B4X:
ls nameofdir
but it doesn't work.why?
and i'm try to creat new folder with
B4X:
mkdir nameofdir
but not rezults too.
:sign0085:

but how can i get file from site with this dll?for example from this url
B4X:
http://byaka.programist.ru/files/easy_bash/Easy_Bash.zip
 

Byak@

Active Member
Licensed User
with ftp dll i don't can veiw progress.
i'm use thes example,but it haven't reciving list of files from ftp and creating folder.
help me please!

and what about my second Question?
 

giannimaione

Well-Known Member
Licensed User
Sub Globals
Dim ListF(0)
End Sub

first, use ftp for capturing ListF (linux ls)
ListF()=ftp.GetEntries("*.zip",False)
and after, you use Network.dll

sorry for my english :(
 

Byak@

Active Member
Licensed User
using ftp.dll and network.dll-it's not good...i'm want do all only with network.dll and binary.dll
 

Byak@

Active Member
Licensed User
UUUP!!!
what about my problems???
 

Byak@

Active Member
Licensed User
thaks erel!it's good info)
 

lvtonet

Member
I try to send two same file to one server

Hi Erel ! I'm trying to send two same file to one server but my app can't do that. i used and reference your example ( ftp_progress_v1.zip ). It's cool. i can upload many file but they must be diffirent ! if i try to send 1 file two times, i reviced an error :
if i close my application anh restart it, i can upload it !
Stor error : 550
Kdata.db: the process cannot access the file because it is being used by another process.
550 Kdata.db:
the process cannot access the file because it is being used by another process.
Kdata is filename which i need to upload to server.
help me !
thank you !
 
Last edited:
Top