Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

files won't transfer properly through FTP

Status
Not open for further replies.

gib999

Programmer
May 18, 2005
20
0
0
CA
Hi,

I have an FTP service running through IIS 6.0 on my Windows Server 2003 Web Edition server in my office network. I finally got the FTP service to connect to remote computers, and file uploading and downloading seems to work. There's just one problem: once any file is uploaded, it's contents are empty. It's size reads 0 KB and when I open it (on the server) there's nothing there. TXT files show no text, JPG files show "no preview", HTML files display nothing, etc.

Incidentally, I discovered that some of the more complex files sometimes upload partially, like a Word or Excel file, and report an error in the middle of the transfer. Here's a snippet from the log file when I tried to transfer a Word document:

[3,6/23/2005 9:44:38 AM,0]REST 1024
[3,6/23/2005 9:44:38 AM,0]350 Restarting at 1024.
[3,6/23/2005 9:44:38 AM,1]This server supports restarts OK.
[3,6/23/2005 9:44:38 AM,1] -- Resuming of interrupted transfers enabled.
[3,6/23/2005 9:44:38 AM,1] -- Multipart downloads enabled.
[3,6/23/2005 9:44:38 AM,1]Sending another "REST" command to set the restart marker back to 0.
[3,6/23/2005 9:44:38 AM,0]REST 0
[3,6/23/2005 9:44:38 AM,0]350 Restarting at 0.
[3,6/23/2005 9:44:38 AM,1]Finished checking for "REST" command support.
[3,6/23/2005 9:44:38 AM,0]TYPE I
[3,6/23/2005 9:44:38 AM,0]200 Type set to I.
[3,6/23/2005 9:44:38 AM,0]PORT 192,168,1,105,6,50
[3,6/23/2005 9:44:38 AM,0]200 PORT command successful.
[3,6/23/2005 9:44:38 AM,0]STOR Cryptext Manual.doc
[3,6/23/2005 9:44:38 AM,0]150 Opening BINARY mode data connection for Cryptext Manual.doc.
[3,6/23/2005 9:44:38 AM,0]426 Connection closed; transfer aborted.
[3,6/23/2005 9:44:38 AM,0]# transferred 76288 bytes in 0.160 seconds, 3719.644 Kbps ( 464.955 Kbps), transfer failed.
[3,6/23/2005 9:44:38 AM,0]TYPE I
[3,6/23/2005 9:44:38 AM,0]200 Type set to I.
[3,6/23/2005 9:44:38 AM,0]PORT 192,168,1,105,6,51
[3,6/23/2005 9:44:38 AM,0]200 PORT command successful.
[3,6/23/2005 9:44:38 AM,0]REST 76288
[3,6/23/2005 9:44:38 AM,0]350 Restarting at 76288.
[3,6/23/2005 9:44:38 AM,0]STOR Cryptext Manual.doc
[3,6/23/2005 9:44:38 AM,0]550 Cryptext Manual.doc: The data is invalid.
[-1,6/23/2005 9:44:38 AM,4]Transfer request completed with status: Failed, 1 SubItem(s) failed

Anybody know what the problem is?
 
Do the users have permissions to the location on the file system that the files are being uploaded to?

Matt J.

Please always take the time to backup any and all data before performing any actions suggested for ANY problem, regardless of how minor a change it might seem. Also test the backup to make sure it is intact.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top