Author Topic: New Download URL question  (Read 5067 times)

0 Members and 1 Guest are viewing this topic.

Offline Streetwise

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
New Download URL question
« on: March 31, 2003, 09:36:29 PM »
I'm trying to link a "Download URL" field to a network server that is not web enabled (no web server). When I enter this into the Download URL field, it doesn't like it.

file://Jmst-cad1/Renderings/Bush%20Furniture/CR3500-3999/CR3500.jpg

I've tried modifying the member.php page to remove some of the format_URL statements, but to no avail.

I was able to successfuly do this with a snap network server using: //snapeserver/myimage.jpg only becuase the snapserver has a built in web server.

Any idears?

Thanks in advance.

Dave ANderson

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
New Download URL question
« Reply #1 on: March 31, 2003, 10:58:21 PM »
actualy when u do //snapeserver/myimage.jpg it doesnt go through web.
// means network
and ONLY http:// means web
so, try use
//Jmst-cad1/Renderings/Bush%20Furniture/CR3500-3999/CR3500.jpg
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Streetwise

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
New Download URL question
« Reply #2 on: April 01, 2003, 05:04:45 AM »
Quote from: V@no
try use
//Jmst-cad1/Renderings/Bush%20Furniture/CR3500-3999/CR3500.jpg


Actually, I had tried that as well which is what prompted my post, cause I'm stumped  :(

Thanks

Dave

Offline Streetwise

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
New Download URL question
« Reply #3 on: April 01, 2003, 06:22:00 PM »
Let me ellaborate:

//Jmst-cad1/Renderings/Bush%20Furniture/CR3500-3999/CR3500.jpg in the Download_URL field does not give me an error in 4images when I use it in the Download_URL field. However, when I click on the download button for that image, it downloads CR3500.jpg as expected, but ends up being an invalid image when I try to view it. (it's only 4KB, whereas the actual image that I'm linking to on the network is 200k. Also, I can copy the URL above and paste it into my browser and get an error (which explains the wacky file size issue).

file://Jmst-cad1/Renderings/Bush%20Furniture/CR3500-3999/CR3500.jpg appears to be the proper syntax that I'm after, at least for that network server. When I copy/paste it into my browser, it immediately displays the jpg image. However, when I go back and add 'file:' to the string in the Download_URL field, 4images immediately balks and says for me to 'check the path'.

So there must be a way to MOD this field to make it accept 'file:', right?

What's weird about this whole thing is that we have another network server (snap server) that I'm linking to using the //snapserver/etc... and do not need to use 'file:' in front of it. I don't understand what's up with that.

Thanks in advance as always!

Dave Anderson

Offline Streetwise

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
New Download URL question
« Reply #4 on: April 02, 2003, 03:55:00 PM »
Addendum:

The Snap Server that we have is an http server. That's why I can use //snapserver/myfile.jpg with no issues.

The second server that I'm trying to hook into is not an http server. That's why I need to use either file://newserver/myfile.jpg, or \\newserver\myfile.jpg. Neither of which works in 4images...

Any word on how to remove the URL validation from the Download URL field?

Thanks!

Dave