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.
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.
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:498482008-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.CallbackException: System.NullReferenceExceptionMessage: 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)
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com