Start a new topic

Suppress Exceptions

Edwin @ Thu Jul 24 04:32:21 EEST 2014
Hi there,
I'm trying to suppress all outgoing exceptions from my crushftp server.
I have looked up all configs but doesn't find anything.
Can someone please tell me how to?
Thanks.

spinkb @ Fri Jul 25 03:10:47 EEST 2014
I don't quite understand what your meaning here...

Can you explain this more?
spinkb @ Fri Jul 25 05:53:41 EEST 2014
Please give me the full exception message from the CrushFTP log if you can, that way i can find where this occurred at.

Let me know,
Ben
Edwin @ Fri Jul 25 06:29:59 EEST 2014
07/25/2014 01:05:28 PM|There are now 3 active connections
07/25/2014 01:05:28 PM|:127.0.0.1
07/25/2014 01:05:28 PM|There are now 4 active connections
07/25/2014 01:05:28 PM|:127.0.0.1
07/25/2014 01:05:28 PM|Client is attempting none authentication
07/25/2014 01:05:28 PM|Client is attempting publickey authentication
07/25/2014 01:05:28 PM|[SFTP:lookup:22][1091] Accepting connection from: 217.XXX.XXX.XXX:50683
07/25/2014 01:05:28 PM|[SFTP:1091:test:217.XXX.XXX.XXX] READ: *Verifying username and public key test.*
07/25/2014 01:05:28 PM|[SFTP:1091:test:217.XXX.XXX.XXX] READ: *Accepted public key for test:---- BEGIN SSH2 PUBLIC KEY ----
07/25/2014 01:05:28 PM|Comment: "rsa-key-20140716"
07/25/2014 01:05:28 PM|AA...
07/25/2014 01:05:28 PM|wv...
07/25/2014 01:05:28 PM|ED...
07/25/2014 01:05:28 PM|k8...
07/25/2014 01:05:28 PM|5a...
07/25/2014 01:05:28 PM|nc...
07/25/2014 01:05:28 PM|---- END SSH2 PUBLIC KEY ----
07/25/2014 01:05:28 PM|*
07/25/2014 01:05:29 PM|Client is attempting publickey authentication
07/25/2014 01:05:29 PM|[SFTP:1091:test:217.XXX.XXX.XXX] READ: *Verifying username and public key test.*
07/25/2014 01:05:29 PM|[SFTP:1091:test:217.XXX.XXX.XXX] READ: *Accepted public key for test:---- BEGIN SSH2 PUBLIC KEY ----
07/25/2014 01:05:29 PM|Comment: "rsa-key-20140716"
07/25/2014 01:05:29 PM|AA...
07/25/2014 01:05:29 PM|wv...
07/25/2014 01:05:29 PM|ED...
07/25/2014 01:05:29 PM|k8...
07/25/2014 01:05:29 PM|5a...
07/25/2014 01:05:29 PM|nc...
07/25/2014 01:05:29 PM|---- END SSH2 PUBLIC KEY ----
07/25/2014 01:05:29 PM|*
07/25/2014 01:05:29 PM|[SFTP:1091:test:217.XXX.XXX.XXX] READ: *USER test*
07/25/2014 01:05:29 PM|[SFTP:1091:test:217.XXX.XXX.XXX] READ: *PASS PublicKeyAuthentication*
07/25/2014 01:05:29 PM|UserBackupPurge:Looking for old user folders to delete from here:./backup/
07/25/2014 01:05:29 PM|UserBackupPurge:Folder has 125 items.
07/25/2014 01:05:29 PM|UserBackupPurge:Folder has 99 user items, max is 100.
07/25/2014 01:05:29 PM|Client is attempting password authentication
07/25/2014 01:05:29 PM|[SFTP:1091:test:217.XXX.XXX.XXX] READ: *Verifying password for test.*
07/25/2014 01:05:29 PM|[SFTP:1091:test:217.XXX.XXX.XXX] READ: *USER test*
07/25/2014 01:05:29 PM|[SFTP:1091:test:217.XXX.XXX.XXX] READ: *PASS *
07/25/2014 01:05:29 PM|UserBackupPurge:Looking for old user folders to delete from here:./backup/
07/25/2014 01:05:29 PM|UserBackupPurge:Folder has 126 items.
07/25/2014 01:05:29 PM|UserBackupPurge:Folder has 100 user items, max is 100.
07/25/2014 01:05:29 PM|UserBackupPurge:Purging old backup users from:C:...CrushFTP7_PC.ackup est-07232014_110805.zip
07/25/2014 01:05:29 PM|[SFTP:1091:test:217.XXX.XXX.XXX] READ: *CONNECT test*
07/25/2014 01:05:34 PM|[SFTP:1091:test:217.XXX.XXX.XXX] READ: *fileExists /Postausgang/a/test.txt*
07/25/2014 01:05:34 PM|[SFTP:1091:test:217.XXX.XXX.XXX] READ: *fileExists /Postausgang/a/test.txt*
07/25/2014 01:05:34 PM|[SFTP:1091:test:217.XXX.XXX.XXX] READ: *STOR START /Postausgang/a/test.txt*
07/25/2014 01:05:34 PM|[SFTP:1091:test:217.XXX.XXX.XXX] READ: *STOR START /Postausgang/a/test.txt:o5f1K*
07/25/2014 01:05:34 PM|[SFTP:1091:test:217.XXX.XXX.XXX] READ: *STOR /Postausgang/a/test.txt:o5f1K*
07/25/2014 01:05:34 PM|[1091:test:217.XXX.XXX.XXX] WROTE: Error with files (path):/Postausgang/a/
07/25/2014 01:05:34 PM|[1091:test:217.XXX.XXX.XXX] WROTE: Error with files (name):test.txt
07/25/2014 01:05:34 PM|[SFTP:1091:test:217.XXX.XXX.XXX] READ: *STOR END /Postausgang/a/test.txt:o5f1K*
07/25/2014 01:05:35 PM|[HTTP:1076:lookup:8080] Accepting connection from: 192.168.2.230:52709
07/25/2014 01:05:35 PM|[HTTP:1076:admin:192.168.2.230] WROTE: *HTTP/1.1 200 OK*

this is what CrushFTP logs, but the message I get involved the Path like: D:... (this is where the VFS is) and this is what I'm trying to avoid.

Thank you for the help :)
spinkb @ Fri Jul 25 06:38:51 EEST 2014
Set your pref,s logging, debug level to 2, and repeat the test. Let me know what is logged.

Thanks,
Ben
Edwin @ Fri Jul 25 07:23:20 EEST 2014
07/25/2014 02:17:07 PM|[SFTP:1174:test:217.XXX.XXX.XXX] READ: *CONNECT test*
07/25/2014 02:17:12 PM|[SFTP:1174:test:217.XXX.XXX.XXX] READ: *fileExists /Postausgang/a/test.txt*
07/25/2014 02:17:12 PM|[SFTP:1174:test:217.XXX.XXX.XXX] READ: *fileExists /Postausgang/a/test.txt*
07/25/2014 02:17:12 PM|SFTP:openFile:/Postausgang/a/test.txt
07/25/2014 02:17:12 PM|openFile:26
07/25/2014 02:17:12 PM|[SFTP:1174:test:217.XXX.XXX.XXX] READ: *STOR START /Postausgang/a/test.txt*
07/25/2014 02:17:12 PM|SFTP:openFile1:null
07/25/2014 02:17:12 PM|SFTP:openFile:zero:{owner=owner, time_or_year=2014, type=DIR, url=FILE://D:/SFTP/.../test/Postausgang/a/test.txt, modified=1406290632167, group=group, permissions=drwxrwxrwx, num_items=1, is_virtual=false, protocol=FILE, size=1, dir=/Postausgang, local=false, day=25, root_dir=/Postausgang/a/, privs=(read)(write)(view)(delete)(deletedir)(makedir)(rename)(resume)(inherited), month=Jul , vItem={type=DIR, url=FILE://D:/SFTP/.../test/Postausgang/}, name=test.txt}
07/25/2014 02:17:12 PM|SFTP:openedFile:/Postausgang/a/test.txt:VglhN:{owner=owner, time_or_year=2014, type=FILE, url=FILE://D:/SFTP/.../test/Postausgang/a/test.txt, modified=1406290632167, group=group, permissions=drwxrwxrwx, num_items=1, allow_write=true, is_virtual=false, zero_wanted=true, protocol=FILE, size=0, dir=/Postausgang, local=false, day=25, root_dir=/Postausgang/a/, privs=(read)(write)(view)(delete)(deletedir)(makedir)(rename)(resume)(inherited), month=Jul , vItem={type=DIR, url=FILE://D:/SFTP/.../test/Postausgang/}, name=test.txt}
07/25/2014 02:17:12 PM|SFTP:openFile:reply:/Postausgang/a/test.txt:VglhN
07/25/2014 02:17:12 PM|SFTP:closeFile:/Postausgang/a/test.txt:VglhN
07/25/2014 02:17:12 PM|SFTP:writeFile:/Postausgang/a/test.txt:VglhN
07/25/2014 02:17:12 PM|SFTP:writeFile:{owner=owner, time_or_year=2014, type=FILE, url=FILE://D:/SFTP/.../test/Postausgang/a/test.txt, modified=1406290632167, group=group, permissions=drwxrwxrwx, num_items=1, allow_write=true, is_virtual=false, zero_wanted=true, protocol=FILE, size=0, dir=/Postausgang, local=false, day=25, root_dir=/Postausgang/a/, privs=(read)(write)(view)(delete)(deletedir)(makedir)(rename)(resume)(inherited), month=Jul , vItem={type=DIR, url=FILE://D:/SFTP/.../test/Postausgang/}, name=test.txt}
07/25/2014 02:17:12 PM|[SFTP:1174:test:217.XXX.XXX.XXX] READ: *STOR START /Postausgang/a/test.txt:VglhN*
07/25/2014 02:17:12 PM|[SFTP:1174:test:217.XXX.XXX.XXX] READ: *STOR /Postausgang/a/test.txt:VglhN*
07/25/2014 02:17:12 PM|Thread-259:STOR
[b]07/25/2014 02:17:12 PM|java.io.FileNotFoundException: D:SFTP... estPostausganga est.txt (Das System kann den angegebenen Pfad nicht finden) - this is the Exception. I don't want anybody to see this path[/b]
07/25/2014 02:17:12 PM|java.io.RandomAccessFile.open:-2
07/25/2014 02:17:12 PM|java.io.RandomAccessFile.:-1
07/25/2014 02:17:12 PM|java.io.RandomAccessFile.:-1
07/25/2014 02:17:12 PM|com.crushftp.client.RandomOutputStream.:31
07/25/2014 02:17:12 PM|com.crushftp.client.FileClient.upload3:482
07/25/2014 02:17:12 PM|com.crushftp.client.GenericClient.upload2:442
07/25/2014 02:17:12 PM|com.crushftp.client.GenericClient.upload:417
07/25/2014 02:17:12 PM|crushftp.server.STOR_handler.run:419
07/25/2014 02:17:12 PM|com.crushftp.client.Worker.run:34
07/25/2014 02:17:12 PM|java.lang.Thread.run:-1
07/25/2014 02:17:12 PM|/Postausgang/a/
07/25/2014 02:17:12 PM|test.txt
07/25/2014 02:17:12 PM|[1174:test:217.XXX.XXX.XXX] WROTE: Error with files (path):/Postausgang/a/
07/25/2014 02:17:12 PM|[1174:test:217.XXX.XXX.XXX] WROTE: Error with files (name):test.txt
07/25/2014 02:17:12 PM|Thread-259:STOR
07/25/2014 02:17:12 PM|java.lang.NullPointerException
07/25/2014 02:17:12 PM|crushftp.server.STOR_handler.run:1115
07/25/2014 02:17:12 PM|com.crushftp.client.Worker.run:34
07/25/2014 02:17:12 PM|java.lang.Thread.run:-1
07/25/2014 02:17:12 PM|[SFTP:1174:test:217.XXX.XXX.XXX] READ: *STOR END /Postausgang/a/test.txt:VglhN*
07/25/2014 02:17:13 PM|Cleaning up sessions:0 sessions tracked, 1 activity items tracked, 3 sessions tracked, 0 activities expired, 0 sessions expired in first pass, and 0 expired in second pass.
07/25/2014 02:17:19 PM|SSH PORT CONNECTOR logoff RELEASE:50701
07/25/2014 02:17:19 PM|SQL:Connecting to db, executing sql:UPDATE SESSIONS set END_TIME = ? where RID = ?
07/25/2014 02:17:19 PM|There is now 1 active connection
07/25/2014 02:17:24 PM|SSH PORT CONNECTOR close RELEASE:50701

spinkb @ Fri Jul 25 07:47:13 EEST 2014
Try the latest build now and verify this fixes the issue for you.

Click update now on the about tab to get a newer build.

Thanks,
Ben
Edwin @ Fri Jul 25 08:01:05 EEST 2014
The Exception is now: "/Postausgang/a/test.txt"
This is exactly what I wanted.

Thanks a lot. :D

By the way: I love the CrushFTP Server it's exactly what we was looking for.
Login to post a comment