fastlane-community / fastlane-ftp-plugin Goto Github PK
View Code? Open in Web Editor NEWFtp plugin for Fastlane
License: MIT License
Ftp plugin for Fastlane
License: MIT License
Hi. Great plugin. Thanks for making this available.
I'm encountering a weird issue. This is my how my lane is set up -
lane :ftp do
gradle(task: "assembleRelease")
ftp(
host: 'example.example.com',
username: 'example',
password: 'example',
upload: {
src: "./filename.apk",
dest:"/path/path"
}
)
I'm getting this error "No such file or directory @ rb_file_s_size" with the suggestion - "Error accessing file, this might be due to fastlane's directory handling"
I don't understand why I'm getting this error. Does the apk have to be in the fastlane folder?
Thank you.
Hi,
I can see in the source file that the port is basically set as one of the params but I can't actually control it from
ftp(
.......
port: 22,
........
upload: {
.......
}
)
Any idea how I can change it?
Many thanks!
every files uploaded completely and the file content is correct except .plist file.
Hi there,
First of all, thanks for this plugin which has been an amazing tool for me for months now.
I have been wondering, would you consider adding the ability to remember the FTP password in the macOS keychain? Fastlane seems to do this for the Apple ID session token, maybe the code to do so is already usable in the fastlane core.
Thanks a lot,
Stan
Thanks for a great plugin. I would like to request an update (I will make a pull request):
The progress bar has a big downside when using continuous integration (or when capturing log output in general). Then it prints a newline for each progress bar update, for example:
0 %[> ]
0 %[> ]
0 %[> ]
....
6 %[=> ]
6 %[=> ]
6 %[=> ]
6 %[==> ]
6 %[==> ]
7 %[==> ]
7 %[==> ]
....
I would like to make it possible to get a 'simpler' output to avoid bloating the log. It could for example be activated via a new parameter to the ftp action.
My suggestion is to append to the same line until the file has transferred. The output could be like this:
//after 50% upload, it will look like:
0% 25% 50% 75% 100%
| | | | |
[====================
//after 100% upload, it will look like:
0% 25% 50% 75% 100%
| | | | |
[========================================]
(of course this only works for monospace-fonts)
The code will be something like this:
//This is test code - should be adopted to be used in the closure
transferred = 0
print "\n"
print "0% 25% 50% 75% 100%\n"
print "| | | | |\n"
print "["
chars_printed = 0
while transferred < filesize
sleep(0.3)
transferred += data.size
finished = ((transferred.to_f / filesize.to_f) * 40).to_i
(finished-1).downto(chars_printed) { |n| print "="; chars_printed+=1 }
end
print "]\n"
Hi I used this plugin until yesterday. I updated my ruby version to 2.4.2 and now doesn't work anymore.
Fastlane return this error: incomplete format specifier; use %% (double %) instead.
After some tries I think that it could caused by percentage calculation in the library.
Could that be the cause?
Hey, is there any way to upload multiple files or a directory?
My PluginFile :
gem 'fastlane-plugin-teams_bot'
gem 'fastlane-plugin-firebase_app_distribution'
gem 'fastlane-plugin-ftp'
gem 'fastlane-plugin-gradle_properties'
gem 'fastlane-plugin-android_versioning'
When I run the 'fastlane action ftp' command in the terminal, I get the following error:
[15:56:50]: Error loading plugin 'fastlane-plugin-ftp': cannot load such file -- net/ftp
+-------------------------------------------+---------+------------------------------------------------------------------------+
| Used plugins |
+-------------------------------------------+---------+------------------------------------------------------------------------+
| Plugin | Version | Action |
+-------------------------------------------+---------+------------------------------------------------------------------------+
| fastlane-plugin-teams_bot | 1.0.0 | teams_bot |
| fastlane-plugin-firebase_app_distribution | 0.3.2 | firebase_app_distribution, firebase_app_distribution_add_testers, |
| | | firebase_app_distribution_get_latest_release, |
| | | firebase_app_distribution_get_udids, firebase_app_distribution_login, |
| | | firebase_app_distribution_remove_testers |
| fastlane-plugin-ftp | 0.1.5 | No actions found |
| fastlane-plugin-gradle_properties | 0.1.0 | gradle_properties |
| fastlane-plugin-android_versioning | 0.5.5 | get_value_from_build, get_version_code, get_version_name, |
| | | increment_version_code, increment_version_name, set_value_in_build |
+-------------------------------------------+---------+------------------------------------------------------------------------+
[!] No actions were found while loading one or more plugins
Please use bundle exec fastlane
with plugins
More info - https://docs.fastlane.tools/plugins/using-plugins/#run-with-plugins
Loading documentation for ftp:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.