Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Aiheen aloitti: Clark_NZ - maaliskuu 30, 2011, 05:58:58 IP

Otsikko: attachment path?
Kirjoitti: Clark_NZ - maaliskuu 30, 2011, 05:58:58 IP
How do I find the folder on my server this image is in? http://www.nzjetboating.com/yabbse/index.php?action=dlattach;topic=21209.0;attach=40877;image

I am in the process of moving my forum to a new server and seem to be missing some images, but I cant work out where they are?

My attachments directory is set to /home/webnz/public_html/nzjetboating/yabbse/attachments but the newest file in there is 14430_DSC01252a_jpg3bd43ac6e0716fd57b6c4b38a5604b52

As far as I can establish this is an image in topic 14430, and I'm missing all the images from then on.
Otsikko: Re: attachment path?
Kirjoitti: Ashley S - maaliskuu 30, 2011, 06:04:31 IP
That image should be in your Attachments folder in your theme directory.
Otsikko: Re: attachment path?
Kirjoitti: Illori - maaliskuu 30, 2011, 06:06:00 IP
there is no attachments folder in any theme directory.
Otsikko: Re: attachment path?
Kirjoitti: Clark_NZ - maaliskuu 30, 2011, 06:15:07 IP
Lainaus käyttäjältä: Ashley S - maaliskuu 30, 2011, 06:04:31 IP
That image should be in your Attachments folder in your theme directory.

Couldn't find any in there. Thanks for your reply.
Otsikko: Re: attachment path?
Kirjoitti: Clark_NZ - maaliskuu 31, 2011, 12:19:05 AP
can anyone else help?
Otsikko: Re: attachment path?
Kirjoitti: Illori - maaliskuu 31, 2011, 05:39:46 AP
please do not bump your topic within 24 hours, we are all volunteers and will reply if and when we know the answer.
Otsikko: Re: attachment path?
Kirjoitti: Kays - maaliskuu 31, 2011, 08:31:20 AP
Hi Clark, which version SMF are you using? SMF 2.0 allows for multiple attachment folders.

Can you see the files if you go into the Admin CP > Attachments and Avatars > Browse Files?
Otsikko: Re: attachment path?
Kirjoitti: Clark_NZ - maaliskuu 31, 2011, 10:33:09 IP
Hi Kays,

I'm running 1.1.13 and yes i can see that image in "browse files"

I'm not sure how to locate that file on my server, could it somehow be inside my database?

Otsikko: Re: attachment path?
Kirjoitti: Kays - huhtikuu 01, 2011, 09:36:42 AP
They all should be in the same folder. Normally the "Attachments" folder at the root of your forums.

How many attachments do you have? Some FTP clients don't show more than the first thousand or so.
Otsikko: Re: attachment path?
Kirjoitti: Clark_NZ - huhtikuu 02, 2011, 12:01:21 AP
Thanks Kays, you are correct, I had to change to a SFTP connection to view the rest of my files. Problem solved.  :)
Otsikko: Re: attachment path?
Kirjoitti: Kays - huhtikuu 02, 2011, 11:54:17 AP
Cool, glad that did it. :)

I'll mark this as solved then.