FTP bulk upload

Phoca Download - download manager
Midnightman
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 04 Oct 2009, 17:18
Location: Oslo, Norway

FTP bulk upload

Post by Midnightman »

Hey,

This looks like a fantastic component. Before I start using it I have one question:

Does it support FTP upload?

In other words, will it find files that have already been uploaded to the download folder, or do I have to upload all files with Phoca Download's own uploader?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48743
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: FTP bulk upload

Post by Jan »

Hi, you can use the FTP. You will upload the files into the phocadownload folder and then you can select them, if you will add them to the system.

Jan
If you find Phoca extensions useful, please support the project
Midnightman
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 04 Oct 2009, 17:18
Location: Oslo, Norway

Re: FTP bulk upload

Post by Midnightman »

Great, thanks:)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48743
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: FTP bulk upload

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Jangla
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 17 Apr 2009, 00:14

Re: FTP bulk upload

Post by Jangla »

I've just tried uploading a ton of images to that folder and the component doesn't seem to register that the images are there - there's nothing in the images screen.
caroldaley
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 15 Oct 2009, 16:45

Re: FTP bulk upload

Post by caroldaley »

I've just tried uploading a ton of images to that folder and the component doesn't seem to register that the images are there - there's nothing in the images screen.
I know on my server, if I've created a new folder and the permissions are not set to 777, I can not see the folder or the contents.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48743
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: FTP bulk upload

Post by Jan »

Hi, ask your webhoster to permissions and ownership settings. there should not be problem to run 755 folders as this is recommended because of security.

Jan
If you find Phoca extensions useful, please support the project
Amrit
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 29 Dec 2009, 18:00

[Feature Request]Re: FTP bulk upload

Post by Amrit »

Hi Jan.

First of all, you create GREAT extensions. You are a real professsional, and a saint for giving them away for free. :-)

Second, I think Jangla wanted a slightly different solution.
I tried uploading files to phocadownload, and as you stated, the files do get added to the filename list, so I can add the files myself into the system.

BUT, Jangla said he had a ton of files, which suggest to me that he wants all the files added automatically to the system.

Phoca doesn´t seem to support this automatic adding to the system at the moment. Only the filename list get's populated, which, ofcourse is very handy, but has it's limitations, especially when handling a ton of files. ;)

I would like to suggest a new feature.
Add a new directory in phocadownload called autodir, or similar.

Everything in this directory gets automatically added to the system, and either they all get added to a default Section and Catagory already preset in settings, or, they could have this little nifty solution:
Example:
Top directory structure is:
/phocadownload/autodir

The structure of the sub directory could be something like this:
Section/Category/filename.xox
So, if the files uploaded is in a directory structure like this, then the first dir would be Section, second dir would be Category, and then comes the filename.
The dirname of Section and Category would simply be automatically added to the Phocadownloads Section and Category, and filename would be as it is today; if the field Name is empty, then the name of the file will be used.

If no directory structure is used in autodir, then all files will be added to a default Section and Category.

This way, all files uploaded into the autodir, would be added automatically to the system and hence also viewable in the front-end.

This is in my opinion a really hand feature, and I'm guessing it would be fairly easily to program into the already great Phocadownload.

Thank you Jan for your work. :-)

Cheers
Amrit
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48743
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: FTP bulk upload

Post by Jan »

Hi, added into the feature request list.

Jan
If you find Phoca extensions useful, please support the project
jstratos
Phoca Member
Phoca Member
Posts: 12
Joined: 05 Mar 2009, 06:49

Re: FTP bulk upload

Post by jstratos »

I know that when I create new folders for Uploading images to, the folder name MUST NOT BE BROKEN.

In other words, a folder named "Ski Images" must be labeled "Ski_Images"... hope this helps.
Post Reply