Re: Copying Files Problems



I am somewhat underimpressed with the quality of
your reporting. Posters should do their basic homework
before posting instead of leading respondents on a merry
goose chase. On the other hand I appreciate you being
frank about your mistake.


"G. Harland" <glenn(_no_spam_)harland@xxxxxxxxxxx> wrote in message
news:0DA33B5D-EF06-4130-AE04-7C42EEA9595B@xxxxxxxxxxxxxxxx
It turns out some of my assumptions were wrong.

I can copy large files between the pc and laptop through windows explorer.
What I cannot do is copy one file in particular - the access database
stats.mdb.

I can copy a copy of it ("copy of stats.mdb") back and forth.

So my problem is not what it seems. I have a pair of web services that
use
this database. My guess is that one of them is not releasing the
connection
properly. Thanks for all of your help. I'll move on to a different group
for that problem!

Glenn


"Pegasus (MVP)" wrote:

Working late?

Let's summarise your situation:
a) You can copy files to drive M: if they are smaller than 1 MByte.
b) You cannot copy files to drive M: if they are larger than 1 MByte.
c) You cannot use fsutil.exe to create any size file on drive M:.

I have never come across a case like this before, hence everything
that follows is pure guesswork. Here is what I would do from a
Command Prompt:
1. Log on as administrator.
2. Use fsutil.exe to create two files: C:\small.bin (500 kBytes) and
c:\large.bin (1.5 MBytes).
3. Use the copy command to copy small.bin and large.bin to M:\.
4. Create a new share that points at the same folder as your
current drive M:. Map it to drive N:, then repeat Step 3.
5. Type these commands:
md N:\Test
cacls N:\Test /e /t /g everyone:F
xcopy c:\*.bin N:\Test\
6. Check if you have some disk quotas.

Perhaps one of the above steps will give you a clue to what's
behind all this.

"G. Harland" <glenn(_no_spam_)harland@xxxxxxxxxxx> wrote in message
news:D89C69E8-E801-4573-AF4D-CD7017A478D5@xxxxxxxxxxxxxxxx
Sorry, the previous one was wrong.

Volume in drive M has no label.
Volume Serial Number is F0C6-C805

Directory of m:\

11/14/2006 08:51 PM <DIR> .
11/14/2006 08:51 PM <DIR> ..
06/14/2005 07:07 PM 34 download.bat
08/19/2005 09:40 PM 193 download.old
09/20/2006 12:11 PM 155 download.txt
11/03/2006 06:52 PM 1,032,192 fantasy_queries.mdb
07/02/2006 12:52 PM <DIR> realtime
11/14/2006 12:13 AM 1,613,824 stats.mdb
11/14/2006 08:51 PM 689 test.txt
6 File(s) 2,647,087 bytes
3 Dir(s) 77,315,510,272 bytes free
glenn
Overwrite m:\test.txt? (Yes/No/All): 1 file(s) copied.
Error: Access is denied.


m:\ Everyone:(OI)(CI)C
Everyone:(OI)(CI)C
<Account Domain not found>F
<Account Domain not found>(OI)(CI)(IO)F
NT AUTHORITY\SYSTEM:F
NT AUTHORITY\SYSTEM:(OI)(CI)(IO)F
BUILTIN\Administrators:F
BUILTIN\Administrators:(OI)(CI)(IO)F



"G. Harland" wrote:

Here it is:

Volume in drive M has no label.
Volume Serial Number is F0C6-C805

Directory of m:\

11/14/2006 04:56 PM <DIR> .
11/14/2006 04:56 PM <DIR> ..
06/14/2005 07:07 PM 34 download.bat
08/19/2005 09:40 PM 193 download.old
09/20/2006 12:11 PM 155 download.txt
11/03/2006 06:52 PM 1,032,192 fantasy_queries.mdb
07/02/2006 12:52 PM <DIR> realtime
11/14/2006 12:13 AM 1,613,824 stats.mdb
5 File(s) 2,646,398 bytes
3 Dir(s) 77,315,743,744 bytes free
glenn
1 file(s) copied.
File c:\test.bin is created

m:\ Everyone:(OI)(CI)C
Everyone:(OI)(CI)C
<Account Domain not found>F
<Account Domain not found>(OI)(CI)(IO)F
NT AUTHORITY\SYSTEM:F
NT AUTHORITY\SYSTEM:(OI)(CI)(IO)F
BUILTIN\Administrators:F
BUILTIN\Administrators:(OI)(CI)(IO)F



"Pegasus (MVP)" wrote:

Time to perform some formal tests. Please do this ***verbatim***:
1. Click Start / Run / cmd {OK}
2. Type these commands. I assume that X: is your mapped
drive. Use whatever letter applies in your case.
dir X:\ > c:\test.txt {Enter}
echo %UserName% 1>> c:\test.txt 2>>&1 {Enter}
copy c:\test.txt X:\ 1>> c:\test.txt 2>>&1 {Enter}
fsutil file createnew x:\test.bin 1000 1>> c:\test.txt 2>>&1
{Enter}
cacls x:\ 1>> c:\test.txt 2>>&1 {Enter}
notepad c:\test.txt {Enter}
3. Paste the text into your response.

"G. Harland" <glenn(_no_spam_)harland@xxxxxxxxxxx> wrote in
message
news:3A22F563-9F69-49BF-A1DD-58ADD35808DA@xxxxxxxxxxxxxxxx
Let me recap what is going on:

1. If I use Windows Explorer, I can transfer files less than 1
MB in
size
back and forth between shared folders on my laptop and PC.

2. If I use Windows Explorer, I cannot transfer any files larger
than 1 MB
in size back and forth between shared folders on my laptop and
PC.

3. Using the fsutil command, I was able to create the 2 MB and
20 MB
files
on my laptop's C:\ drive. Using the same commands, except
changing
the
target drive to a mapped drive on my PC, I could not create the
files,
getting the "Access is denied" error. I dropped the size way
down,
to 10
KB,
and still got the error.

4. I can copy files from a CD or flash drive that are larger
than 1
MB and
write them to my laptop and/or PC.

So I don't think it's about permissions. The fact I can write
smaller
files
seems to eliminate that. What I am wondering is if the Norton
Internet
Security 2007 has some rule in it that doesn't allow writing of
files
larger
than 1 MB. But even if I turn off the firewall, I still cannot
transfer
the
larger files.

Now, that leaves the possiblity it may be something set up
inside my
home
network. I have a Belkin wireless router/hub. The PC is wired
into
the
router, the laptop is wireless. I have a third PC that is wired
into the
router, but doesn't currently have any shared folders. I should
probably
see
if I can transfer files to/from the third PC. At this point, I
don't have
any better ideas.

"Pegasus (MVP)" wrote:

This is getting a little confusing. You write "I get 'Access
is denied'. Even if I try to write a really small file, like
10
KB."

You also write "I am limited to transferring files no larger
than
1 MB between my pc and laptop via the home network."

Now is this a ***size*** issue or a ***permissions*** issue?


"G. Harland" <glenn(_no_spam_)harland@xxxxxxxxxxx> wrote in
message
news:32EE49B0-5B6C-4F9D-B275-D915F34791D0@xxxxxxxxxxxxxxxx
That's what I thought.

I can write the files on my laptop's c:\ drive.

If I try to run the same command to write to my m:\ drive
(mapped to
my
pc),
I get "Access is denied". Even if I try to write a really
small
file,
like
10 KB.

Any other ideas? I cannot believe I am limited to
transferring
files
no
larger than 1 MB between my pc and laptop via the home
network.

"Pegasus (MVP)" wrote:

The command I gave you will simply create two files: One
of 2 MBytes and one of 20 MBytes. Best to run the command
on the target computer.

"G. Harland" <glenn(_no_spam_)harland@xxxxxxxxxxx> wrote
in
message
news:616DB438-93AE-4E96-81F4-8793DE32AEC4@xxxxxxxxxxxxxxxx
Before I try this, I don't know if I was clear on this,
but
the
source
directory is on one computer and the target is on
another.

The file is on my pc and I want to copy it to my laptop.
The
source
is
mapped to my M:\ drive.

Will the steps you mentioned still be applicable?

"Pegasus (MVP)" wrote:

Fine, let's test this in more detail. Do this:
- Click Start / Run / cmd {OK}
- Type these commands:
fsutil file createnew d:\big1.bin 2000000 {OK}
fsutil file createnew d:\big2.bin 20000000 {OK}
dir d:\big*.bin

I assumed that d:\was your target drive letter.
What responses do you see?

Remember to delete big*.bin if the commands worked!


"G. Harland" <glenn(_no_spam_)harland@xxxxxxxxxxx>
wrote
in
message

news:46414D9E-9979-45A3-B10D-C71D923CFECE@xxxxxxxxxxxxxxxx
Error Copying File or Folder
Cannot copy <file>: Access is denied.

Make sure the disk is not full or write-protected
and
that the
file is
not
currently in use.


---------------------------------------------------------------
I can copy files smaller than 1 MB from the source
directory
to
the
target
directory, and I have 30+ GB of free space on both
the
source
and
target.

"Pegasus (MVP)" wrote:


"G. Harland" <glenn(_no_spam_)harland@xxxxxxxxxxx>
wrote in
message

news:D844B58B-D59C-41A6-A096-25C67A928305@xxxxxxxxxxxxxxxx
I installed Norton Internet Security 2007 and
now I
cannot
copy
files
that
are larger than 1 MB from one pc to another. I
contacted
Symantec
technical
support and after disabling Personal Firewall, I
was
still
not
able to
copy
the file. They suggested that I contact
Microsoft
support.

Any ideas out there? I can copy files smaller
than
1 MB.
It's
not
file
name based, as I can rename the original file,
then
create
a
new
file
with
the old name, and copy a smaller version of it.

Thanks,
Glenn Harland

A good starting point would be to report exactly
what


.



Relevant Pages

  • Re: Need help with batch files!
    ... "Pegasus (MVP)" wrote: ... You cannot have wildcards in the path component of a copy command. ...
    (microsoft.public.windows.server.general)
  • Re: Need help with batch files!
    ... "Pegasus (MVP)" wrote: ... You cannot have wildcards in the path component of a copy command. ...
    (microsoft.public.windows.server.general)
  • Re: Sharing and Security on File Share
    ... from AD to enure I didn't have a typo in the command line you requested. ... "Pegasus (MVP)" wrote: ... net user rogene>> c:\test.txt ...
    (microsoft.public.windows.file_system)
  • Re: file sharing only works for some files, not all
    ... Pegasus (MVP) wrote: ... indicate that permissions are used with domains...which is why I can't ... If you now open another Command Prompt and type this ...
    (microsoft.public.windowsxp.general)
  • Re: Copying Files Problems
    ... Use the copy command to copy small.bin and large.bin to M:\. ... "Pegasus (MVP)" wrote: ... of 2 MBytes and one of 20 MBytes. ...
    (microsoft.public.windowsxp.general)

Loading