- Cordova Tutorial
- Cordova Useful Resources
- Selected Reading
This plugin is used for uploading and downloading files.
Step 1 - Installing File Transfer Plugin
Download File Transfer for Windows now from Softonic: 100% safe and virus free. More than 1412 downloads this month. Download File Transfer latest version 2021. Forgot your password? Enter Email address and activate reset password. File Transfer works cross-platform on Windows, Mac, iOS, and Android. It works out of the box. Install, run, and transfer. It will just work. Ultrafast transfers. Send photos, videos, and files of any size in seconds. Compatible with File Storage, the best file manager for iOS.
We need to open command prompt and run the following command to install the plugin.
Step 2 - Create Buttons
In this chapter, we will show you how to upload and download files. Let's create two buttons in index.html
Step 3 - Add Event Listeners
Event listeners will be created in index.js inside the onDeviceReady function. We are adding click events and callback functions.
Step 4A - Download Function
This function will be used for downloading the files from server to device. We uploaded file to postimage.org to make things more simple. You will probably want to use your own server. The function is placed in index.js and will be triggered when the corresponding button is pressed. uri is the server download link and fileURI is the path to the DCIM folder on our device.
Once we press the DOWNLOAD button, the file will be downloaded from the postimg.org server to our mobile device. We can check the specified folder and see that myFile is there.
The console output will look like this −
Step 4B - Upload Function
Now let's create a function that will take the file and upload it to the server. Again, we want to simplify this as much as possible, so we will use posttestserver.com online server for testing. The uri value will be linked for posting to posttestserver.
Now we can press the UPLOAD button to trigger this function. We will get a console output as confirmation that the uploading was successful.
We can also check the server to make sure that the file was uploaded.
Latest versionReleased:
Application and library for file transfer.
Project description
Application and library for file transfer.
For more information see the documentation.
History
2020-08-22 (0.10.3)
- Replace salmagundi.config with easimpconf
- New: option keep_alive in host configuration
2020-07-28 (0.10.2)
- New: option dir_a_option in host configuration
- Now works with ftputil version 4
2020-06-14 (0.10.1)
- Pin dependency ftputil to version 3.4 because of incompatible changes in version 4.0
2020-01-27 (0.10.0)
- New: options log_level, retries and ready_file in job configuration
- New: single_instance in job configuration can be set to arbitrary lock name
- Changed: JobResult.file_list tags are now FileTags enum members
- Changed: function configure() returns JobResult object and status code
- Changed: return/status codes of filetransfer script and exceptions
- Changed: names for entries and placeholders in custom email configuration
2020-01-16 (0.9.0)
- New: option single_instance in job configuration
- New: logging can be disabled in application or job configuration
- Add function set_sigterm_handler() to API
- Upgrade dependency: salmagundi -> 0.11.2
- Bugfix: error when sending email if file list contained source or target errors
Why unzip files. 2020-01-09 (0.8.0)
- Emails are now customizable
- Upgrade dependencies: paramiko -> 2.7.1, salmagundi -> 0.10.0
2019-12-03 (0.7.5)
- Improve documentation
- Add more examples
2019-06-12 (0.7.4)
- Upgrade dependency: paramiko 2.4.2 -> 2.5.0
2019-02-21 (0.7.3)
- Improve email handling code
- Improve API
2019-02-03 (0.7.2)
- Fix dependency (wrong salmagundi version in setup.cfg)
2019-02-03 (0.7.1)
- Bugfix: subpackage data was not included
2019-02-03 (0.7.0)
- Re-implementation of configuration handling
- Changes in API
- Minor changes in job and host configurations
2019-01-08 (0.6.0)
- Support ECDSA and Ed25519 for SFTP authentication keys
- Change SFTP authentication key configuration
- Remove host configurations from job configuration files
2018-12-16 (0.5.4)
- Improve usage message and documentation
2018-09-24 (0.5.3)
- Some minor corrections
- Improve API
2018-09-20 (0.5.1)
- Bugfix: When using the API in a script only one SFTP transfer succeeded and the others failed.
2018-09-04 (0.5.0)
- First public release.
Release historyRelease notifications | RSS feed
0.10.3
0.10.2
Android File Transfer For Mac
0.10.1
0.10.0
0.9.0 What opens rar files for free.
0.8.0
0.7.5
0.7.4
0.7.3
0.7.2
0.6.0
0.5.4
0.5.3
Android File Transfer For Windows
0.5.1
0.5.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size FileTransfer-0.10.3-py3-none-any.whl (27.0 kB) | File type Wheel | Python version py3 | Upload date | Hashes |
Filename, size FileTransfer-0.10.3.tar.gz (21.9 kB) | File type Source | Python version None | Upload date | Hashes |
Hashes for FileTransfer-0.10.3-py3-none-any.whl
Algorithm | Hash digest |
---|---|
SHA256 | 01bffd32af2655202cb4a6572d821bd8a9ccf5fdcc2ec1ad0f37a60fb3f31dd6 |
MD5 | 89a7eb62a43837778f79e033880d41de |
BLAKE2-256 | f6bace3445de51b86cbe9e20d8765bad7ef0586ff55a3bdef457ed37b9068265 |
Hashes for FileTransfer-0.10.3.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | 1d6d175d256de325a5eb89ca8c9c16daece96d451eca38aad41e0edfceda836a |
MD5 | 7801bbdf57145bf02a11779ce4647ecc |
BLAKE2-256 | 3efc6b1875c7289aedcd05199c9d9eba1bc09098a725c2c7dae72810bb9f1526 |