How to upload file from my computer to the Integromat Scenario? - make.com

Is it possible to use a file that is stored on my local computer in an Integromat scenario?

This is not possible. You can use one of the supported cloud storage services such as Dropbox or Google Drive to upload the file manually, and then use the corresponding Integromat app (Dropbox, Google Drive...) to download the file into your scenario.
If you already have a file URL, it is also possible to use it directly with a general HTTP module called "Get a file".

Related

Can't access uploaded files through Firebase storage on web

I'm trying to access/download files that have been uploaded to Firebase storage but I can't figure out how to. Some of the files have a create new access token button under the storage location which gives me a link to the file on the web. Unfortunately, this is only a few files and seems to only be ones uploaded from localhost?
I can't find any reference to this on the documentation, this should be achievable through the Firebase dashboard?
I've tried setting the access rules to allow reads in all cases which hasn't helped.
Thanks
In general, you're supposed to use getDownloadURL(), as shown in the documentation, from within your web or mobile app to generate a download URL for use within your app. Typically, the console is only used to revoke the tokens that enable to download of each file through that URL.
If that's not specifically what you're trying to do, perhaps you want to read up on other was to make data public in Cloud Storage. The Firebase console is not really the best mechanism to manage downloadable content.

How to upload files in my custom Integromat app?

I am implementing an API that supports image upload. How to pass an image into an Integromat module and send it to the server?
There are many ways how to upload a file in the module. You can check how we upload files in our example Apps:
application/octet-stream: https://www.integromat.com/app/dropbox/5/module/uploadFile
multipart/form-data: https://www.integromat.com/app/pipedrive/2/module/UploadFile
More info about how to implement multipart/form-data here: https://docs.integromat.com/apps/structure-blocks/api/multipart-form-data
I think the question entails using HTTP module.
You need to host the file somewhere in Dropbox or Google drive... AWS or anywhere on the web.
Use HTTP module to download the file (put file URL in the settings of the blue hTTP module), then link Data to the next module..
We have done this with Facebook Messenger application when user shared pictures or files

how to upload files to onedrive for business through drupal?

I have a drupal site and an oneDrive for business account. My site has a software section through which we provide software to download for public. What we use to do is that we upload the software in our ODFB account, create a download link, then put the link after the description of the software.
What I wanted to do is that while posting the software, there should be an option to upload the software. And the file should go straight to our ODFB account instead of the server where the website is hosted.
Is it possible? Any module available?
This should be possible using the OneDrive upload APIs. If the file size is less than 100MB, you should be able to use the simple item upload API:
https://dev.onedrive.com/items/upload_put.htm
However, if the file is larger, you can use resumable item upload API:
https://dev.onedrive.com/items/upload_large_files.htm
With the right permissions, you can access your OneDrive for Business using /drives endpoint and save the file there.

Firebase Storage gs url to http

I downloaded a Unity project that use images stored in Firebase server using the following link:
https://zplayer360-86b30.firebaseapp.com
Now I want to reproduce this with my own file. I created a Firebase project using Firebase Console, uploaded manually the images, but now I click "copy folder url" button and it provide me only this link:
gs://insidehome-29c9e.appspot.com/
I need a free HTTP public link.
How can I obtain this?
When you upload a file to Firebase Storage, it automatically gets:
a Google Storage URL (starting with gs://), which you can use to access the file through the Firebase Storage SDK and the Google Storage API.
a download URL (starting with https://), which is a publicly-readable-but-non-guessable URL that you can use to download the URL with regular HTTP clients
What you're looking for is the second URL, which you can find in the Firebase Storage console when you select a file:
At the bottom right you can see the download URLs for the file. One of these is auto-created when you upload the file, but you can create more of them or revoke existing ones.
I am not entirely sure what you mean by "free" URL. The link is publicly readable, but downloads will count against your Firebase Storage download quota of course.
If there are no rules on Firebase storage. You are not protected.
Then it's publicly-readable-and-guessable, One can convert gs:// URL to https:// to download any file without Google SDK's.
https://firebasestorage.googleapis.com/v0/b/[projectID].appspot.com/o/[folderName]%2F[fileName]
Google Storage URL
gs://invitepeople-5d38c.appspot.com/profilePhotos/profile_1.jpg
Https downloadable URL
https://firebasestorage.googleapis.com/v0/b/invitepeople-5d38c.appspot.com/o/profilePhotos%2Fprofile_1.jpg?alt=media
Don't guess profile_2.jpg :)

How to access files loaded to sourceforge.net using via SFTP using HTTP

I loaded files to one of my projects web following their documentation. Now I need to get the URL for those files so I can access them from my application. Sadly, I'm unable to find the URL format for this. Any idea?
Say you uploaded your index.html to /home/project-web/foo_project/htdocs/index.html on web.sourceforge.net
You can than access it using http://foo_project.sourceforge.net/index.html
For details, see https://sourceforge.net/p/forge/documentation/Project%20Web%20Services/
Note that the path SFTP documentation mentions, like /home/groups/f/fo/foo_project/ is actually a link to /home/project-web/foo_project/.

Resources