FTP Server slow and files corrupt

rated by 0 users
Not Answered This post has 0 verified answers | 2 Replies | 2 Followers

Not Ranked
5 Posts
Points 70
Gene Vangampelaere posted on Wed, Feb 20 2008 10:35 AM

I'm testing the FTP Server but it is very slow (uploading a file of 100K takes more than 1 minute!) and the files are corrupt.

I'm logged in with an admin user. After the FTP upload I can see the file in CS but it show 0kb and I'm unable to download it. I also can not see the file on disk. What am I doing wrong here?

I've set the enableFileSystemStorage=True and enableDataStoreStorage=False.


All Replies

Top 10 Contributor
5,231 Posts
Points 48,145
CS Developers

Do you have any log files from the FTP Server?

Also, you set enableFileSystemStorage, but did you set the fileSystemStorageLocation?  It needs to be set to the full physical path of the folder within your CS website.  It can't take "~/photos/storage" and know what the ~ is supposed to represent, since it has no way for IIS to tell it.

  • | Post Points: 20
Not Ranked
5 Posts
Points 70

I get the following error:

I've set the fileSystemStorageLocation parameter to a folder on the webservice (full path) with write permissions.

2008-02-25 08:46:43,147 [3708] INFO  [ - C6 : Client connected: 172.20.10.5:49848
2008-02-25 08:46:43,147 [3708] DEBUG [ - write.6.: .220 169.254.244.154 Welcome to Community Server :: FTP Server v3.1.21011.
2008-02-25 08:46:43,147 [3708] DEBUG [ - aread.6.: .USER admin.
2008-02-25 08:46:43,147 [1044] DEBUG [ - write.6.: .331 Password required for admin..
2008-02-25 08:46:43,147 [1044] DEBUG [ - sread.6.: .PASS ******.
2008-02-25 08:46:43,147 [1044] DEBUG [ - write.6.: .230 Login successful..
2008-02-25 08:46:43,162 [3708] DEBUG [ - aread.6.: .CWD /files/Personeel/administratie/.
2008-02-25 08:46:43,162 [1044] DEBUG [ - write.6.: .250 Successful.  Working directory: /files/Personeel/administratie/.
2008-02-25 08:46:43,162 [3708] DEBUG [ - aread.6.: .PWD.
2008-02-25 08:46:43,162 [1044] DEBUG [ - write.6.: .257 "/files/Personeel/administratie/".
2008-02-25 08:46:43,162 [3708] DEBUG [ - aread.6.: .TYPE I.
2008-02-25 08:46:43,162 [1044] DEBUG [ - write.6.: .200 Type set to Image.
2008-02-25 08:46:43,178 [3708] DEBUG [ - aread.6.: .PORT 172,20,10,5,194,185.
2008-02-25 08:46:43,178 [1044] DEBUG [ - write.6.: .200 Port command okay 172.20.10.5:49849.
2008-02-25 08:46:43,178 [3708] DEBUG [ - aread.6.: .LIST.
2008-02-25 08:46:43,178 [1044] DEBUG [ - write.6.: .150 Opening data connection.
2008-02-25 08:46:43,178 [1044] DEBUG [ - write.6.: .226 Listing completed.
2008-02-25 08:46:43,365 [3708] DEBUG [ - aread.6.: .PORT 172,20,10,5,194,186.
2008-02-25 08:46:43,365 [1044] DEBUG [ - write.6.: .200 Port command okay 172.20.10.5:49850.
2008-02-25 08:46:43,381 [3708] DEBUG [ - aread.6.: .STOR readme.rtf.
2008-02-25 08:46:43,381 [1044] DEBUG [ - write.6.: .150 Opening data connection.
2008-02-25 08:46:44,756 [1044] ERROR [ - Exception occurred in Transfers.Callback
Exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: CommunityServer.Files
   at CommunityServer.Files.Components.Entries.Create(Int32 galleryID, Entry entry, Guid postAttachmentID)
   at CommunityServer.FtpServer.Components.FileGalleryApplicationProvider.CreateFile(FtpDirectory directory, PostAttachment file)
   at CommunityServer.FtpServer.Components.Transfers.Receive()
   at CommunityServer.FtpServer.Components.Transfers.Callback(Object state)

  • | Post Points: 5
Page 1 of 1 (3 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com