View Full Version : Way to Upload Entire Folder?
11-20-2007, 03:08 PM
I want to be able to upload an entire folder to my web host with a script. Is this possible? Right now I can only figure out how to upload individual files.
11-20-2007, 03:18 PM
You'd have to use a Java component to do this. Most popular search engines will give you plenty of results for that.
11-20-2007, 03:26 PM
Is this just for your use or do you want general visitors to be able to upload a folder?
If this is just for your use, most FTP clients allow drag and drop folder upload. You can also zip the files, upload the .zip file, then unzip on the server.
Just using the normal browser/http upload support, you can only select one file at a time. There are a number of upload scripts that lets you dynamically keep adding individual files to an upload form (this works until the total size reaches the upload size settings on the server.)
Here is a java applet that claims (I have not used it) to allow folder uploads - http://www.jumploader.com/ This requires the java runtime environment to be installed on the client's computer.
11-20-2007, 09:07 PM
Hmm, Ok .
I want it because im making a script that allows people to upload templates. As of now i dynamicaly create a new folder in which their css/HTML files gets uploaded to. The problem I am having is thinking of an easy way to upload all their images. As of now my scrip creates another folder called "images" and then the user must upload images one by one.
11-20-2007, 09:14 PM
Yes, that's how it has to be.
Unless you use the Java solution, which is not compatible with everyone. But it might work depending on project requirements.
Could you ask users to zip the directory and upload that? You can then unzip it when it gets to the server.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.