PDA

View Full Version : Download a file



NewsArchive
09-17-2015, 01:52 AM
On this install I have one file (broker.tps) that is downloaded but
having probs. Progress bar shows it is being download but it doesn't
appear. Perhaps it is going somewhere else other than the correct
install directory. Pic attached.

Don Harvey

NewsArchive
09-17-2015, 01:54 AM
Hi Don,

You haven't inadvertently checked the Delete File on Exit checkbox
have you? See attached.

Best Regards,
Geoff

NewsArchive
09-17-2015, 01:55 AM
Hi Don,

> On this install I have one file (broker.tps) that is downloaded but
> having probs. Progress bar shows it is being download but it doesn't
> appear. Perhaps it is going somewhere else other than the correct
> install directory. Pic attached.

My first answer was, "What Geoff said" <g>. But then I developed a small
demo project to download your TPS but nothing. No download progress and no
file. So I enabled internal HTTP debugging and your server sends the
following "The document has moved" response (see attached screenshot).

As a result, the download action in SB can't retrieve the file.

Hope this helps.

Friedrich

NewsArchive
09-17-2015, 01:56 AM
BTW, the "302 Found" server response message means "Redirect Status (302)".
So I think you are using URL Redirects. In other words, your server
redirects from the URL to another location. SB does not support URL
Redirects.

Friedrich

NewsArchive
09-17-2015, 01:56 AM
And if you check the return code from the Download File action, you'll see
Error "503010049" which is also an indicator for URL Redirects. So IMO, you
are using redirection.

Friedrich

NewsArchive
09-17-2015, 08:44 AM
Thanks Friedrich,

Looks like I need to contact GoDaddy to resolve.

Don Harvey

NewsArchive
09-17-2015, 11:05 AM
Well, GoDaddy says there is no URL Redirects so think this idea not
going to work at the moment. Will have to try something different.

Don Harvey

NewsArchive
09-18-2015, 01:52 AM
Hi Don,

> Well, GoDaddy says there is no URL Redirects so think this idea not
> going to work at the moment. Will have to try something different.

FWIW, I can enter the url into Chrome and it downloads it just fine...

Best regards,

--
Arnor Baldvinsson
Icetips Alta LLC

NewsArchive
09-18-2015, 01:52 AM
Arnor,

> > Well, GoDaddy says there is no URL Redirects so think this idea not
> > going to work at the moment. Will have to try something different.
>
> FWIW, I can enter the url into Chrome and it downloads it just fine...

Browsers handle redirects transparently but Friedrich said SB does not
handle redirects, there's the difference.

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Creative Reporting: http://www.CreativeReporting.com

Product Release & Update Notices
http://twitter.com/DeveloperPLUS

Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"
And, now, Windows 10 brings us "The Inch Worm, Bumper Car of Wait!"


The life of a Clarion Developer: https://youtu.be/ozitqabi6UM

NewsArchive
09-18-2015, 01:54 AM
Hi Don,

> On this install I have one file (broker.tps) that is downloaded but
> having probs. Progress bar shows it is being download but it doesn't
> appear. Perhaps it is going somewhere else other than the correct
> install directory. Pic attached.

The problem is that it redirects to a secure URL. Use:

|https://www.truckingregister.com/sstate/broker.tps|

and you should get it. See the following results from FireBug - notice
the "https" instead of "http":



Best regards,

--
Arnor Baldvinsson
Icetips Alta LLC

NewsArchive
09-18-2015, 01:54 AM
Hi Lee,

> Browsers handle redirects transparently but Friedrich said SB does not
> handle redirects, there's the difference.

Yeah, got that. Used FireBug to find it. It was redirecting to
https:// url. If I used that I got no more redirection:)

Best regards,

--
Arnor Baldvinsson
Icetips Alta LLC

NewsArchive
09-18-2015, 01:55 AM
> Yeah, got that. Used FireBug to find it. It was redirecting to https://
> url. If I used that I got no more redirection:)

Very interesting! Thanks for investigating!

Friedrich

NewsArchive
09-18-2015, 01:55 AM
Hi Arnor,

Well, think I found out what is going on. GoDaddy is changing their
routines. They are retiring the Linux server that truckingregister is
on and switched my moark.us domain to the windows plex server.
So was working on that tonight and in conversations with their tech
people they noted that only select files can be downloaded - tps and exe
files are those that can not be downloaded on shared servers.

So now I need to find another source to handle these. For all of
downloads don't really need a published web page as Trucking Register
handles that. I just need a server that can keep the SB downloads.

Any ideas.

Don Harvey

NewsArchive
09-18-2015, 01:56 AM
Hi Don,

> So now I need to find another source to handle these. For all of
> downloads don't really need a published web page as Trucking Register
> handles that. I just need a server that can keep the SB downloads.
>
> Any ideas.

If you need hosting, even if it's just for ftp, check out hostgator. We
have several domains there.

Best regards,

--
Arnor Baldvinsson
Icetips Alta LLC

NewsArchive
09-18-2015, 01:57 AM
Lee,

> Browsers handle redirects transparently but Friedrich said SB does not
> handle redirects, there's the difference.

Yes, exactly! And the return value for Dan's download clearly indicates
"302 Found = Redirect Status". Redirection is done and so the support
answer from GoDaddy 'no URL Redirects' is wrong (IMO).

Friedrich

NewsArchive
09-18-2015, 12:30 PM
Hi Friedrich,

> Very interesting! Thanks for investigating! Friedrich

Firebug is great when it comes down to tracking and tracing what the
heck is going on in a browser environment - or so I'm told<g> I've used
it in the past to help with debugging web site code.

Best regards,

--
Arnor Baldvinsson
Icetips Alta LLC

NewsArchive
09-19-2015, 07:56 AM
Agreed. Not a bad little debugger, that is! :-)

--

Russ Eggen
RADFusion International, LLC