This project is closed and read-only.
Bug #384 ยป net_ftp_chdir_fix.patch
| lib/net/ftp.rb (Arbeitskopie) | ||
|---|---|---|
|
begin
|
||
|
voidcmd("CDUP")
|
||
|
return
|
||
|
rescue FTPPermError
|
||
|
if $![0, 3] != "500"
|
||
|
raise FTPPermError, $!
|
||
|
rescue FTPPermError => e
|
||
|
if e.message[0, 3] != "500"
|
||
|
raise e
|
||
|
end
|
||
|
end
|
||
|
end
|
||