Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nolim1t/ftp-filedrop
Quick script for dropping files into a FTP folder
https://github.com/nolim1t/ftp-filedrop
Last synced: 2 days ago
JSON representation
Quick script for dropping files into a FTP folder
- Host: GitHub
- URL: https://github.com/nolim1t/ftp-filedrop
- Owner: nolim1t
- Created: 2012-09-13T23:59:19.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-09-14T05:53:31.000Z (about 12 years ago)
- Last Synced: 2024-04-14T14:30:02.689Z (7 months ago)
- Language: Ruby
- Size: 102 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ftp-filedrop
============Quick script for dropping files into a FTP folder
Usage
---------------------
### Dropping a file into the folder**Limitation** It needs an extension for now
```bash
export ftpserver='hostname' ; export user='username' ; export pass='Password' ; export file='originalfilename.ext' ; export dir='/dest/filepath'; ./drop.rb
```### Getting a list only
```bash
export ftpserver='hostname' ; export user='username' ; export pass='Password' ; export file='listonly' ; export dir='/dest/filepath'; ./drop.rb
```### Dropping a file while specifying a destination
```bash
export ftpserver='hostname' ; export user='username' ; export pass='Password' ; export file='originalfilename.ext' ; export dir='/dest/filepath'; export destfile='destfilename.ext' ; ./drop.rb
```