Loading...
 

 Data Recovery

On 2017-04-04 we had a rather major disk malfunction that caused data loss. The data on this site was originally restored from a 2016-11-05 backup, but with wiki pages changes since then recreated from the search index.

Note that files and images uploaded since November are still missing and will need to be re-uploaded and reattached to the pages by hand.

Please let us know if you find anything else missing or broken due to this outage. We thank you for your patience.

Batch Upload

Simple solution, if you and your users can use FTP or SFTP or SSH
=> batchupload

(most easy with Linux, when you use "connect to server" with the file-manager, but should be simple enough with Windows aswell, once you setup a FTP-directory on the desktop, or you might use a FTP client)


 Can handle large files

The Batch Upload imports the files directly from the local file system and is thus not affected by regular upload limits. As a result large files can be imported into the File Galleries. Use "Store in directory" as File Gallery storage if you are going to import large files.


Setup Steps


Setup Tiki File Gallery to store files in the Directory, and not in the database.

Step2 - Establish a batch upload directory


do not use /files aka ../files in the Tiki root directory, but setup a directory(folder)outside the Tiki root, e.g. ../../files one level above, and create one directory(folder) ../../files/batchupload.

Mind the appropriate permission chmod 755 or 777 (depending on the
provider)

I found (Uncle Geo_) this to be a bit confusing. Here's what I did that worked: At my hosting service I located the top level folder that my tiki was installed into (i.e., where the browser goes looking for the index.php). Inside it I created a folder called "FileUploads". In the File Gallery config in Tiki I ignored all the stuff above about ../../, etc and just entered "FileUploads/" for the Batch Uploading Path:. It woiks!


Step3 - Activate batch upload directory

Type in the path ../../files/batchupload at http://example.com/tiki-admin.php?page=fgal

(first tab, scroll about a bit more than half way down)

Batch uploading [http://doc.tiki.org/File Gallery Config|]

[http://doc.tiki.org/File Gallery Config|]
Path: ../../files/batchupload http://doc.tiki.org/File Gallery config http://doc.tiki.org/File Gallery config

If you enable Directory Batch Loading, you need to setup a
web-readable directory (outside of your web space is better).
Then setup a way to upload files in that dir, either by scp,
ftp, or other protocols The server must be able to read the

directory. The directory can be outside the web space.

Use Steps

Step1 - FTP upload from client to server


FTP-upload any file to the directory ../../files/batchupload

Step2 - Batch upload from server to Tiki

Go to http://example.com/tiki-batch_upload_files.php?galleryId=1 (a menu-item of the main application menu) or http://example.com/tiki-list_file_gallery.php and click on the button "directorybatch"

Tick the appropriate files, choose the file-gallery to store the file into and apply


If you do not want to give users the FTP-login for the batchfolder just create FTP-subfolders:

../../files/batchupload/user1 ../../files/batchupload/user2 etc.

Then you or anybody who has login to the main directory can simply FTP-move the FTP-uploaded files from the users-subfolder into the batchfolder and then batch-upload them from inside Tiki

Console Command

As of Tiki 15 there is a console command so you can set a scheduled batch upload cron task

Example command line usage
# file according to sub-directory name and create missing galleries
php console.php files:batchupload 1  --subdirToSubgal  --createSubgals

# file according using sub-directory with integer name into gallery with corresponding ID
php console.php files:batchupload 1  --subdirToSubgal --subdirIntegerToSubgalId

# set file user etc so apache can manage the files afterwards
php console.php files:batchupload 1  --fileUser apache --fileGroup allusers --fileMode 0775

# upload files from a different directory
php console.php files:batchupload 1 --filesPath /var/www/other/uploads

# more help
php console.php help files:batchupload



Related:

Alias names of this page:
batchupload | batchfileupload | batch file upload

doc.tiki.org


Bootstrap

AdminGuide

UserGuide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting (7.x)
Articles and Submissions
Backlinks
Banners
Batch (6.x)
BigBlueButton audio/video/chat/screensharing (5.x)
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution (2.x)
Cookie
Copyright
Credit (6.x)
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs 8.x
Draw 7.x
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management (4.x)
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links (3.x)
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags (2.x)
Task
Tell a Friend, alert + Social Bookmarking
TikiTests (2.x)
Theme CSS & Smarty
Trackers
Transitions (5.x)
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
WebDAV (5.x)
Webmail
Web Services
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval (2.x)
Wiki Plugin extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG (2.x)
XMLRPC


Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki