Likely there is no automatic process that will help you. In some cases, depending on platform, you might be able to get everything you need, but for the most part, you're going to have to rely on the honor system. Contracts will likely help you out best in that regard.
It's either that or gain full control to their entire system and trawl through it yourself.
All the client-side stuff (HTML, Javascript, whatever) is right out there, and you can grab it yourself.
Server-side code requires cooperation, and verifying it depends on how much access you have to their system, and/or how open the transfer process is.
Personally, I'd say this is a contractual issue. Make sure the contract says you get what you think you'll get, and if there's any reason to think you haven't gotten it you investigate.
正如 David 所说,如果整个网站是静态的并用 HTML + JavaScript 实现,那么您可以使用“wget”之类的程序来吸收所有文件,即使您实际上无权访问生产系统。
Of course, you can't check the live source vs. development source unless you have access to the live source!
So you will need access to the live site, and you will need to zip up all the files and save a copy of them on your local machine. Save them alongside the code provided by you.
Then, if you're on a Linux/Unix platform, use "diff -r" to get a recursive difference listing of the two trees.
As David says, if the entire site is static and implemented in HTML + JavaScript, then you can use a program like "wget" to suck down all of the files, even if you don't actually have access to the production system.
发布评论
评论(3)
可能没有自动流程可以帮助您。 在某些情况下,根据平台的不同,您可能可以获得所需的一切,但在大多数情况下,您将不得不依赖荣誉系统。 在这方面,合同可能会为您提供最好的帮助。
要么就是这样,要么完全控制他们的整个系统并自己进行搜索。
不过,我有点怀疑他们会让你这样做。
Likely there is no automatic process that will help you. In some cases, depending on platform, you might be able to get everything you need, but for the most part, you're going to have to rely on the honor system. Contracts will likely help you out best in that regard.
It's either that or gain full control to their entire system and trawl through it yourself.
I somehow doubt they'll let you do that, however.
你没有说这个网站是基于什么。
所有客户端内容(HTML、Javascript,等等)都在那里,您可以自己获取。
服务器端代码需要合作,验证它取决于您对他们的系统有多少访问权限,和/或传输过程的开放程度。
就我个人而言,我认为这是一个合同问题。 确保合同上写明你得到了你认为你会得到的东西,如果有任何理由认为你没有得到它,你就进行调查。
You don't say what the website's based on.
All the client-side stuff (HTML, Javascript, whatever) is right out there, and you can grab it yourself.
Server-side code requires cooperation, and verifying it depends on how much access you have to their system, and/or how open the transfer process is.
Personally, I'd say this is a contractual issue. Make sure the contract says you get what you think you'll get, and if there's any reason to think you haven't gotten it you investigate.
当然,除非您有权访问实时源代码,否则您无法检查实时源代码与开发源代码!
因此,您需要访问实时站点,并且需要压缩所有文件并将其副本保存在本地计算机上。 将它们与您提供的代码一起保存。
然后,如果您使用的是 Linux/Unix 平台,请使用“diff -r”来获取两棵树的递归差异列表。
正如 David 所说,如果整个网站是静态的并用 HTML + JavaScript 实现,那么您可以使用“wget”之类的程序来吸收所有文件,即使您实际上无权访问生产系统。
Of course, you can't check the live source vs. development source unless you have access to the live source!
So you will need access to the live site, and you will need to zip up all the files and save a copy of them on your local machine. Save them alongside the code provided by you.
Then, if you're on a Linux/Unix platform, use "diff -r" to get a recursive difference listing of the two trees.
As David says, if the entire site is static and implemented in HTML + JavaScript, then you can use a program like "wget" to suck down all of the files, even if you don't actually have access to the production system.