Thank you so much Chris for quick update. Please accept this as enhancement request if possible, so we can use this mockFtpServer for FTPS as well. It will be so great if you can provide this feature if possible.
Unfortunately, MockFtpServer does not support FTPS. I assume it is technically possible, but I don't think we ever went too far down the path of determining what would be required. Just implementing that missing "AUTH" FTP command might be pretty straightforward, but I expect the requirements go much deeper than that.
Hi All, I need to write functional test cases for FTPS server. I raised one issue on below link but no one responded yet. Could you please suggest, Is that possible to use "mockftpserver" for FTPS functional test cases? https://stackoverflow.com/questions/57359102/how-to-create-ftps-mock-server-for-unit-test-in-java-getting-error-javax-ne If yes, then can you please suggest, why i am getting error "javax.net.ssl.SSLException: 502 Command not implemented: AUTH". Details can be find in above link....
Yeah, the only way I see so far is to subclass DefaultSession and override sendReply()....
The responses returned by a Stub Command handler can be quite easily modified, and...
Fixed in MockFtpServer v2.7.1
LIST command handler sends unexpected 150 response for permissions error
Fixed in MockFtpServer v2.7.1
v2.7.1
v2.7.1
Bug #29: LIST command handler sends unexpected ...
I opened: Bug #29: LIST command handler sends unexpected 150 response for permissions...
LIST command handler sends unexpected 150 response for permissions error
In the meantime, one option may be for you to copy that ListCommandHandler code,...
We have a fake FTP server with directories setup like this (Groovy) FileSystem fileSystem...
v2.7
Clean up javadoc (Java 1.8 compatible)
version 2.7
Update IDE files
Implemented AddedFileEntry.setContents(String contents, String charset) See http...
Allow specifying charset (encoding) when creating a FileEntry
Added FileEntry.setContents(String contents, String charset). Implemented in MockFtpServer...
FEATURE #6: Allow specifying charset (encoding)...
Allow specifying charset (encoding) when creating a FileEntry
Fixed for MockFtpServer v2.7
BUG #28: Error on FakeFtpServer rename
Error on FakeFtpServer rename
I opened a bug for this: https://sourceforge.net/p/mockftpserver/bugs/28/
Error on FakeFtpServer rename
Make Linux compatible
I'll take a look when I get a chance.
~~~Adding a COllections.sort to the result of the descendents() method appears to...
It looks like the AbstractFakeFileSystem.descendents returns a list with children...
Are you using FakeFtpServer or StubFtpServer? FakeFtpServer already stores the user...
Are you using FakeFtpServer or StubFtpServer? FakeFtpServer already stores the user...
Hi, I'd like to add an ftp support on top of a REST api, and to do that I have to...
@ChrisMair you were right, it works with ftp. thank you very much for your quick...
oh ok i didnt realise that, i will give it a try and see. thanks
This probably has to do with using SFTP instead of just FTP. MockFtpServer only supports...
Problem: I am using mockftpserver 2.6 for testing my sFTP poller / consumer which...
So, in the meantime, can you use the setContents(byte[] contents) method instead...
Great! Thank you!
I'll try tp take a look at that this weekend.
Hi Chris, currently I am missing a configurable property to define the encoding (e.g....
v2.6
Well, I thought I had updated this issue on Friday, but I guess it did not go through....
No problem. Let me know if / when you have a fix and I can patch it in and move things...
#27: Treat null incoming command as terminating...
#27: Treat null incoming command as terminating...
Treat null incoming command as terminating the session
Add tests for readCommand()
Cool. Thanks for the feedback. I'll take a look at that.
You might be interested to know mockftpserver is (about to be, probably) used on...
v2.6
Load test for clients not sending QUIT
Possible socket closing issue
I created #26: "Clean up sessions/sockets if client does not send QUIT" https://sourceforge.net/p/mockftpserver/bugs/26/...
Clean up sessions/sockets if client does not send QUIT
Just a clarification: The bug #25 fixes the "java.lang.OutOfMemoryError: Java heap...
#24: Close passiveModeDataSocket if in passive ...
See https://sourceforge.net/p/mockftpserver/bugs/25/ That addresses the OutOfMemoryError...
OutOfMemoryError; clean up closed sessions
Session: Added boolean Session.isClosed(). AbstractFtpServer: Clean up closed sessions....
See #25 OutOfMemoryError; clean up closed sessions https://sourceforge.net/p/mockftpserver/bugs/25/...
#25: OutOfMemoryError; clean up closed sessions.
OutOfMemoryError; clean up closed sessions
(An earlier response submitted by Andrew Norman) Just tried to open an bug and it...
(Submitted by Andrew Norman) I have noticed and figured out the fix for two problems...
Possible socket closing issue
I think a clean up like that would only work if the client closed the connection...
Hi, I have been using the FakeFtpServer for a while now and have noticed that the...
PWD response should have commentary
This was fixed in MockFtpServer v2.5. I also changed MKD to return directory name...
v2.5
Update for OSSRH deployment
Add logo image
Remove obsolete test suite infrastructure
Fix broken internal links on the web site pages
Update “Log4J Configuration Required to See Log...
Update “Log4J Configuration Required to See Log...
Fix #23 PWD response should have commentary; Al...
Remove deprecation for assertSessionReply()
MockFtpServer is open source and there is no agreement or promise for formal support....
Good afternoon, I am an ILS Engineer working for CGI IT UK Limited. At the present...