Our system has been running for years until our Linux server crashed. We installed a new server but did not touch the client.
Now SCP can copy one file per time but only one.
Ideas ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I came across this very useful tool when looking for a better way than ftp to transfer files to old dos boxen.
Unfortunately, on all the servers I tried scp would only copy one file at a time when globbing.
Upon closer inspection I found that scpdos.c was not expecting the filenames to be null delimited.
See the attached patch (hack :-) which fixes the issue. Additionally, using [.,.] and {.,.} expansions should also now work.
Our system has been running for years until our Linux server crashed. We installed a new server but did not touch the client.
Now SCP can copy one file per time but only one.
Ideas ?
I came across this very useful tool when looking for a better way than ftp to transfer files to old dos boxen.
Unfortunately, on all the servers I tried scp would only copy one file at a time when globbing.
Upon closer inspection I found that scpdos.c was not expecting the filenames to be null delimited.
See the attached patch (hack :-) which fixes the issue. Additionally, using [.,.] and {.,.} expansions should also now work.