-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when downloading data: ftplib.error_perm: 550 #2
Comments
Hi João, inside the |
[20230703-103907:ERROR:FTPUtil] Attempt 1 failed with error <class 'ftplib.error_perm'>: 550 /modelos/tempo/MERGE/GPM/DAILY\2023/06\MERGE_CPTEC_20230601.grib2: No such file or directory My OS is windows 11 pro |
It seems a problem with the slashes (forward vs back slashes) in the posix path |
@JPPereira93 , both issues have been solved in the new release 0.0.3. Besides the "windows" issue with the Path, last week the FTP server stopped from responding. Now I've added an option (set as default) to download it directly through HTTP protocol. |
Hello!
I installed the merge-downloader toolbox however I get a error as such:
Downloading INPETypes.DAILY_RAIN series for range: ['01-06-2023', '10-06-2023']
Traceback (most recent call last):
File "C:\Users\JoaoPereira\AppData\Local\Programs\Python\Python310\Scripts\merge-downloader-script.py", line 33, in
sys.exit(load_entry_point('merge-downloader', 'console_scripts', 'merge-downloader')())
File "c:\users\joaopereira\desktop\merge-downloader\mergedownloader\cli.py", line 281, in main
args.func(args)
File "c:\users\joaopereira\desktop\merge-downloader\mergedownloader\cli.py", line 159, in download
files = downloader.get_range(
File "c:\users\joaopereira\desktop\merge-downloader\mergedownloader\downloader.py", line 291, in get_range
return parser.get_range(
File "c:\users\joaopereira\desktop\merge-downloader\mergedownloader\parser.py", line 305, in get_range
return self.get_files(
File "c:\users\joaopereira\desktop\merge-downloader\mergedownloader\parser.py", line 281, in get_files
self.get_file(
File "c:\users\joaopereira\desktop\merge-downloader\mergedownloader\parser.py", line 243, in get_file
return self.download_file(date=date, local_folder=local_folder, **kwargs)
File "c:\users\joaopereira\desktop\merge-downloader\mergedownloader\parser.py", line 180, in download_file
downloaded_file = self.ftp.download_ftp_file(
File "c:\users\joaopereira\desktop\merge-downloader\mergedownloader\utils.py", line 257, in download_ftp_file
remote_time_str = ftp.sendcmd("MDTM " + remote_file)
File "C:\Users\JoaoPereira\AppData\Local\Programs\Python\Python310\lib\ftplib.py", line 281, in sendcmd
return self.getresp()
File "C:\Users\JoaoPereira\AppData\Local\Programs\Python\Python310\lib\ftplib.py", line 254, in getresp
raise error_perm(resp)
ftplib.error_perm: 550 /modelos/tempo/MERGE/GPM/DAILY\2023/06\MERGE_CPTEC_20230601.grib2: No such file or directory
I checked and I have all the required packages, any idea how to fix this?
Thank you
The text was updated successfully, but these errors were encountered: