I'm a bit of a unix n00b so be gentle! I need to use ftp to download some files. I have the ftp running in a shell script which had been working perfectly last week. I downloaded around 400 files before it broke on friday.
Now whenever I try to run the script, it starts to download files and then stops arbitrarily in the middle of the first mget.
I want to download files from Samba server that were added or updated on current date using smbclient.
How can I do it? The only variant I see, is executing ls with smbclient, parsing the output and downloading each file with separate smbclient command. but it is to slow. I also cannot make a sequence of mget commands because of command length limitation.