lib/rsr_group/order.rb in rsr_group-5.0.5 vs lib/rsr_group/order.rb in rsr_group-5.0.6

- old
+ new

@@ -96,11 +96,10 @@ connect(@credentials) do |ftp| ftp.chdir(RsrGroup.config.submission_dir) io = StringIO.new(to_txt) begin ftp.storlines("STOR " + filename, io) - success = ftp.nlst.include?(filename) - @response = ResponseStruct.new(success, nil, modified: ftp.mtime(filename), size: ftp.size(filename)) + @response = ResponseStruct.new(true) ensure io.close end ftp.close end