import os
from rsf.proj import *

################
# RETRIEVE DATA
################

# Define SLIM FTP server information
FTPserver = {
             'server': 'ftp.slim.gatech.edu',
             'login': 'ftp',
             'password':''}

loc = os.path.join('SoftwareRelease','Processing','SparsityPromotingDenoising','Results')
files = ['FreqInd30_DG_MEcurv_denoised.rsf','FreqInd30_DG_WRAPcurv_denoised.rsf','FreqInd30_SG_MEcurv_denoised.rsf','FreqInd30_SG_WRAPcurv_denoised.rsf','FreqInd44_DG_MEcurv_denoised.rsf','FreqInd44_DG_WRAPcurv_denoised.rsf','FreqInd44_SG_MEcurv_denoised.rsf','FreqInd44_SG_WRAPcurv_denoised.rsf','FreqInd59_DG_MEcurv_denoised.rsf','FreqInd59_DG_WRAPcurv_denoised.rsf','FreqInd59_SG_MEcurv_denoised.rsf','FreqInd59_SG_WRAPcurv_denoised.rsf']


# Fetch data from FTP server
for elm in files:
        Fetch(elm,loc,FTPserver)

End()

