Hi All,
I am still battling away on the project that I mentioned in a previous post, but as I have progressed slightly I thought it would be better in a new thread. My application is using a DT80 (and now also a DT85) to log data and then upload to a web server via FTP.
I am struggling to make the FTP part work. At the moment I have a DT80 connected to the internet via a Belkin router, attempting to FTP DBD files every few minutes. What I have observed is that I can FTP to a server on the same network with no problems at all - perfect.
However, when I try to send files to a remote server over the internet, it doesn't go according to plan. The correct file structure is created on the remote server, but no data files are transferred. I set P56=63 so that I can keep an eye on what's going on... For the successful transfers onto a computer on the same network, I see this:
?? >> USER username
?? >> PASS password
?? >> TYPE I
?? >> CWD JOBS
?? >> CWD FTPTEST2
?? >> CWD A
?? >> PASV 250
?? >> STOR 2007-11-25T01-58-20.DBD
?? >> QUIT
But when I try to go through the router to a server on the internet I see this:
?? >> USER username
?? >> PASS password
?? >> TYPE I
?? >> CWD JOBS
?? >> CWD FTPTEST2
?? >> CWD A
?? >> PASV 250
?? >> QUIT
Notice that the all-important line ?? >> STOR 2007-11-25T01-58-20.DBD is missing. The connection is "QUIT"ed before a data file is transferred, and no attempt seems to be made to transfer the file, although the directory structure is made successfully.
Any ideas? Is this likely to be a dataTaker problem or a server problem? I can FTP to and from the same server from a PC on the same network as the DT80 with no trouble at all, so I don't think it is a router or server issue but I am not an expert in these matters!
I am currently testing this on a DT80 running firmware version 6.18.
Thanks,
Robin
Hi All,
I am still battling away on the project that I mentioned in a previous post, but as I have progressed slightly I thought it would be better in a new thread. My application is using a DT80 (and now also a DT85) to log data and then upload to a web server via FTP.
I am struggling to make the FTP part work. At the moment I have a DT80 connected to the internet via a Belkin router, attempting to FTP DBD files every few minutes. What I have observed is that I can FTP to a server on the same network with no problems at all - perfect.
However, when I try to send files to a remote server over the internet, it doesn't go according to plan. The correct file structure is created on the remote server, but no data files are transferred. I set P56=63 so that I can keep an eye on what's going on... For the successful transfers onto a computer on the same network, I see this:
````
?? >> USER username
?? >> PASS password
?? >> TYPE I
?? >> CWD JOBS
?? >> CWD FTPTEST2
?? >> CWD A
?? >> PASV 250
?? >> STOR 2007-11-25T01-58-20.DBD
?? >> QUIT
````
But when I try to go through the router to a server on the internet I see this:
````
?? >> USER username
?? >> PASS password
?? >> TYPE I
?? >> CWD JOBS
?? >> CWD FTPTEST2
?? >> CWD A
?? >> PASV 250
?? >> QUIT
````
Notice that the all-important line **?? >> STOR 2007-11-25T01-58-20.DBD** is missing. The connection is "QUIT"ed before a data file is transferred, and no attempt seems to be made to transfer the file, although the directory structure is made successfully.
Any ideas? Is this likely to be a dataTaker problem or a server problem? I can FTP to and from the same server from a PC on the same network as the DT80 with no trouble at all, so I don't think it is a router or server issue but I am not an expert in these matters!
I am currently testing this on a DT80 running firmware version 6.18.
Thanks,
Robin