mIRC Home    About    Download    Register    News    Help

Print Thread
Files with no ext. #198358 27/04/08 05:46 AM
Joined: Apr 2008
Posts: 4
K
kingtut Offline OP
Self-satisified door
OP Offline
Self-satisified door
K
Joined: Apr 2008
Posts: 4
How do I get a file like ozzy & drix that has no file ext. get ozzy & drix come back invalid even if thats how it's list in the dir. Thanks

Re: Files with no ext. [Re: kingtut] #198359 27/04/08 06:13 AM
Joined: Aug 2005
Posts: 1,052
L
Lpfix5 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
Is the dir local?

A) What kind of EXT should it be MP3/TXT etc...?

B) How are you getting the file?


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Re: Files with no ext. [Re: Lpfix5] #198360 27/04/08 06:33 AM
Joined: Apr 2008
Posts: 4
K
kingtut Offline OP
Self-satisified door
OP Offline
Self-satisified door
K
Joined: Apr 2008
Posts: 4
The file is found in toptr00 from 80's cartoon. I would think thats it's a number of eps of the series. Vidoes but I tried all video ext mpg, avi, ect. But it is just listed in the dir as ozzy & drix. I no trouble with getting file from TopTr00 dir that had a file ext list. But most didn't have exts. I found that to be ture in most dir from different channels in 80's cartoons.

Re: Files with no ext. [Re: kingtut] #198362 27/04/08 07:57 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
If this is a video file, I suggest using Microsoft's Windows Media Player to open the file. Since you don't have an extension, WMP will give you a warning that the file content type doesn't match the file extension, and will then ask you if you want to open the file. If you say yes, WMP will attempt to open the file using a set of generic decoders. If WMP still can not open the file, you'll get another prompt asking if you want to check the internet for the proper en/decoders. This will in-turn do a sophisticated search for the proper file type based on the actual file content, not the file extension.

Finally, this is not a mIRC problem, and really shouldn't have been posted in this forum.

Re: Files with no ext. [Re: RusselB] #198364 27/04/08 08:35 AM
Joined: Apr 2008
Posts: 4
K
kingtut Offline OP
Self-satisified door
OP Offline
Self-satisified door
K
Joined: Apr 2008
Posts: 4
This is mirc let me try again. I have mirc 6.31 I log on. I type in !list. I find the trigger I want and type it in. I'm connected to a channel. I type the command dir. I get a list of the file the people have to share. I type the command get with the file and the ext. mirc downloads it no problem. But there are also lots of file listed for dowmload that don't have a file ext listed. If you type the command get and the file name it doesn't work with out a file ext. How could I check a file I haven't been able to download yet. Have you ever download video files with mirc 6.31 before. Thanks

Last edited by kingtut; 27/04/08 08:37 AM.
Re: Files with no ext. [Re: kingtut] #198366 27/04/08 09:43 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
No I haven't because mIRC is meant for chatting, not file sharing, in fact there is this sticky about that.

Further, if the person offering the files doesn't have extensions on them, I'd be very wary about getting them.

The only valid use of a filename without an extension, that I can think of, is that it's not actually a file, but rather a directory or sub-directory name. Usually these do not have extensions, and is, generally speaking, a method of determining the difference between a filename and a directory name.

Re: Files with no ext. [Re: kingtut] #198368 27/04/08 12:09 PM
Joined: Oct 2004
Posts: 8,327
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,327
All you can really do is ask the person who has it. Again, however, mIRC's meant for chatting.


Invision Support
#Invision on irc.irchighway.net
Re: Files with no ext. [Re: kingtut] #198371 27/04/08 02:33 PM
Joined: Dec 2002
Posts: 2,013
R
RoCk Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,013

Have you considered it actually being a directory and not a file? Try cd ozzy & drix and then dir again.

~ Edit ~
Btw, it's a file server (DCC), not a channel.


Re: Files with no ext. [Re: RoCk] #198401 27/04/08 08:19 PM
Joined: Jan 2005
Posts: 187
Brax Offline
Vogon poet
Offline
Vogon poet
Joined: Jan 2005
Posts: 187
(General Reply)

If we leave aside the discussion whether mIRC is or is not a filesharing program the question still stays.

How mIRC actually handles files?

For example $isfile(C:\song) returns $true
but /splay [-p] C:\song returns unable to play 'C:\song'
(C:\song is renamed C:\song.mp3)
PS. just for records the song plays just fine if it has extension so dont blame the broken soundfile blush

I haven't messed around with it that much to tell whether some other functions fail as well with files without extensions.
$read and /play seem to work but /splay was no-go for me at least.


echo -a $signature
Re: Files with no ext. [Re: Brax] #198406 28/04/08 01:12 AM
Joined: Oct 2004
Posts: 8,327
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,327
This was discussed awhile back as well, Brax. Before continuing to read this, keep in mind that I'm writing this from memory and it may not be entirely correct. I'll leave it to argv0 or others to correct any errors. wink Basically, mIRC uses the extension to choose what codec to play the sound file with. Unlike regular media players that will try the codec that matches the extension first, then proceed to try others (or just read the file's header information if there is any), mIRC only uses the extension. I believe this has been suggested before as a feature/improvement to have mIRC work like WMP and other media players. For now, you really need the right extension or you'll probably have trouble playing the file.


Invision Support
#Invision on irc.irchighway.net
Re: Files with no ext. [Re: Riamus2] #198415 28/04/08 03:50 AM
Joined: Dec 2002
Posts: 2,013
R
RoCk Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,013

Why is playing the file even part of the discussion? Unless I really missed something (and I've read over it yet again to make sure), the OP is saying they're having a problem downloading the file from a file server.

Re: Files with no ext. [Re: RoCk] #198416 28/04/08 05:10 AM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Yep the OP is having trouble getting a file from some filesharing fserve on irc, from what I read. Unfortunately there's little we can do in supporting that persons fserve, you'll have to speak with them if you have any problems. We don't condone the violation of any copyright laws through filesharing on IRC, so I for one can't offer much assistance.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Re: Files with no ext. [Re: RoCk] #198417 28/04/08 05:28 AM
Joined: Jan 2005
Posts: 187
Brax Offline
Vogon poet
Offline
Vogon poet
Joined: Jan 2005
Posts: 187
Yes OP had trouble downloading the file without extension.
I just took the "freedom" to broaden the topic a bit.

-
Riamus thanks for that explanation. I admit I didnt do my homework by searcing the forum before posing. blush
I just assumed that /splay will use "right" codec if i specify one of -wmp switches. And thus thought it can't play the sound due the missing file-extension (ie. cant access the file)


echo -a $signature