Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12384
Latest: MildredGarrido
New This Month: 8
New This Week: 0
New Today: 0
Stats
Total Posts: 39888
Total Topics: 7022
Most Online Today: 112
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 32
Total: 32

Author Topic: Procedure for Batch Upload/Import of files.  (Read 12099 times)

0 Members and 1 Guest are viewing this topic.

Offline BJ05

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Procedure for Batch Upload/Import of files.
« on: October 05, 2006, 02:29:26 pm »
Would it be possible to post a short tutorial about the priocedure for bulk upload or importation of files?

The problem I am having is in trying to upload a folder containing images into the "import" folder. The server kicks back a 550 error stating no permission to rename, modify or even change permission. The import folder has been cmodded to 777.

When I uplod the folder outside of the "import" folder, all is well, and by changing the import path to the name of the uploaded folder, all functions as it should.

So two questions here. Should I upload images only into the "import" folder and then do the import function?

Once the images are in the gallery, do you delete the uploaded images out of the import folder to prepare it for the next batch? And in the case of the upload outside of the import folder, once imported into the gallery, is it alright to delete the uploaded folder without losing the product?

Other than this, an excellent mod that installed flawlessly. It is much appreciated.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14953
    • View Profile
Re: Procedure for Batch Upload/Import of files.
« Reply #1 on: October 05, 2006, 02:41:18 pm »
The procedure for using the import folder. Is to place only images inside that folder it will not scan folders inside the import folder.  T

he gallery does not delete the images that have been imported though the import folder.

I did this mainly in case someone pointed the import directory so the user would not loose their pictures better to be safe than sorry.

Once files are imported though the import folder you need to delete them otherwise they will be imported again if you add more files to that folder and use the import function.

Keep posting for feature requests for the next version.

Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline BJ05

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Re: Procedure for Batch Upload/Import of files.
« Reply #2 on: October 05, 2006, 03:04:51 pm »
Thanks for your prompt reply and I will. You have a marvelous product that will only get better.

I have spent almost a year trying to get Coppermine properly integrated into my forums without complete success and this simple script you have created, does what nothing else does without all the hassles.

Saludos

Offline BJ05

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Re: Procedure for Batch Upload/Import of files.
« Reply #3 on: October 05, 2006, 04:07:32 pm »
Ok, I tried uploading via FTP individual image files to the import folder and that is not permitted, It throws this error.

Code: [Select]
553-Can't open that file: Permission denied
553 Rename/move failure: No such file or directory

Is that a server side problem? I also cannot cmod from 0755 to 0777. This is the only folder on my server where this problem arises

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14953
    • View Profile
Re: Procedure for Batch Upload/Import of files.
« Reply #4 on: October 05, 2006, 04:09:35 pm »
hmm, that is strange. Try to delete the folder then remake the import folder and try to change the permissions onit it.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline BJ05

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Re: Procedure for Batch Upload/Import of files.
« Reply #5 on: October 05, 2006, 04:26:19 pm »
Very strange.

I went into my server to change the permissions. They showed 0755 but when I opened the box to make the change, the box showed 777. The server would not allow the folder to be deleted nor modified, except,

It allowed me to change the name to "importation" which really is not important. I was then able, via FTP to create a new folder named "import" and change permissions to 777 without a problem. Now I am allowed to populate the new import folder yet the one that I remamed remains on the server.

A work around to be sure. But it is a strange problem.

Offline mforum

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: Procedure for Batch Upload/Import of files.
« Reply #6 on: October 06, 2006, 02:39:27 am »
Very strange.

I went into my server to change the permissions. They showed 0755 but when I opened the box to make the change, the box showed 777. The server would not allow the folder to be deleted nor modified, except,

It allowed me to change the name to "importation" which really is not important. I was then able, via FTP to create a new folder named "import" and change permissions to 777 without a problem. Now I am allowed to populate the new import folder yet the one that I remamed remains on the server.

A work around to be sure. But it is a strange problem.

Thats normal  :)  ask from your server admin to delete the renamed folder  ;)

Offline TeamVTEC

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: Procedure for Batch Upload/Import of files.
« Reply #7 on: October 08, 2006, 04:06:50 pm »
i have the same problem, i can't upload anything to the import folder nor can i rename it or modify it. ???
I have full root access

Anyone?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14953
    • View Profile
Re: Procedure for Batch Upload/Import of files.
« Reply #8 on: October 08, 2006, 04:26:23 pm »
that's strange. Since that folder is just extracted via the package manager.
You don't have to use that import folder though.
You can make another folder an import pictures using that folder.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline TeamVTEC

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: Procedure for Batch Upload/Import of files.
« Reply #9 on: October 08, 2006, 04:31:37 pm »
that's strange. Since that folder is just extracted via the package manager.
You don't have to use that import folder though.
You can make another folder an import pictures using that folder.

Well i tried that before posting but i know see that i forgot a / at the end ::)
But it's still very strange that that folder doesn't allow chmodding or upload, please look into this for your next release ;)

Offline max.411

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Procedure for Batch Upload/Import of files.
« Reply #10 on: December 04, 2006, 08:59:20 pm »
On mine, it doesn't seem to want to execute php ... when I hit "import files" it offers me a chance to download index.php ... I can only assume the index.php is the script in the gallery dir, although it is empty when I open it.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14953
    • View Profile
Re: Procedure for Batch Upload/Import of files.
« Reply #11 on: December 04, 2006, 09:07:52 pm »
What directory do you have it set for importing?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline max.411

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Procedure for Batch Upload/Import of files.
« Reply #12 on: December 04, 2006, 09:40:36 pm »
the only one that will work --PATH .. /forums/gallery/import/

I even renamed the original import, and made a new one -- now it no longer tries to download index.php, but it takes me to a blank screen and nothing is actually imported to the gallery.

Offline polarisflyer

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Procedure for Batch Upload/Import of files.
« Reply #13 on: January 28, 2007, 03:38:28 pm »
I am having a very similar problem and cannot import pictures from the /gallery/import/ folder.   On the Gallery application side, it is defaulting to the following folder for importing : /home/content/j/c/g/jcgomez/html/gallery/import/   

I have verified that this folder has 777 access rights.  What did I do wrong??


Please HELP!!!!!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14953
    • View Profile
Re: Procedure for Batch Upload/Import of files.
« Reply #14 on: January 28, 2007, 03:40:27 pm »
What does it say or do when you try to import?
Try deleting and creating the import folder again and make it writable.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
6 Replies
4541 Views
Last post September 15, 2007, 11:23:30 am
by ApplianceJunk
1 Replies
4278 Views
Last post February 16, 2008, 11:53:55 am
by SMFHacks
7 Replies
5006 Views
Last post June 11, 2009, 09:50:27 pm
by SMFHacks
9 Replies
3184 Views
Last post November 30, 2010, 09:19:56 pm
by SMFHacks
2 Replies
3142 Views
Last post March 03, 2014, 02:25:39 am
by Michel68

+- Recent Topics

prettyurls - TroubleShooting.wiki by Rock Lee
October 10, 2019, 11:37:09 am

Some issues with adding and editing a listing by ajac63
October 07, 2019, 04:16:40 am

Problem update 1.1.21 to 2.0.15 by Rock Lee
October 06, 2019, 06:09:16 pm

[Mod]SMF 2.0.x PHP 7.2 Support by sah62
October 04, 2019, 01:46:00 pm

Ideas by shuban
October 03, 2019, 10:19:06 pm

How to space icons and multiple reacts? by shadav
October 03, 2019, 04:20:07 pm

PrettyUrls SEO Pro by Rock Lee
October 01, 2019, 09:09:38 am

How to get search preciser by SMFHacks
September 23, 2019, 10:09:56 am

How to AVOID SEO Hit when Implementing PrettyURLs by SMFHacks
September 12, 2019, 08:50:42 pm

theme by SMFHacks
September 12, 2019, 07:10:51 am

Powered by EzPortal