Ah ha....

freya

Joined: 2002-08-26
Posts: 3
Posted: Mon, 2002-08-26 06:53

Hello all;

This was going to be a "I'm having trouble uploading files from a directory" message, but I figured out what the problem was (problem existed between keyboard and chair :wink: ). I thought it might be of use to someone else.

Here's the original message:

*****

I moved a bunch of pictures to a temporary folder on my server. I turned on indexing for that folder in Apache, and I can see them just fine. However, when I go to fetch the URL, this is the message I get back from Gallery:

---

Fetching Urls...
http://www.myServer.com/~myDirectory/temp/chicago
Parsing http://www.myServer.com/~myDirectory/temp/chicago for images...
Found 7 Images.
Processing status...

Check All - Clear All - Invert Selection

http://www.myServer.com/icons/back.gif
http://www.myServer.com/icons/blank.gif
http://www.myServer.com/icons/image2.gif
http://www.myServer.com/~myDirectory/temp/DSCN0129.JPG
http://www.myServer.com/~myDirectory/temp/DSCN0130.JPG
http://www.myServer.com/~myDirectory/temp/DSCN0131.JPG
http://www.myServer.com/~myDirectory/temp/DSCN0132.JPG

Check All - Clear All - Invert Selection
---

Ignoring the icons, you can see that the URL it generates removes the "chicago" part of the address, which breaks the URL. Thus, the picture retrieval fails :sad:

*****

However, I figured out that problem was a missing trailing slash. Rather than using "www.myServer.com/temp/chicago", I needed to be using "www.myServer.com/temp/chicago/". Much better.

Hope this is helpful to someone else.