B4A Code Snippet Upload a file to your server with HttpJob and php(included) - scottie    Apr 26, 2020   (8 reactions) 4-25-2020
Pick a SINGLE File from Dialog box, Then upload it To a server on LAN Or Internet
I wrote this B4A To be very small, simple, & easy to understand on a beginners level
In Files Is the PHP script To handle single File upload And save As original filename
php creates And appends a logfile: b4 B4A Question Upload a file to Dropbox - DonManfred (first post)    Apr 30, 2019   (1 reaction) try it with upload2.
Upload will add a NEW file (Writemode.ADD)
Upload2 will update an existing file too (Writemode.UPDATE)
dbxFiles.upload2(path, filename, "/BeKa.Transport/" & filename,False,True, "1234567890") B4A Question Upload file using multipartpost - DonManfred (first post)    Aug 01, 2017 I use the same code and it is working for me. For sure i send only files which exists.
Based on the error the file your want to upload does not exists.
Upload a example project which shows the issue. B4A Question Upload File - josejad (first post)    May 13, 2024   (1 reaction) With the little information you give us, here is what we can offer you
https://www.b4x./?query=upload+file&product=b4a
https://www.b4x.-etiquette.97319/ B4A Question Upload text file with OkHttpUtils2 - DonManfred (first post)    Jan 05, 2019   (1 reaction) To upload a file to a Server there must be an Serverpart running which accept the file to upload.
You can not specify just a folder on your webspace and expect you are able to upload anything there.
A httpjob.Postmultipart will create a multipart-post-request to the server. On the serverside the fi B4A Question Upload file, e.g. jpg using okHttUtils2 - Hanz (first post)    May 12, 2021 Now, the upload is not working. The j.ErrorMessage says, "java.net.SocketException: Connection reset." I'm wondering what causes it. I tried it with the curl and it works. I tried also the j.PutString(link, "") and it works but although the attachment appears, the file has 0 bytes and can't be open B4A Question Firebase Storage: upload file.db - Erel (first post)    Oct 04, 2019   (1 reaction) This code is not good. You should use parameterized commands.
If the database journal mode is set to WAL and it is the default mode in newer versions of Android then the database will be made of up to three files. You can either upload all three files (if they exist) or change the journal mode. B4A Question Upload file with php script - Addo (first post)    Apr 01, 2021   (1 reaction) Solved. Final code
Sub uploadimage(imgtoup As String)
Dim j As HttpJob
Dim img As String = imgtoup
j.Initialize("", Me)
Dim mp As MultipartFileData
mp.Initialize
mp.Dir = File.DirAssets
mp.FileName = img
mp.KeyName = "image"
j.PostMultipart(SuploadScript, CreateMap("adelreq":""), Array(mp) B4A Question Upload FTP Files [Solved] - Jorgelcr    Jul 24, 2017 Hello,
I am uploading files to my ftp command: FTP.UploadFile (DirmTMPFoto, ImageName to Send, False, rutaup) The files that I upload weigh very little about 60 kb. I have verified that when I am connected to a wifi network they upload perfectly, in few seconds, but when I am with data do not upl B4A Code Snippet Upload files with WebView - Erel    Jun 09, 2022   (15 reactions) Code requires Android 5+
1. Set a custom WebViewChromeClient. It is implemented with inline Java code.
2. The ShowFile_Chooser event is raised when the user clicks on a "browse" button.
3. You need to get the file URI with FileProvider and call SendResult.
Example based on ContentChooser.
Sub Sh Page: 1   2   3   4   5   6   7   Powered by ColBERT |