Permalink
Browse files

Fix exception class raised from FTPFXP#fxpto

  • Loading branch information...
1 parent d243ffe commit bb4865e1679f27f3111dc702b13bc8bec328b644 Tomoyuki Chikanaga committed Mar 2, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/ftpfxp/ftpfxp.rb
@@ -145,9 +145,9 @@ def fxpto(dst, dstpath, srcpath)
fxpretr(srcpath)
resp = {}
resp[:srcresp] = fxpwait
- raise FTPFXPTLSSrcSiteError unless '226' == resp[:srcresp][0,3]
+ raise FTPFXPSrcSiteError unless '226' == resp[:srcresp][0,3]
resp[:dstresp] = dst.fxpwait
- raise FTPFXPTLSDstSiteError unless '226' == resp[:dstresp][0,3]
+ raise FTPFXPDstSiteError unless '226' == resp[:dstresp][0,3]
return resp
end

0 comments on commit bb4865e

Please sign in to comment.