You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Delta downloads now dont work because "download_last_modified.txt" file gets sorted into a folder based on its creation year ,and when the application tries to download it subsequently , it looks for that file in the root folder .
A good way to work around this , might be to have a separate folder for all the application logic files (ie)
creation_date.txt , last_modified.txt and download_last_modified.txt.
==== log ===
download_last_modified.txt 2014
1872944-dexterslaboratorywallpaper800.jpg 2014
Dexter-and-DeeDee-dexters-laboratory-13130813-445-411.jpg 2014
Dexter's_Laboratory_title.jpg 2014
the s3_downloads folder already exists , will now selectively download files into this folder
Traceback (most recent call last):
File "cloudcrate.py", line 289, in
download_last_modified_dict = json.load(open("download_last_modified.txt"))
IOError: [Errno 2] No such file or directory: 'download_last_modified.txt'
MBP:cloudrate_test Hari$
The text was updated successfully, but these errors were encountered:
mindheist
changed the title
Delta downloads don't work
Delta downloads don't work (after commit #22)
Dec 28, 2014
Making the download_last_modified.txt available in the root directory might alone suffice. Tried this manually , and all delta files are being downloaded ( on a side note : make sure that the code to sort and download files is available in all of the loops)
-> The simplest solution for this would be to make the download_last_modified.txt available in the root folder of cloud crate; tested this solution and it seems to work. Tested the following 3 scenarios
Download files for the first ever time ( regression test)
All the files are downloaded into the respective folders and last_modified_time.txt also gets sorted into one of the folders. ( as expected and hence the bug)
-> All of the application logic files are also created : creation.txt , last_modified.txt
Modify just one file , Upload and Download
-> Modify one file and try to upload
-> the last_modified.txt gets updated
-> the creation.txt file get updated
-> Delta alone gets uploaded based on the information in last_modified.txt
-> Once again, only the delta is downloaded
Add a new file to the directory ; delta alone gets up/downloaded.
Delta downloads now dont work because "download_last_modified.txt" file gets sorted into a folder based on its creation year ,and when the application tries to download it subsequently , it looks for that file in the root folder .
A good way to work around this , might be to have a separate folder for all the application logic files (ie)
creation_date.txt , last_modified.txt and download_last_modified.txt.
==== log ===
download_last_modified.txt 2014
1872944-dexterslaboratorywallpaper800.jpg 2014
Dexter-and-DeeDee-dexters-laboratory-13130813-445-411.jpg 2014
Dexter's_Laboratory_title.jpg 2014
the s3_downloads folder already exists , will now selectively download files into this folder
Traceback (most recent call last):
File "cloudcrate.py", line 289, in
download_last_modified_dict = json.load(open("download_last_modified.txt"))
IOError: [Errno 2] No such file or directory: 'download_last_modified.txt'
MBP:cloudrate_test Hari$
The text was updated successfully, but these errors were encountered: