![]() ![]() |
Apr 12 2007, 03:38 PM
Post
#31
|
|
![]() Group: Members Posts: 1,837 Joined: 31-December 05 From: Illinois USA Member No.: 8,821 |
Sorry, I tried to do this on my Cacko Z with opera 7.25 and there isn't any way to do it, the file's code loads on the screen if you use automatic downloading.
When I tried typing in the filename after "save location", nothing happened. The file is supposed to download to /hdd3/Documents/application/downloads That directory was empty. You are probably going to need to use a desktop PC and firefox or something like flashget (windows) flashgot (linux) If you can get meanie's pdaxqtrom loaded, you can use firefox. I'm sure it would download files, although I haven't tried downloading stuff with firefox on my Zaurus. |
|
|
|
Apr 12 2007, 03:46 PM
Post
#32
|
|
|
Group: Members Posts: 454 Joined: 17-November 05 Member No.: 8,551 |
I saw the suggestions about "right clicks" but I don't have a mouse on my Z.
Here's details of what happens when I attempt downloading a PM attachment: The url for the attachment is the same whether I do a "Save as" bookmark, or just click on the link and fetch it from my history: http://www.oesf.org/forums/index.php?act=A...ype=msg&id=4312 Then whether I do the following wget when logged in to the board in another window, or not logged in, I get the same results: <blockquote> bash-2.05# wget -O myfile.gz --http-user sdjf --http-passwd xxxx http://www.oesf.org/forums/index.php\...g\&id=4312 --13:32:03-- http://www.oesf.org/forums/index.php?act=A...ype=msg&id=4312 => `myfile.gz' Connecting to www.oesf.org:80... connected! HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] 0K .......... .......... .. @ 10.96 KB/s 13:32:06 (10.92 KB/s) - `myfile.gz' saved [23550] bash-2.05# </blockquote> Then I renamed the html file that was retrieved so I could view it in lynx: bash-2.05# mv myfile.gz myfile.gz.html and the board message in the file is: <blockquote> Board Message Sorry, an error occurred. If you are unsure on how to use a feature, or don't know why you got this error message, try looking through the help files for more information. The error returned was: Sorry, some required files are missing, if you intended to view a topic, it's possible that it's been moved or deleted. Please go back and try again. You are not logged in, you may log in below </blockquote> As I said above, got the same html file whether or not I was logged in. Is there a way to tweak wget or one of my browsers? I have no clue about the mime types on these files. Thanks, sdjf P.S. when I click on link to "BB Code Help" I get an error 404 so sorry the display may not be quite right. |
|
|
|
Apr 12 2007, 03:56 PM
Post
#33
|
|
![]() Group: Members Posts: 1,837 Joined: 31-December 05 From: Illinois USA Member No.: 8,821 |
"tap and hold" is right click in some qtopia applications, such as netfront, but netfront doesn't download files anyway.
Fn + click works for right click, but this is on newer clamshells. Can you mount meanie's pdaxqtrom cramfs/squashfs? It has firefox included in it. Look under the X/QT forum for pdaxqtrom. |
|
|
|
Apr 12 2007, 04:30 PM
Post
#34
|
|
|
Group: Members Posts: 454 Joined: 17-November 05 Member No.: 8,551 |
QUOTE(Jon_J @ Apr 12 2007, 04:56 PM) "tap and hold" is right click in some qtopia applications, such as netfront, but netfront doesn't download files anyway. Fn + click works for right click, but this is on newer clamshells. Can you mount meanie's pdaxqtrom cramfs/squashfs? It has firefox included in it. Look under the X/QT forum for pdaxqtrom. I'll try the tap-and-click thing in Opera later when I have more time, but I'm skeptical about getting anything other than binary on my screen. Will menaie's firefox work on an sl5500 with sharp ROM? I don't have much room right now, but I could just yank out firefox I suppose...but it's also huge, isn't it? And I thought binaries were somehow hardware-dependent to some extent? My primary SD card has a bad spot, and I haven't had time to finish backing it up and reformat it. When I do, I'll be able to make better use of it for installing new apps. But I'll try it...this download issue is annoying. Thanks, sdjf |
|
|
|
Apr 12 2007, 05:49 PM
Post
#35
|
|
![]() Group: Members Posts: 1,837 Joined: 31-December 05 From: Illinois USA Member No.: 8,821 |
Go here and look at paragraph 4
http://pdaxqtrom.thegrinder.ws/files/pdaxqtrom.html meanie recommends X/QT for 5500 models as it uses less resources than pdaxqtrom. Here's the thread for X/QT http://www.oesf.org/forums/index.php?showtopic=16209 This is getting off topic, look at that thread about X/QT. It is slow on the newer clamshells, but firefox loaded in about a minute on mine when I had it installed. I think you can mount it as a cramfs on a card. |
|
|
|
Apr 12 2007, 05:57 PM
Post
#36
|
|
|
Group: Members Posts: 454 Joined: 17-November 05 Member No.: 8,551 |
Okay. Thanks for the specifics. Anything that will make PM attachment downloading possible.
sdjf |
|
|
|
Apr 12 2007, 09:13 PM
Post
#37
|
|
|
Group: Members Posts: 742 Joined: 15-October 05 From: Gulag, Siberia Member No.: 8,322 |
QUOTE(sdjf @ Apr 12 2007, 11:46 PM) The url for the attachment is the same whether I do a "Save as" bookmark, or just click on the link and fetch it from my history: CODE http://www.oesf.org/forums/index.php?act=Attach&type=msg&id=4312 See those ampersands (&)? When you use wget the shell will interpret them as run this job in the background. So basically what you're doing is essentially: CODE wget http://www.oesf.org/forums/index.php?act=Attach& ie you're telling wget to get the file CODE http://www.oesf.org/forums/index.php?act=Attach which of course doesn't exist.The correct way to download using wget is to simply wrap the url in quotes: CODE wget "http://www.oesf.org/forums/index.php?act=Attach&type=msg&id=4312"
|
|
|
|
Apr 12 2007, 10:30 PM
Post
#38
|
|
|
Group: Members Posts: 454 Joined: 17-November 05 Member No.: 8,551 |
desertrat,
It was my understanding that preceding a special character with a backslash has the same effect as double quote marks, and they work that way in wget for me the rest of the time. But I tried your suggestion, just in case I was wrong, and got the exact same error screen. Sigh. sdjf |
|
|
|
Apr 13 2007, 12:36 AM
Post
#39
|
|
|
Group: Members Posts: 742 Joined: 15-October 05 From: Gulag, Siberia Member No.: 8,322 |
QUOTE(sdjf @ Apr 13 2007, 06:30 AM) It was my understanding that preceding a special character with a backslash has the same effect as double quote marks, and they work that way in wget for me the rest of the time. Sorry, you're right, I overlooked that OK having re-read the thread it seems you're having trouble downloading a PM attachment using wget? Well I would assume (expect) that the forum software would check that you're logged in before allowing you to download a PM attachment, this is usually done through cookies. wget has no idea about what cookies your current browser session has stored, that's why you get a rather cryptic error message. You might try using the --load-cookies option (if you can persuade your browser to cough up a suitable file). |
|
|
|
Apr 13 2007, 09:18 AM
Post
#40
|
|
![]() Group: Members Posts: 2,808 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 |
|
|
|
|
Apr 13 2007, 10:48 AM
Post
#41
|
|
|
Group: Members Posts: 454 Joined: 17-November 05 Member No.: 8,551 |
I'll try using the load cookies option, thanks.
I tried again in Opera, and it's clear to me as menaie points out, that it's a server issue. The same file downloads just fine (with a download dialogue box) from gmail when on the web in opera, and spews out onto my screen if I try to retrieve it from the PM it is in. I can, btw, currently download zip attachments from forum posts without a problem, so I think there must be something different about the config for PMs and public posts. sdjf |
|
|
|
Apr 26 2007, 04:18 PM
Post
#42
|
|
![]() Group: Admin Posts: 1,208 Joined: 20-January 06 From: York, Pennsylvania Member No.: 8,961 |
QUOTE(Meanie @ Apr 13 2007, 01:18 PM) QUOTE(InSearchOf @ Mar 31 2007, 11:02 PM) Well... I noticed with with IE there isnt an issue with images... but downloading ipk's was the issue still... Late the server is sending the wrong content-type header, ie text/html instead of multipart or octet-stream ... I'm still looking into this now... I noticed this problem didnt occur until PHP got upgraded.... .bmp image/x-MS-bmp .gif image/gif .gz application/x-gzip .hqx application/mac-binhex40 .htm application/octet-stream .html application/octet-stream .ico image/ico .ipk application/x-tar .jpeg image/jpeg .jpg image/jpeg Above is an example of some of the mime types listed which is the same pre and post PHP update. Late |
|
|
|
Apr 26 2007, 05:14 PM
Post
#43
|
|
|
Group: Members Posts: 226 Joined: 29-March 06 Member No.: 9,483 |
QUOTE(InSearchOf @ Apr 26 2007, 07:18 PM) .bmp image/x-MS-bmp .gif image/gif .gz application/x-gzip .hqx application/mac-binhex40 .htm application/octet-stream .html application/octet-stream .ico image/ico .ipk application/x-tar .jpeg image/jpeg .jpg image/jpeg Above is an example of some of the mime types listed which is the same pre and post PHP update. I just clicked on a .jpg attachment and the Page Info window tells me the type is text/html. Somehow these mime types are not being passed to my browser (Firefox). |
|
|
|
Apr 26 2007, 09:06 PM
Post
#44
|
|
![]() Group: Members Posts: 2,808 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 |
QUOTE(Drake01 @ Apr 27 2007, 11:14 AM) QUOTE(InSearchOf @ Apr 26 2007, 07:18 PM) .bmp image/x-MS-bmp .gif image/gif .gz application/x-gzip .hqx application/mac-binhex40 .htm application/octet-stream .html application/octet-stream .ico image/ico .ipk application/x-tar .jpeg image/jpeg .jpg image/jpeg Above is an example of some of the mime types listed which is the same pre and post PHP update. I just clicked on a .jpg attachment and the Page Info window tells me the type is text/html. Somehow these mime types are not being passed to my browser (Firefox). CODE .htm application/octet-stream .html application/octet-stream shouldn't these be html/text ? |
|
|
|
Apr 27 2007, 12:23 AM
Post
#45
|
|
|
Group: Members Posts: 742 Joined: 15-October 05 From: Gulag, Siberia Member No.: 8,322 |
QUOTE(InSearchOf @ Mar 31 2007, 11:02 PM) Well... I noticed with with IE there isnt an issue with images... but downloading ipk's was the issue still... That's because IE is pathetically bugged in that it looks at the file .ext instead of acting on the mime-type. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 09:54 AM |