First: I could not search for a similar problem, since the search does not allow the too short word "ftp".
I experience, that the ftp solution within tcc is very unreliable. Regardles if "iftp" or using "ftp:...".
There are many connection interruptions. Before I switched to the tcc built in ftp, i used a dedicated ftp client.
I had literally zero problems with that. What am I doing wrong?
The code below works 50% of all tries. The other 50% it fails (resulting file is too small,
which is an interrupt before the transfer has finished).
E.g. I use:
(%_fuser etc. are of course set...)
Thanks for any help!
I experience, that the ftp solution within tcc is very unreliable. Regardles if "iftp" or using "ftp:...".
There are many connection interruptions. Before I switched to the tcc built in ftp, i used a dedicated ftp client.
I had literally zero problems with that. What am I doing wrong?
The code below works 50% of all tries. The other 50% it fails (resulting file is too small,
which is an interrupt before the transfer has finished).
E.g. I use:
Code:
set _bdate=[1-9][0-9](-[0-9]{2}
set _bmask=access_log_XXX_YY_20%_bdate)
set _fmask="::^^%_bmask{2}\.gz$"
copy /b /q ftp://%_fuser:%_fpass@%_fhost/%_fdir/%_fmask .
Thanks for any help!