|
Home > Archive > IIS FTP Server > August 2007 > Windows XP can't FTP text files >65k bytes?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Windows XP can't FTP text files >65k bytes?
|
|
| \A_Michigan_User\ 2006-02-19, 5:50 pm |
| Where would I find this "ftp log"?
I seem to have this same problem in both the BINARY to ASCII send modes.
Seems to also have the problem from a "batch script" or if I type the cmds
"by hand" from the cmd prompt.
Seems to also happen with "mput *.*" or just "put MyBigFile.txt".
Anyone else have this problem?
> Netout :Connection reset by peer
> 426 Connection closed; transfer aborted.
> ftp: 65535 bytes sent in 90.00Seconds 0.73Kbytes/sec.
(The file-size is actually 65,998 bytes)
=====================
Has anyone experienced this problem?
I'm use the FTP command at the command prompt in Windows XP Pro to send some
files to a Windows 2003 server.
These work fine:
Text files under 65k bytes.
Jpeg files under 65k, and over 65k (all sizes).
These files can't be sent:
Text files over 65k bytes.
They just wait forever and then give:
> Netout: Connection reset by peer
(I can drag/drop all files, all sizes from IE6 into the FTP location... so I
know FTP is working ok.
But I need to do this from the command prompt instead.)
Thanks.
==========================
From:Bernard Cheah [MVP] - view profile
Date:Mon, Sep 19 2005 2:42 am
Email: "Bernard Cheah [MVP]" <qbern...@hotmail.com.discuss>
Groups: microsoft.public.inetserver.iis.ftp
Mm... what's the status code in the ftp log file?
I haven't see this before..... and it doesn't make any sense.
--
Regards,
Bernard Cheah
http://www.iis-resources.com/
http://www.iiswebcastseries.com/
http://www.msmvps.com/bernard/
| |
| Chris Crowe [ IIS MVP 1997 -> 2006 ] 2006-02-19, 8:47 pm |
| The log file for the FTP site is contained by default in
c:\windows\system32\logfiles
There will be a folder there with the name of MSFTPSVCx where x is the
instance ID of the ftp site.
The default ftp site has an instance ID of 1, any other site will have a
random number.
This random number can be found by looking at the Log File Path in the FTP
Site.
Open IIS Management Tool
Select the FTP Site
Righ click and select properties
On the FTP site tab click properties
The last line will show the log file name which could be something like
MSFTPSVC669951\exyymmdd.log
I have no problem using the FTP client in XP (sp2) to upload text files of
any size.
Maybe your problem is your link as 0.73KB/s is pretty slow - is this over
dial up? maybe you have a lot of noise on the line and the connection is
dropped.
--
Cheers
Chris Crowe [IIS MVP 1997 -> 2006]
http://blog.crowe.co.nz
------------------------------------------------
""A_Michigan_User"" <Michigan_RE_M0VE@ameritech.net> wrote in message
news:%23$ymclaNGHA.3408@TK2MSFTNGP14.phx.gbl...
> Where would I find this "ftp log"?
>
> I seem to have this same problem in both the BINARY to ASCII send modes.
>
> Seems to also have the problem from a "batch script" or if I type the cmds
> "by hand" from the cmd prompt.
>
> Seems to also happen with "mput *.*" or just "put MyBigFile.txt".
>
> Anyone else have this problem?
>
>
> (The file-size is actually 65,998 bytes)
>
> =====================
> Has anyone experienced this problem?
>
> I'm use the FTP command at the command prompt in Windows XP Pro to send
> some
> files to a Windows 2003 server.
>
> These work fine:
> Text files under 65k bytes.
> Jpeg files under 65k, and over 65k (all sizes).
>
> These files can't be sent:
> Text files over 65k bytes.
>
> They just wait forever and then give:
>
> (I can drag/drop all files, all sizes from IE6 into the FTP location... so
> I
> know FTP is working ok.
> But I need to do this from the command prompt instead.)
>
> Thanks.
>
> ==========================
>
> From:Bernard Cheah [MVP] - view profile
> Date:Mon, Sep 19 2005 2:42 am
> Email: "Bernard Cheah [MVP]" <qbern...@hotmail.com.discuss>
> Groups: microsoft.public.inetserver.iis.ftp
>
> Mm... what's the status code in the ftp log file?
> I haven't see this before..... and it doesn't make any sense.
>
> --
> Regards,
> Bernard Cheah
> http://www.iis-resources.com/
> http://www.iiswebcastseries.com/
> http://www.msmvps.com/bernard/
>
>
>
>
>
| |
| \A_Michigan_User\ 2006-02-20, 2:48 am |
|
It's a DSL connection. That "slow speed" was because I just wait forever...
and it never completes.
All smaller text files (64k) upload ok... and at good speeds.
Non text files (like jpegs) upload ok... and at good speeds... even if they
are 65k, 200k, 500k, anything.
The problem is only text-files... and only 65k or larger. (I'm running XP
Pro. SP2. 100% of the latest updates.)
(FTP is version 5.1.2600.2180)
I'm stumped. I'll see what the log says.
Thanks.
"Chris Crowe [ IIS MVP 1997 -> 2006 ]" <iismvp2005@iisfaq.homeip.net> wrote
in message news:uDaj8rbNGHA.1488@TK2MSFTNGP14.phx.gbl...
> The log file for the FTP site is contained by default in
>
> c:\windows\system32\logfiles
>
> There will be a folder there with the name of MSFTPSVCx where x is the
> instance ID of the ftp site.
>
> The default ftp site has an instance ID of 1, any other site will have a
> random number.
>
> This random number can be found by looking at the Log File Path in the FTP
> Site.
>
> Open IIS Management Tool
> Select the FTP Site
> Righ click and select properties
> On the FTP site tab click properties
> The last line will show the log file name which could be something like
> MSFTPSVC669951\exyymmdd.log
>
> I have no problem using the FTP client in XP (sp2) to upload text files of
> any size.
>
> Maybe your problem is your link as 0.73KB/s is pretty slow - is this over
> dial up? maybe you have a lot of noise on the line and the connection is
> dropped.
>
> --
>
>
> Cheers
>
> Chris Crowe [IIS MVP 1997 -> 2006]
> http://blog.crowe.co.nz
> ------------------------------------------------
>
> ""A_Michigan_User"" <Michigan_RE_M0VE@ameritech.net> wrote in message
> news:%23$ymclaNGHA.3408@TK2MSFTNGP14.phx.gbl...
>
>
| |
| \A_Michigan_User\ 2006-02-20, 2:48 am |
| I can find the logFiles dir... but I'm not seeing anything related to FTP in
my IIS Management tool.
My local (from) machine doesn't do anything with an FTP folder.
The remote (to) machine is at a web-hosting company where we rent web space.
I'm just sending some files from my local c:\folder with FTP.exe at the cmd
prompt.... to their remote server.
These FTP "logs" are on my local machine... or the distant, remote machine?
Thanks
"Chris Crowe [ IIS MVP 1997 -> 2006 ]" <iismvp2005@iisfaq.homeip.net> wrote
in message news:uDaj8rbNGHA.1488@TK2MSFTNGP14.phx.gbl...
> The log file for the FTP site is contained by default in
>
> c:\windows\system32\logfiles
>
> There will be a folder there with the name of MSFTPSVCx where x is the
> instance ID of the ftp site.
>
> The default ftp site has an instance ID of 1, any other site will have a
> random number.
>
> This random number can be found by looking at the Log File Path in the FTP
> Site.
>
> Open IIS Management Tool
> Select the FTP Site
> Righ click and select properties
> On the FTP site tab click properties
> The last line will show the log file name which could be something like
> MSFTPSVC669951\exyymmdd.log
>
> I have no problem using the FTP client in XP (sp2) to upload text files of
> any size.
>
> Maybe your problem is your link as 0.73KB/s is pretty slow - is this over
> dial up? maybe you have a lot of noise on the line and the connection is
> dropped.
>
> --
>
>
> Cheers
>
> Chris Crowe [IIS MVP 1997 -> 2006]
> http://blog.crowe.co.nz
> ------------------------------------------------
>
> ""A_Michigan_User"" <Michigan_RE_M0VE@ameritech.net> wrote in message
> news:%23$ymclaNGHA.3408@TK2MSFTNGP14.phx.gbl...
>
>
| |
| Chris Crowe [MVP 1997 -> 2006] 2006-02-20, 7:48 am |
| So you are connecting to a remote FTP server? Yes the logs are at the
location where the FTP Server is.
Can you upload TEXT files to another FTP server? Maybe it is a configuration
that the remote FTP server has in place or a bug.
Is it a Microsoft FTP server that you are connecting to?
If you contact me off line I can setup a FTP site that you can log into and
test uploads....
I really do not think that your FTP client has the issue. Have you used
another client? a very good one is available from www.smartftp.com
--
Cheers
Chris Crowe [IIS MVP 1997 -> 2006]
http://blog.crowe.co.nz
------------------------------------------------
""A_Michigan_User"" <Michigan_RE_M0VE@ameritech.net> wrote in message
news:e2YYzrdNGHA.2604@TK2MSFTNGP09.phx.gbl...
>I can find the logFiles dir... but I'm not seeing anything related to FTP
>in my IIS Management tool.
>
> My local (from) machine doesn't do anything with an FTP folder.
>
> The remote (to) machine is at a web-hosting company where we rent web
> space.
>
> I'm just sending some files from my local c:\folder with FTP.exe at the
> cmd prompt.... to their remote server.
>
> These FTP "logs" are on my local machine... or the distant, remote
> machine?
>
> Thanks
>
>
> "Chris Crowe [ IIS MVP 1997 -> 2006 ]" <iismvp2005@iisfaq.homeip.net>
> wrote in message news:uDaj8rbNGHA.1488@TK2MSFTNGP14.phx.gbl...
>
>
| |
| Bernard Cheah [MVP] 2006-02-23, 7:53 am |
| Just text file > 65k ?
<<
Text files under 65k bytes.
Jpeg files under 65k, and over 65k (all sizes).
doesn't make any sense... did you specify the correct transfer mode?
any real time virus scanning? can you try ftp locally in the machine.
find a text file with size > 65k, make a zip copy. locally try to ftp
download
the 2 files. both ok?
then try upload both files to new folder... works?
--
Regards,
Bernard Cheah
http://www.iis-resources.com/
http://www.iiswebcastseries.com/
http://msmvps.com/blogs/bernard/
""A_Michigan_User"" <Michigan_RE_M0VE@ameritech.net> wrote in message
news:%23$ymclaNGHA.3408@TK2MSFTNGP14.phx.gbl...[vbcol=seagreen]
> Where would I find this "ftp log"?
>
> I seem to have this same problem in both the BINARY to ASCII send modes.
>
> Seems to also have the problem from a "batch script" or if I type the cmds
> "by hand" from the cmd prompt.
>
> Seems to also happen with "mput *.*" or just "put MyBigFile.txt".
>
> Anyone else have this problem?
>
>
> (The file-size is actually 65,998 bytes)
>
> =====================
> Has anyone experienced this problem?
>
> I'm use the FTP command at the command prompt in Windows XP Pro to send
> some
> files to a Windows 2003 server.
>
> These work fine:
> Text files under 65k bytes.
> Jpeg files under 65k, and over 65k (all sizes).
>
> These files can't be sent:
> Text files over 65k bytes.
>
> They just wait forever and then give:
>
> (I can drag/drop all files, all sizes from IE6 into the FTP location... so
> I
> know FTP is working ok.
> But I need to do this from the command prompt instead.)
>
> Thanks.
>
> ==========================
>
> From:Bernard Cheah [MVP] - view profile
> Date:Mon, Sep 19 2005 2:42 am
> Email: "Bernard Cheah [MVP]" <qbern...@hotmail.com.discuss>
> Groups: microsoft.public.inetserver.iis.ftp
>
> Mm... what's the status code in the ftp log file?
> I haven't see this before..... and it doesn't make any sense.
>
> --
> Regards,
> Bernard Cheah
> http://www.iis-resources.com/
> http://www.iiswebcastseries.com/
> http://www.msmvps.com/bernard/
>
>
>
>
>
| |
| \A_Michigan_User\ 2006-04-27, 7:53 am |
| > So you are connecting to a remote FTP server? Yes the logs are at the
> location where the FTP Server is.
Then I don't have access to them. :-(
> Can you upload TEXT files to another FTP server? Maybe it is a
> configuration that the remote FTP server has in place or a bug.
I don't really have too many sites to experiment with. Same problem exists
at 2 different remote
web hosting companies.
> Is it a Microsoft FTP server that you are connecting to?
The hosting company runs Window 2003 Server.
> If you contact me off line I can setup a FTP site that you can log into
> and test uploads....
That would be great.
> I really do not think that your FTP client has the issue. Have you used
> another client? a very good one is available from www.smartftp.com
I need to run this from a script-file... NOT a "graphic interface" type
tool.
>
>
| |
| \A_Michigan_User\ 2006-04-27, 7:53 am |
| > doesn't make any sense... did you specify the correct transfer mode?
I use BINARY mode because I'm uploading both text and jpg files with the
same,
single MPUT *.* cmd.
> any real time virus scanning?
I use Norton. But it would be odd that it works fine with a 64k file... but
never works with a 65k.
I assume Norton is either scanning (or skip) both size files.
(I just tried upload while Norton was turned off.... same problem.)
> can you try ftp locally in the machine.
I only have 1 XP Pro Machine for "sending".
And 2 (remote) web hosting companies for receiving files. (Both are using
Windows 2003 Server.)
> find a text file with size > 65k, make a zip copy.
Any size zip file... 4k, 40k, 400k all upload fine.
> download the 2 files. both ok?
I've never had any downloading problems... with either type of files... of
any sizes.
> then try upload both files to new folder... works?
Same problem uploading large text files... regardless of the upload folder
on the remote machine.
======================
Wow... it's getting even stranger. Seems like the upload hangs very close
to the text files that have a size
of 65k.
64k is ok
78k is ok.
66k hangs.
Can someone create some files that are 64k, 65k, 66k, 67k and see if they
can upload them all from a command script
using a single MPUT *.* cmd (in the binary mode)? Thanks.
>
> --
> Regards,
> Bernard Cheah
> http://www.iis-resources.com/
> http://www.iiswebcastseries.com/
> http://msmvps.com/blogs/bernard/
>
>
> ""A_Michigan_User"" <Michigan_RE_M0VE@ameritech.net> wrote in message
> news:%23$ymclaNGHA.3408@TK2MSFTNGP14.phx.gbl...
>
>
| |
| \A_Michigan_User\ 2006-04-27, 7:53 am |
| Chris,
It gets even stranger. I made some text files of various sizes and then
tried to MPUT *.* them all:
65,404 (uploads ok)
66,776 (hangs)
65,796 (hangs)
68,246 (uploads ok)
I'm not sure exactly where the "success/fail" size ranges.... but that is
VERY strange.
> If you contact me off line I can setup a FTP site that you can log into
> and test uploads....
>
> I really do not think that your FTP client has the issue. Have you used
> another client? a very good one is available from www.smartftp.com
>
>
> --
>
> Cheers
>
> Chris Crowe [IIS MVP 1997 -> 2006]
> http://blog.crowe.co.nz
> ------------------------------------------------
>
>
> ""A_Michigan_User"" <Michigan_RE_M0VE@ameritech.net> wrote in message
> news:e2YYzrdNGHA.2604@TK2MSFTNGP09.phx.gbl...
>
>
| |
| Bernard Cheah [MVP] 2006-04-27, 7:53 am |
| I kinda lost in the thread. Anyway can you test
- use ftp.exe to upload
- try from another machine
any realtime monitoring tool on the IIS server end ?
proxy? antivirus? ids?
--
Regards,
Bernard Cheah
http://www.iis-resources.com/
http://www.iiswebcastseries.com/
http://msmvps.com/blogs/bernard/
""A_Michigan_User"" <Michigan_RE_M0VE@ameritech.net> wrote in message
news:ufnxOk3XGHA.4432@TK2MSFTNGP04.phx.gbl...
> Chris,
>
> It gets even stranger. I made some text files of various sizes and then
> tried to MPUT *.* them all:
>
> 65,404 (uploads ok)
> 66,776 (hangs)
> 65,796 (hangs)
> 68,246 (uploads ok)
>
> I'm not sure exactly where the "success/fail" size ranges.... but that is
> VERY strange.
>
>
>
| |
| \A_Michigan_User\ 2006-04-27, 7:53 am |
| I only have 1 Windows 2000 machine to "send from".
I'm using the stock Windows 2000 ftp.exe cmd.
(I have the same problem with or without Norton anti-virus running.)
And 1 web hosting company to "send to".
(I have no idea what kinds of antivirus or other software they are running
on their end.)
I can't imagine what would cause *ONLY* that very small range of file-sizes
to fail.
(And smaller... or larger... files send ok.)
"Bernard Cheah [MVP]" <qbernard@hotmail.com.discuss> wrote in message
news:eI9grl4XGHA.3868@TK2MSFTNGP04.phx.gbl...
>I kinda lost in the thread. Anyway can you test
> - use ftp.exe to upload
> - try from another machine
>
> any realtime monitoring tool on the IIS server end ?
> proxy? antivirus? ids?
>
> --
> Regards,
> Bernard Cheah
> http://www.iis-resources.com/
> http://www.iiswebcastseries.com/
> http://msmvps.com/blogs/bernard/
>
>
> ""A_Michigan_User"" <Michigan_RE_M0VE@ameritech.net> wrote in message
> news:ufnxOk3XGHA.4432@TK2MSFTNGP04.phx.gbl...
>
>
| |
| Bernard Cheah [MVP] 2006-04-27, 7:53 am |
| Well, that's what we are trying to figure out. As I personnaly I have not
seen such werid behavior with ftp server.
Can you try to ftp to another ftp server to see if you have such issue?
if no, then we should look at the server end then.
--
Regards,
Bernard Cheah
http://www.iis-resources.com/
http://www.iiswebcastseries.com/
http://msmvps.com/blogs/bernard/
""A_Michigan_User"" <Michigan_RE_M0VE@ameritech.net> wrote in message
news:ecaGHjKYGHA.5004@TK2MSFTNGP02.phx.gbl...
>I only have 1 Windows 2000 machine to "send from".
> I'm using the stock Windows 2000 ftp.exe cmd.
> (I have the same problem with or without Norton anti-virus running.)
>
> And 1 web hosting company to "send to".
> (I have no idea what kinds of antivirus or other software they are running
> on their end.)
>
> I can't imagine what would cause *ONLY* that very small range of
> file-sizes to fail.
> (And smaller... or larger... files send ok.)
>
> "Bernard Cheah [MVP]" <qbernard@hotmail.com.discuss> wrote in message
> news:eI9grl4XGHA.3868@TK2MSFTNGP04.phx.gbl...
>
>
| |
| Jerry Serman 2006-05-03, 7:15 pm |
| I was ftp'ing from my Windows XP laptop to an AIX UNIX server and kept
getting these same "Connection reset by peer" messages.
Turned out I was using a wireless shared 11MB connection to transfer a
1gb file, and this was my problem.
Once I switched to an unshared 100MB network connection, my transfer
completed.
Hope this helps resolve your problem also.
Good Luck,
Jerry
*** Sent via Developersdex http://www.codecomments.com ***
| |
| Bernard Cheah [MVP] 2006-05-25, 1:23 am |
| Mmm.......
--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/
"Jerry Serman" <jerry.serman@ssaglobal.com> wrote in message
news:ei1ItBvbGHA.2404@TK2MSFTNGP03.phx.gbl...
>I was ftp'ing from my Windows XP laptop to an AIX UNIX server and kept
> getting these same "Connection reset by peer" messages.
> Turned out I was using a wireless shared 11MB connection to transfer a
> 1gb file, and this was my problem.
> Once I switched to an unshared 100MB network connection, my transfer
> completed.
> Hope this helps resolve your problem also.
>
> Good Luck,
>
> Jerry
>
>
>
>
> *** Sent via Developersdex http://www.codecomments.com ***
| |
| annikka wcw 2006-09-28, 1:20 pm |
| Hi,
The reason that you got the message Netout : connection reset by peer
is because that your window buffer is full. This happens when you have
either a slow network connection or your server is retrieving the
packets at a slower speed than the Window FTP. I think the Window
allocates a default of 2^16 byte for buffer. Therefore, all you have to
do to solve this problem is to increase the window/buffer size using the
command -w:windowsize. You can type in ftp -help in your window command
, it will show you with a more detailed description. Double or Triple
your default window size should fix the problem, at least it does for
me. I hope this helps.
P.S.The error message is extremely misleading. In case, anyone of you
out there knows someone in Microsoft who worked on this program. Please
tell them to come up with more decent message....
*** Sent via Developersdex http://www.codecomments.com ***
| |
| Erik Roll 2007-08-15, 1:22 pm |
|
Annikka, just wanted to say thank you, this has been puzzling the heck
out of me for some time now, and after tripling the buffersize, it
worked. Only was happening for one specific ftp site, and only on files
over a specific size.
Thanks again.
*** Sent via Developersdex http://www.codecomments.com ***
| |
| Syed Ahmad Najmi Syed Md Nasir 2007-08-16, 1:22 am |
|
Hi Annika
Just read your solution given. How do i know the existing windows/buffer
size ?
Is there a command?
Thanks
*** Sent via Developersdex http://www.codecomments.com ***
| |
| Bernard Cheah [MVP] 2007-08-16, 7:19 am |
| I dig the thread, the buffer size is at ftp.exe level, try ftp -help and
set -w:buffersize.
Again, base on the thread posts this is to deal with slow connection.
--
Regards,
Bernard Cheah
http://www.iis.net/
http://msmvps.com/blogs/bernard/
"Syed Ahmad Najmi Syed Md Nasir" <najmi@centurysoftware.com.my> wrote in
message news:%231flSG73HHA.4476@TK2MSFTNGP06.phx.gbl...
>
>
> Hi Annika
>
> Just read your solution given. How do i know the existing windows/buffer
> size ?
>
> Is there a command?
>
> Thanks
>
> *** Sent via Developersdex http://www.codecomments.com ***
|
|
|
|
|