Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allows for sending both anonymous and authorized FTP uploads directly from the script. Splits are done in memory, so the file never is created on the host machine, which is ideal for large backups and such that are being split up. Spec for testing this functionality are done via live FTP (vsftpd) server setup with the following config: listen=NO listen_ipv6=YES local_enable=YES local_umask=022 write_enable=YES connect_from_port_20=YES anonymous_enable=YES anon_root=/var/ftp/pub anon_umask=022 anon_upload_enable=YES anon_mkdir_write_enable=YES anon_other_write_enable=YES pam_service_name=vsftpd userlist_enable=YES userlist_deny=NO tcp_wrappers=YES The specs will only run if the user specifically targets the tests using a tag flag: $ bundle exec rspec --tag with_real_ftp
- Loading branch information
1 parent
cada310
commit 0abd860
Showing
2 changed files
with
254 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters