File transfer from dos 6 system [closed]

Multi tool use
On my new job we have an old dos machine running dos 6.22.
This machine is necessary for data acquisition for scientific experiments. So it needs to continue to work as it is.
Since data transfer is a real pain I got the task to find a solution to transfer files from the dos machine to a Linux server, preferably automatic.
I'm an engineer and not a computer scientist, I know a few things but I've never had anything to do with dos.
I know that a few years ago the file transfer was done by scpdos, this eventually stopped working. With scpdos you can connect and it even asks for the remote password, but then "unsupported remote protocol" is shown.
Well, I have no idea and wanted to ask you for help.
Optimally I can run a script in the mail lunix server, that copies all files in a specific directory on the dos machine and deletes them afterwards. This every x min.
I've got a raspberry pi, wo may be the pi could act as coping device like: get data from dos, send to server, delete data on dos... Repeat
Hopefully you can help. Thanks.
file-transfer data-transfer
New contributor
user982488 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
closed as too broad by Ramhound, DavidPostill♦ Jan 8 at 20:03
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
On my new job we have an old dos machine running dos 6.22.
This machine is necessary for data acquisition for scientific experiments. So it needs to continue to work as it is.
Since data transfer is a real pain I got the task to find a solution to transfer files from the dos machine to a Linux server, preferably automatic.
I'm an engineer and not a computer scientist, I know a few things but I've never had anything to do with dos.
I know that a few years ago the file transfer was done by scpdos, this eventually stopped working. With scpdos you can connect and it even asks for the remote password, but then "unsupported remote protocol" is shown.
Well, I have no idea and wanted to ask you for help.
Optimally I can run a script in the mail lunix server, that copies all files in a specific directory on the dos machine and deletes them afterwards. This every x min.
I've got a raspberry pi, wo may be the pi could act as coping device like: get data from dos, send to server, delete data on dos... Repeat
Hopefully you can help. Thanks.
file-transfer data-transfer
New contributor
user982488 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
closed as too broad by Ramhound, DavidPostill♦ Jan 8 at 20:03
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
On my new job we have an old dos machine running dos 6.22.
This machine is necessary for data acquisition for scientific experiments. So it needs to continue to work as it is.
Since data transfer is a real pain I got the task to find a solution to transfer files from the dos machine to a Linux server, preferably automatic.
I'm an engineer and not a computer scientist, I know a few things but I've never had anything to do with dos.
I know that a few years ago the file transfer was done by scpdos, this eventually stopped working. With scpdos you can connect and it even asks for the remote password, but then "unsupported remote protocol" is shown.
Well, I have no idea and wanted to ask you for help.
Optimally I can run a script in the mail lunix server, that copies all files in a specific directory on the dos machine and deletes them afterwards. This every x min.
I've got a raspberry pi, wo may be the pi could act as coping device like: get data from dos, send to server, delete data on dos... Repeat
Hopefully you can help. Thanks.
file-transfer data-transfer
New contributor
user982488 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
On my new job we have an old dos machine running dos 6.22.
This machine is necessary for data acquisition for scientific experiments. So it needs to continue to work as it is.
Since data transfer is a real pain I got the task to find a solution to transfer files from the dos machine to a Linux server, preferably automatic.
I'm an engineer and not a computer scientist, I know a few things but I've never had anything to do with dos.
I know that a few years ago the file transfer was done by scpdos, this eventually stopped working. With scpdos you can connect and it even asks for the remote password, but then "unsupported remote protocol" is shown.
Well, I have no idea and wanted to ask you for help.
Optimally I can run a script in the mail lunix server, that copies all files in a specific directory on the dos machine and deletes them afterwards. This every x min.
I've got a raspberry pi, wo may be the pi could act as coping device like: get data from dos, send to server, delete data on dos... Repeat
Hopefully you can help. Thanks.
file-transfer data-transfer
file-transfer data-transfer
New contributor
user982488 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
user982488 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
user982488 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked Jan 8 at 17:11
user982488user982488
211
211
New contributor
user982488 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
user982488 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
user982488 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
closed as too broad by Ramhound, DavidPostill♦ Jan 8 at 20:03
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as too broad by Ramhound, DavidPostill♦ Jan 8 at 20:03
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
DOS 6.22 was not designed to be used in a networked environment. Since those days, people have written all sorts of creative tools to make DOS speak on a network. The best way to copy files between Linux and DOS is going to be NFS, SSH or FTP.
NFS
There is a NFS client for DOS called XFS:
http://omolini.steptail.com/mirror/winsite/winsite-mar96-3/info/pc/win3/winsock/xfs191.zip/index.html
The way this works is that you would set up an NFS export on the Linux side and then mount that NFS share with the XFS client in DOS as described here:
http://freedos.sourceforge.net/wiki/index.php/NFS
Then you could script actions on the DOS side to push files to the NFS server in Linux land.
FTP
If you need to work the other way around then you need an FTP server for DOS like this:
https://www.brutman.com/mTCP/mTCP_FTPSrv.html
Then you could make the FTP home directory point to the location of the files you need. That way you could script the collection of the files from the FTP server using the FTP client on the Linux side.
SSHSCP
You could use SSHSCP as well but I only see a client for DOS:
http://sshdos.sourceforge.net/
This means you would have to make the batch script connect, and upload the results to the Linux SSH server.
OK, thanks for this! I forgot to mention, that telnet and wattcp are already installed on the dos machine... I guess there is not just a way to use ssh and scp...
– user982488
Jan 8 at 18:11
I updated my answer. There is a way to use SCP.
– HackSlash
Jan 9 at 20:16
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
DOS 6.22 was not designed to be used in a networked environment. Since those days, people have written all sorts of creative tools to make DOS speak on a network. The best way to copy files between Linux and DOS is going to be NFS, SSH or FTP.
NFS
There is a NFS client for DOS called XFS:
http://omolini.steptail.com/mirror/winsite/winsite-mar96-3/info/pc/win3/winsock/xfs191.zip/index.html
The way this works is that you would set up an NFS export on the Linux side and then mount that NFS share with the XFS client in DOS as described here:
http://freedos.sourceforge.net/wiki/index.php/NFS
Then you could script actions on the DOS side to push files to the NFS server in Linux land.
FTP
If you need to work the other way around then you need an FTP server for DOS like this:
https://www.brutman.com/mTCP/mTCP_FTPSrv.html
Then you could make the FTP home directory point to the location of the files you need. That way you could script the collection of the files from the FTP server using the FTP client on the Linux side.
SSHSCP
You could use SSHSCP as well but I only see a client for DOS:
http://sshdos.sourceforge.net/
This means you would have to make the batch script connect, and upload the results to the Linux SSH server.
OK, thanks for this! I forgot to mention, that telnet and wattcp are already installed on the dos machine... I guess there is not just a way to use ssh and scp...
– user982488
Jan 8 at 18:11
I updated my answer. There is a way to use SCP.
– HackSlash
Jan 9 at 20:16
add a comment |
DOS 6.22 was not designed to be used in a networked environment. Since those days, people have written all sorts of creative tools to make DOS speak on a network. The best way to copy files between Linux and DOS is going to be NFS, SSH or FTP.
NFS
There is a NFS client for DOS called XFS:
http://omolini.steptail.com/mirror/winsite/winsite-mar96-3/info/pc/win3/winsock/xfs191.zip/index.html
The way this works is that you would set up an NFS export on the Linux side and then mount that NFS share with the XFS client in DOS as described here:
http://freedos.sourceforge.net/wiki/index.php/NFS
Then you could script actions on the DOS side to push files to the NFS server in Linux land.
FTP
If you need to work the other way around then you need an FTP server for DOS like this:
https://www.brutman.com/mTCP/mTCP_FTPSrv.html
Then you could make the FTP home directory point to the location of the files you need. That way you could script the collection of the files from the FTP server using the FTP client on the Linux side.
SSHSCP
You could use SSHSCP as well but I only see a client for DOS:
http://sshdos.sourceforge.net/
This means you would have to make the batch script connect, and upload the results to the Linux SSH server.
OK, thanks for this! I forgot to mention, that telnet and wattcp are already installed on the dos machine... I guess there is not just a way to use ssh and scp...
– user982488
Jan 8 at 18:11
I updated my answer. There is a way to use SCP.
– HackSlash
Jan 9 at 20:16
add a comment |
DOS 6.22 was not designed to be used in a networked environment. Since those days, people have written all sorts of creative tools to make DOS speak on a network. The best way to copy files between Linux and DOS is going to be NFS, SSH or FTP.
NFS
There is a NFS client for DOS called XFS:
http://omolini.steptail.com/mirror/winsite/winsite-mar96-3/info/pc/win3/winsock/xfs191.zip/index.html
The way this works is that you would set up an NFS export on the Linux side and then mount that NFS share with the XFS client in DOS as described here:
http://freedos.sourceforge.net/wiki/index.php/NFS
Then you could script actions on the DOS side to push files to the NFS server in Linux land.
FTP
If you need to work the other way around then you need an FTP server for DOS like this:
https://www.brutman.com/mTCP/mTCP_FTPSrv.html
Then you could make the FTP home directory point to the location of the files you need. That way you could script the collection of the files from the FTP server using the FTP client on the Linux side.
SSHSCP
You could use SSHSCP as well but I only see a client for DOS:
http://sshdos.sourceforge.net/
This means you would have to make the batch script connect, and upload the results to the Linux SSH server.
DOS 6.22 was not designed to be used in a networked environment. Since those days, people have written all sorts of creative tools to make DOS speak on a network. The best way to copy files between Linux and DOS is going to be NFS, SSH or FTP.
NFS
There is a NFS client for DOS called XFS:
http://omolini.steptail.com/mirror/winsite/winsite-mar96-3/info/pc/win3/winsock/xfs191.zip/index.html
The way this works is that you would set up an NFS export on the Linux side and then mount that NFS share with the XFS client in DOS as described here:
http://freedos.sourceforge.net/wiki/index.php/NFS
Then you could script actions on the DOS side to push files to the NFS server in Linux land.
FTP
If you need to work the other way around then you need an FTP server for DOS like this:
https://www.brutman.com/mTCP/mTCP_FTPSrv.html
Then you could make the FTP home directory point to the location of the files you need. That way you could script the collection of the files from the FTP server using the FTP client on the Linux side.
SSHSCP
You could use SSHSCP as well but I only see a client for DOS:
http://sshdos.sourceforge.net/
This means you would have to make the batch script connect, and upload the results to the Linux SSH server.
edited Jan 9 at 20:16
answered Jan 8 at 17:38


HackSlashHackSlash
1,9321620
1,9321620
OK, thanks for this! I forgot to mention, that telnet and wattcp are already installed on the dos machine... I guess there is not just a way to use ssh and scp...
– user982488
Jan 8 at 18:11
I updated my answer. There is a way to use SCP.
– HackSlash
Jan 9 at 20:16
add a comment |
OK, thanks for this! I forgot to mention, that telnet and wattcp are already installed on the dos machine... I guess there is not just a way to use ssh and scp...
– user982488
Jan 8 at 18:11
I updated my answer. There is a way to use SCP.
– HackSlash
Jan 9 at 20:16
OK, thanks for this! I forgot to mention, that telnet and wattcp are already installed on the dos machine... I guess there is not just a way to use ssh and scp...
– user982488
Jan 8 at 18:11
OK, thanks for this! I forgot to mention, that telnet and wattcp are already installed on the dos machine... I guess there is not just a way to use ssh and scp...
– user982488
Jan 8 at 18:11
I updated my answer. There is a way to use SCP.
– HackSlash
Jan 9 at 20:16
I updated my answer. There is a way to use SCP.
– HackSlash
Jan 9 at 20:16
add a comment |
uNMWjUKmmAQF1GQZdqAGhHBGSnV q6hOlT