Giter Club home page Giter Club logo

fupload's Introduction

Welcome to fupload

What

fupload is a script that'll help you in the process to upload a file or group files to a server. With it you'll be able to rename files, deleting empty spaces, put a prename and create a file with a list of links for that files automatically. This script must be used inside the Visual Fox Pro at the command window. Visual Fox Pro is a software for Windows platform. The name fupload means FoxUpload.

Configuring

  1. The standard path is c:\fupload. If you prefer use fupload in another unit (eg. d:) open the file: fupload.prg and modify the DEFAULTFOLDER constant.
  2. Rename the file fupload.winscript to fupload.bat. Open it in notepad and modify your server path.

Obs.: You must configure the server path. In fupload.prg modify the constants: SERVERFOLDERPDF (server path for pdf files) and SERVERFOLDERZIP (server path for zip files).

Getting started

  1. Put all of the files that you want to upload in the start folder
  2. In command window in Visual Fox Pro write the code: Set procedure to path/fupload/script/fupload.prg . If you use the standard configuration the path is c:\fupload\script\fupload.prg (now the fupload is ready to use in memory)
  3. Now write the code: Do fupload or if you can put a prename in the files write: Do fupload with "prename" (this command rename the files to a friendly name withou empty spaces and copy then to the tmp directory, beyond create a log file with a HTML links for that files.)
  4. Now you must change the link names in the log File to a human friendly link name.
  5. Copy the list of links and put into your page HTML, and copy this page to your web server.
  6. Click in the fupload.bat file in the script folder to upload the files to the server folder.
  7. "Welcome aboard: You’re riding the fupload!"
  8. You can read also a tutorial for fupload in portuguese here.

Description of folders

start: Where you must put your files that will be uploaded. The first step.

tmp: temporary folder where the files renamed stay before the final upload.

log: log files.

script: scripts to rename the files, create the log file, and .bat for uploads.

backup: mantain a copy of each uploaded files. The files could be deleted when necessary.

Version

The current version is 1.2.

Licence

fupload is released under the MIT licence.

Authors

Valério Farias

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.