FTP/Curl retry callback should return the result

CurlCallback and FtpCallback should return True/False. Looping up to
max retry count is not a wanted behavior.

BUG=None
TEST=Try ftp/curl upload the factory load

Change-Id: Icde43aa930ec454c72efab8de2d28663b3380ccb
Reviewed-on: https://gerrit.chromium.org/gerrit/26033
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Tammo Spalink <tammo@chromium.org>
Tested-by: Jay Kim <yongjaek@chromium.org>
Commit-Ready: Jay Kim <yongjaek@chromium.org>
diff --git a/py/gooftool.py b/py/gooftool.py
index deb79c1..ad10c75 100755
--- a/py/gooftool.py
+++ b/py/gooftool.py
@@ -559,7 +559,7 @@
   if method == 'shopfloor':
     report_upload.ShopFloorUpload(target_path, param)
   elif method == 'ftp':
-    report_upload.FtpUpload(target_path, 'ftp://' + param)
+    report_upload.FtpUpload(target_path, 'ftp:' + param)
   elif method == 'ftps':
     report_upload.CurlUrlUpload(target_path, '--ftp-ssl-reqd ftp:%s' % param)
   elif method == 'cpfe':