How to upload an image or PDF files from smart devices to a specific folder on the server?
Upload image or file from smart device in GeneXus
985 Views Asked by Abdullah Rawashdeh At
2
There are 2 best solutions below
0
Chicken Choker
On
A lil' too late for an answer but I was recently facing this one problem and solved by passing the image forward to the procedure and receiving as a blob data type.
Next I did the following:
parm(in:&blob)
&File.Source = &blob.ToString()
&File.Copy('path/to/file.jpeg')
&HTTPClient.AddFile('path/to/file.jpeg')
Hope it still serves you
Related Questions in GENEXUS
- An error that is not specified and that I cannot resolve
- I neet to create a similar "Save As" GeneXus window
- How to retrieve the role associated to a workitem?
- Looking for documentation on the REST interface the Angular pages talk to
- In GeneXus, is there a Plugin developer guide?
- Does GeneXus follow the model view controller design pattern for the generated applications
- genexus trying to get started and getting "error: GeneXus Account (20): "Please sign the GeneXus Prototyping Cloud Terms and Conditions in order "
- How to create a procedure to send email using a gxflow template with a batch (script) task?
- How to Dynamically Change Service URLs in GeneXus 18 Upgrade 7 for Java/Android Applications?
- How to retrieve a database record associated with a work item?
- How to start a process automatically, according to a certain periodicity, in gxflow?
- How to open MS-Word files under Genexus 15 and later versions
- Drag and Drop in a specific row of a grid in Genexus
- Change in the behavior of the Edit controls when receiving the Focus, due to migration from Genexus 17 to Genexus 18
- Genexus 18 usercontrol uploadfiles freeze with múltiple filess
Related Questions in SMART-DEVICE
- Where is the API from the LSC Smart Connect app, for a project with a lamp?
- Why I can get my Nest thermostat ID but not other people using the same script?
- How to get set temperature?
- Visual Basic Studio 2008 PocketPC: How to rotate screen ? (Landscape orientation)
- No access to partner - Information could not be retrieved
- CSS/JQUERY – Check if website is being viewed on Smart TV or Smart Fridge
- Smart home google action not responding and device is always offline
- How do wifi bulbs pair with the mobile
- Trigger Google Nest Camera to Take Image
- Nest Thermostats Have disappeared from Google Smart Device Management API
- Upload image or file from smart device in GeneXus
- How do I integrate python library in Android app?
- Consume ASP.Net Web API in Smart Device application
- Trying to get detailed data dumps from new google nest e thermostat
- Data payload for ZigBee thermostat to change the system mode of the thermostat in API mode
Related Questions in GENEXUS-SD
- How to Dynamically Change Service URLs in GeneXus 18 Upgrade 7 for Java/Android Applications?
- Refresh a grid in Genexus Android
- Update Apk from Genexus 16U11 to 17U10, server url incorrect
- row to column and populate in grid in unanimo.i have Data In Rows And I want to convert to Column
- Event associated to push notification is not triggered on android
- Filter in Android grid in Genexus
- There is a way to get current map coordinates?
- Problem in GeneXus SD, when update a level of transaction
- Deep linking and shortcuts in Genexus (android)
- filter to schedule meetings using DateTime in Genexus
- how to call the camera is not through the native object camera, but through HTML
- Error "Unauthorized" when updating record from smart device grid in Genexus
- Is there any input / output to the local device?
- Send an image from smart device to the server in Genexus
- Database creation Failed in Genexus Offline android app
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You could create a Procedure object that receives an Image (images only) or a BlobFile (for any file type).
This Procedure will be exposed as a REST service when called from a mobile app, and the file upload will be performed automatically.
Then, with the image or PDF file already in the server, you can move it to the folder you want.