I assumed it might be the ftp server, and I used Filezilla instead of my B4J ftp server, but the problem remains I think the problem is that the FTP upload command is sent (from the PC to the phone) faster than the phone can send the files and therefore when I sent all 100 commands to download the 100 files, the phone it has reached the tenth and is continuing I thought that the 10 unsent had some problem, but if I try to send only those 10 they arrive correctly on my pc However, I realized that not all the files for which the upload to the PC was requested are actually sentįor example, if I am uploading some photos and these are 100 in the Androd memory, then on the pc I find 90 of them With the current procedure there is no longer the problem of disconnection even after a long time If Success = False Then Log(LastException.Message) Sub FtpCliEvent_UploadCompleted (ServerPath As String, Success As Boolean) If Total > 0 Then s = s & " out of " & Round(Total / 1000) & "KB" Sub FtpCliEvent_UploadProgress (ServerPath As String, TotalUploaded As Long, Total As Long)ĭim s As String= "UP " & ServerPath & " " & Round(TotalUploaded / 1000) & "KB " Log("Error uploading file - " & LastException.Message) Log("File was uploaded successfully -> " & file_da_inviare) Wait For (sf) FtpCliEvent_UploadCompleted (ServerPath As String, Success As Boolean) Sub FtpUploadFile(dir_file_da_inviare As String, file_da_inviare As String)ĭim sf As Object = FtpCli.UploadFile(dir_file_da_inviare, file_da_inviare, True, "/" & file_da_inviare) Vendor: Not ("FtpCliEvent", Main.ftp_server_ip,Main.ftp_server_port,Main.ftp_user,Main.ftp_password) MD5 of admin, but didn't allow me to login when I used admin/admin. Password:ĭr-x- 3 user group 0 Jul 11 20:09 acctĭ-x- 3 user group 0 Aug 17 09:09 cacheĭ-x- 3 user group 0 Jul 11 20:09 configĭr-x- 3 user group 0 Jul 11 20:15 devĭ-x- 3 user group 0 Sep 2 14:07 dropboxĭr-x- 3 user group 0 Mar 29 13:48 etcĭr-x- 3 user group 0 Jul 11 20:09 mntĭrwx- 3 user group 0 Sep 7 15:09 sdcardĭr-x- 3 user group 0 Jul 11 20:09 sysĭr-x- 3 user group 0 Mar 29 13:49 systemĭr-x- 3 user group 0 Mar 29 13:49 vendor ![]() If we take a look at the users.properties file:į=trueį=/mnt/sdcard user adminģ31 User name okay, need password for admin. rw- 1 user group 679 Sep 7 16:37 users.properties ![]() ![]() Allowing a remote user to overwrite the credentials for admin login giving full access to the file system on the device.Įdit the users.properties file and re-upload.ģ31 User name okay, need password for android.ġ50 File status okay about to open data connection. Vulnerability: ftp server exposes configuration file and allows read/write. You can add additional users with read only permission for download, and read and write permission for both upload and download." Use Windows Explorer to transfer files between your Android device and your computer by drag and drop. ![]() Transfer files to and from your Android device over the Internet. Cashdollar, "Transfer files between Android devices and computers without a USB cable and Windows software driver. Change Mirror Download Remote access to Android ftp server 1.2 configuration file allows login as adminĪuthor: Larry W.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |