Upload medium or larg file size in host (images,multimedia files,...) without ftp protocol - file-upload

How can make a uploader file in vb6 to work easyly and can be uploade files into host.
For example (images or multimedia files or other format) and size > small size files for exampe > 500kb or 1 mb , 2 mb or upper sizes .
Please help me to can find any way to designed without ftp protocols.
I think it is possible to use of msxml refrences but i don't know how can designed it by msxml .
[thanks]

You could upload to a HTTP like dropbox. The downside of simple HTTP file transfer is that it is fairly easy for somebody to grab your credentials using a common tool like Fiddler. However that is also the case with FTP just a bit harder. The upside to uploading to dropbox is that you could have any file size (providing you have the space on your dropbox account).
I haven't tried using the dropbox upload api yet but you can read the documentation here, take a look at the PUT and POST methods: https://www.dropbox.com/developers/core/docs
If you just wanted to upload to dropbox and you have the dropbox client installed you could just save the file to the dropbox folder on your computer and it would auto upload.

Related

Nanoframework webserver download/upload file

I've searched a lot but couldn't find an example.
I want to use nanorframework as a webserver where I can upload and download e.g. a JSON file from the browser which holds all my settings. Is this possible?
Otherwise if I want to change some settings I have to rebuild the whole solution and uploat it.
Thanks in advance
You can use the Storage libraries to store that Json file. The actual storage can support by flash (using SPIFFs), SD card or USB mass storage device. This depends on the hardware platform that you are using. Check the Storage samples in our samples repo here.
Downloading a file is pretty straightforward you just need to serve the respective HTTP request. Check the HTTP samples in our samples repo here.
Uploading a file it's a matter of handling the POST request and grabbing the data being sent by the client browser.

How to upload multiples images from ftp media server to cludinary?

I'm looking for a solution to load multiples images from ftp media server to cloudinary. I searched on the net and I found these links:
How can I bulk upload my images?
Bulk upload large images to cloudinary
Data upload options:
If your images are already publicly available online, you can specify their remote HTTP or HTTPS URLs instead of uploading the actual data. In this case, Cloudinary will fetch the image from its remote URL for you. This option allows for a much faster migration of your existing images
There is no information about uploading images from an ftp media server or something like that. All the available solutions are using a script and then upload images one by one.In my case I have on my server many folders of images and in each folder there are many sub-folders and I have about 10000 images.How can I do this?
You can upload to Cloudinary using an FTP source like this (in PHP):
\Cloudinary\Uploader::upload('ftp://username:password#ftp.mydomain.com/my_image.jpg');

Uploading image file from VBA Excel

I know this question has been asked a lot of times already but unfortunately none of the answers have helped me. I want to upload an image file to my remote Web server (Apache). In my Excel cell, I have the file path of an image and want to use VBA to upload that file to a remote server.
I can't use any 3rd party tool in conjunction (like WinSCP), because that will make my product not very "portable-friendly". I was fine with Windows FTP, but it doesn't seems to be supporting passive mode and hence I also can't use that.
There are some threads which used IE to upload the file, and some which I believe are uploading via POST request by reading file in binary mode.
I want to replicate something similar to uploading files via HTTP POST on a website.

Show content of a zip file in a browser, rather than downloading it

I have a log server, where users upload archives and view their content online when needed. Currently the server unzips files, right after receiving them. Unfortunately, my peers consumed all the drive space I had. I can free up a lot of space, if there's a way of storing ZIP archives, but feeding them to users as HTML page (same as default Apache's file browser).
I know there are solutions relying on JS, like:
http://gildas-lormeau.github.io/zip.js/demos/demo2.html
https://stuk.github.io/jszip/
or I can unzip them on demand at server side and provide link to a temporary folder. However, some time ago I've heard a browser can view an archive content if proper headers are sent from Apache/nginx. Apache's mod-deflate doesn't help much here and I can't find other docs - perhaps it's not possible after all?
Cheers.

How does one decompress a compressed file (zip, bz2 etc), within Dropbox (without downloading to client first)?

Say I have a compressed file (zip etc) stored in my dropbox account (in the cloud, not on my local device), is there a way to programmatically expand the file in my dropbox account, without downloading it locally first ?
I do not want to download the file first. That defeats the purpose, since i can just upload the decompressed files in the first face.
I've looked at various Dropbox api's, and while I can find a lot of information on how to put or remove files, I haven't found anything (yet) on how to decompress a file programmatically.
No, Dropbox doesn't have this functionality.