View Full Version : Looking for Hex viewer
rfresh
02-25-2009, 06:36 PM
(Sorry this isn't directly PHP related but I didn't see any other area and I am a PHP programmer)
I'm looking for a Hex viewer to run on my windows PC to check files on my Linux server. Does anyone know of an FTP client that has a Hex view mode?
Thanks...
Fou-Lu
02-25-2009, 11:36 PM
I'm thinking... computer / pc discussions. That should do :)
I don't know offhand. Oesxyl may have some better ideas, he uses both platforms a lot from the sounds of it.
oesxyl
02-26-2009, 01:09 AM
I'm thinking... computer / pc discussions. That should do :)
I don't know offhand. Oesxyl may have some better ideas, he uses both platforms a lot from the sounds of it.
I don't use both, :)
(Sorry this isn't directly PHP related but I didn't see any other area and I am a PHP programmer)
I'm looking for a Hex viewer to run on my windows PC to check files on my Linux server. Does anyone know of an FTP client that has a Hex view mode?
Thanks...
some of my clients use total comander( ex windows commander, a improved clone of norton commander) and I know it has a hex viewer.
On linux you can use midnight commander in same way.
Once you know how to use one of them is easy to use any, :)
how do you intend to use a hex viewer to check the files? or more exactly what do you want to check?
best regards
Fou-Lu
02-26-2009, 01:25 AM
I don't use both, :)
Sorry, my bad. I knew you used a lot of linux, I assumed windows on top of it ;)
oesxyl
02-26-2009, 02:02 AM
Sorry, my bad. I knew you used a lot of linux, I assumed windows on top of it ;)
no problem and you have no reason to be sorry, :)
best regards
rfresh
02-26-2009, 06:57 AM
I don't use both, :)
some of my clients use total comander( ex windows commander, a improved clone of norton commander) and I know it has a hex viewer.
On linux you can use midnight commander in same way.
Once you know how to use one of them is easy to use any, :)
how do you intend to use a hex viewer to check the files? or more exactly what do you want to check?
best regards
I am running windows as my local PC but need to check files on my Linux server. I was hoping to find an FTP tool that would allow me to select a file on the server and look at it in hex.
I'm have some work where I'm writing files to different OS's and I need to check their end of line chars to make sure they are right.
oesxyl
02-26-2009, 09:25 AM
I am running windows as my local PC but need to check files on my Linux server. I was hoping to find an FTP tool that would allow me to select a file on the server and look at it in hex.
I'm have some work where I'm writing files to different OS's and I need to check their end of line chars to make sure they are right.
converting newlines according to the os is made by the ftp client when you use mode ascii. See this link and search in the documentation of your favorite ftp client:
http://en.wikipedia.org/wiki/File_Transfer_Protocol#Data_format
this is also true for mc( midnight commander) and tc( total commander).
View mode usualy cheat and reformat data for you to be readable and in hex mode is very hard to inspect a file if is not a small file.
If you still want to use binary mode to transfer the files using ftp you can use some script to convert them after transfer.
best regards
drhowarddrfine
02-27-2009, 04:39 PM
There are several hex editors for Windows. As an assembly programmer, I haven't done Windows in years so I've forgotten the names and where to look them up. They're on my Windows box but I'm not home to dig that out to look it up.
If you can ssh to your server, you can use 'od' to to get the hex of any file.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.