try to catch filetransfer error