Android Question zip file is broken FTP Upload

ilan

Expert
Licensed User
Longtime User
hi

i try to upload a zip file via b4a net library.
first i create the zip (File.DirRootExternal) then i upload via ftp.
the zip file is uploaded successfully but the zip file is broken. i cannot open it not on my pc
and not on my phone.

when i go to the created zip file (in File.DirRootExternal) i can open it so something with the ftp upload
is wrong.

the file size of the broken zip is similar to the working zip in my rootexternal.

what could be the cause for that?

http://kb.winzip.com/kb/entry/149/
 

Mahares

Expert
Licensed User
Longtime User
In the FTP.UploadFile line there is a parameter that shows True or False. If it is set to True, change it to False and see if that will correct it, because true is for an ASCII file.
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
In the FTP.UploadFile line there is a parameter that shows True or False. If it is set to True, change it to False and see if that will correct it, because true is for an ASCII file.

thank you very much.
i dont know how i could missed that :( i guess i am to tired (02:00 am here and need to weak up in 4 hours to go to work o_O)
 
Upvote 0
Top