• Resolved fabioabba

    (@fabioabba)


    Hello,
    i’m trying to import with this script some folders of pictures with between 25 and 100 pictures (every file is from 2 to 5 Mb).
    every time the script stops to upload after 20 pictures, without giving any explanation (I suppose it’s a timeout for script running from the server)
    there is a way to avoid that?

    is that possible to upload a whole directory without select file per file? do I have to set a particular permission to the folder?

    thanks

    Fabio

    https://www.ads-software.com/plugins/add-from-server/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dion Hulse

    (@dd32)

    Meta Developer

    every time the script stops to upload after 20 pictures, without giving any explanation (I suppose it’s a timeout for script running from the server)
    there is a way to avoid that?

    It does sound like you’re running into a server limitation.
    You’ve got two main options:
    1) Import less files at a time
    2) Change the server timeouts & memory limits to a higher limit.

    Unfortunately there’s nothing that can be (or will be) added to the plugin to avoid those situations.

    Unless you really have no choice, using the Media Uploader is a far better choice in most cases.

    Thread Starter fabioabba

    (@fabioabba)

    thanks,
    since the Media uploader doesn’t make me choose file from ftp i’m still forced to use side script like your.
    ..i’m wondering why other scripts (Gmedia gallery as an example) work to import a long list of files on the same server while this doesn’t..
    I cannot change server limits since the website it’s remotely hosted

    thanks for answering to my doubts!

    Fabio

    Plugin Author Dion Hulse

    (@dd32)

    Meta Developer

    It’d be possible to change the plugin to queue things up and do it through individual ajax requests or similar, however that’s simply not something I’m interested in supporting with the plugin.

    My suggestion is always to use the media uploader, and/or configure the server to allow larger uploads. Using FTP and then another plugin to import files is not a good user experience and that’s why I discourage it’s use (and why I don’t intend on adding extra features)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘importin "big" folders’ is closed to new replies.