I am using WinPcap for packet capturing through c++ & FileZilla like agent to upload and download stuff.
Using FTP commands CWD, PWD, RETR.. etc from captured packets, I can get FTP path of Remote machine from which I am downloading or to which I am uploading my stuff. :)
But I am not able to get full path of document form which it is getting uploaded or to which it is getting download :(
I tried to parse all the packets going from my machine for full source path. I guess it is not there in any of the packets. Any suggestions?
Thanks in Advance..
FTP will typically use a relative path instead of the absolute path as seen on the filesystem. The server is simply not providing you with that information and there is nothing you can do about it.