HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Asking for help-> ftp import

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#34268 (In Topic #7720)
Avatar

Fan in training

hello community,

at first, i must say that i like this cms, i tried out joomla,typo, phpkit etc.., at last i worked with joomla, and was happy with it, but an friend shows me your ocportal and i must at the first look on it, try out how it works, i work at this time to build an communitysite looks like an free downloadcenter for multiplayergames ( mods,patches,maps demos etc…) at this time i have on my 2 servers 220GB on stuff that i will import.

also, now i try out the ocportal, and testing the importfunktion from ftp, it works great with free pub folders, but he not import the files from the own server, i canot found an tutorial how it will worked:( , can someone of the community give me please an tip ?

1. how can i import the files from the hd, where ocportal is installed ( ocportal has the master ftp accses )

2. when i import some files from pub ftp to ocportal,and will save theme on one hd, i become an error massage, but as download it works ? i dont know how i can handle it, i will not link to other server, because i think, that i will bet the files, and i have to pay the traffic

Sorry for my bad english, it is 18 years ago that i learned it in scool, i hope that someone of you can help me, i will say thank you for reading and thank you for given this great cms

with kindley regards

Fonzi

Back to the top
 
Posted
Rating:
#34290
Avatar

Hi Fonzi,

You can put the FTP username and password into the URL that you choose to do an FTP import from. It goes something like:
ftp://user:password@host/

(If in doubt, I'd use Internet Explorer to connect to login to FTP, then yank out the full URL that it created once you logged in.)

However, all this is not secure because users of your website would be able to see the username/password when they started the download. The FTP import thing does not copy files, it just adds a load of entries to the download system that points ocPortal directly to the FTP server each time a download is done. ocPortal doesn't have any way around this, so to avoid it you do currently need to add the files manually (you don't need to upload them with the web form, you could upload all the files to your server using a decent uploading program, and then enter the URLs to where you put the files).
I realise this could be a big chore if there are a lot of files, and this is a good area where someone could make a modification for ocPortal for this (batch import of files in a server directory).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#34324
Avatar

Fan in training

Thank you very much for your help chris,

this tip works great:

 You can put the FTP username and password into the URL that you choose to do an FTP import from. It goes something like:
ftp://user:password@host/

  but you are also right what you say about the secure, it will dont be good, when sombody delete this files :'(,and to put them in manually, will cost all my free time for an long time, here you can see some files from server nr.1 -> Files

when somebody can help with an modifikation, i will be very happy, i cannot pay a lot of money,because i do this job for free and for hobby,  but i can say thank you with some  GB webspace + domain and an signature from the coder in the cms, and sorry again for my bad english dear community :$





Back to the top
 
Posted
Rating:
#34339
Avatar

Fan in training

i have new problems:

i put now 37.467 files at ftp import into my site, this is the last thing i see from the startpage, after i added in the adminbackend ca. 10.000 files more, i got an error when i will visit the mainpage, it says:

Fatal error: Allowed memory size of 26214400 bytes exhausted (tried to allocate 65 bytes)

ok, thats no problem, i go into my php.ini and switch it into 32 MB, now i got the error message:

Premature end of script headers: index.php

ok, i fix that problem 2, ich set the chmods new, disable suphp and gives the script more time to work, and it works slow,but it work, also i put the next 4.000 files on it, and now i get the error message from the mainpage again, that he will have an memory size from 42MB, i think now, that i am on an point, where i say i give up, the side is verry slow and i must put more files on it, but when i do this, you cannot wait so long.

my thinking for oc portal:

oc portal is an very good cms, people can make her own hompage without knowing html, its very easy to learn and have many verry good and interesting modules and funktions, you can publish without every trouble easy 20.000 files for you community, and have enough power on your server for videos and galleries, perfekt for buisniss and communitys, but not for an downloadcenter with over 150.000 files ( this means only the ftp import! ) i think when you do it manually, you will have no problems !

i will use ocportal for some other projekts, because it is an very powerfull cms, try it by yourself,you will see :thumbs:

with kindley regards

Fonzi

Back to the top
 
Posted
Rating:
#34341
Avatar

Well-settled

150.000 files Fonz is to much :) :)


 :offtopic:
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: