🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

vipload

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vipload

0.0.1
Rubygems
Version published
Maintainers
1
Created
Source

= Vipload

This project rocks and uses MIT-LICENSE.

== Installation

Gemfile: gem "vipload" bundle install

== Setup routes.rb: mount Vipload::Engine => "/vipload"

config/vipload.yml

development:
  server: ftp.awesomeserver.com
  username: cooluser
  password: secretpassword

test:
  server: ftp.awesomeserver.com
  username: cooluser
  password: secretpassword

production:
  server: ftp.awesomeserver.com
  username: cooluser
  password: secretpassword

== Usage Your View

<%= form_tag vipload_path, multipart: true do |f| %>
	File: <%= file_field_tag :file %><br />
	Path: <%= text_field_tag :key %><br />
	Filename: <%= text_field_tag :filename %><br />
	Redirect: <%= text_field_tag :redirect %><br />
	<%= submit_tag "Upload" %>
<% end %>

== What Are These Options? file - required, the upload field key - required, the path to the file on the ftp server filename - not required, a new name for the file (defaults to original name) redirect - not required, url to direct the user upon completion

FAQs

Package last updated on 22 Feb 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

OSZAR »