-2

Think of a situation I transferred a file through FTP, in which log I can find the name of the file transferred. Kindly mention the location of the log file.

Thanks In Advance.

3
  • Please edit with info on what ftp client you are using. – dza Sep 20 '20 at 18:11
  • We cannot tell you what you did without sufficient detailed information about the tools you used. In general : servers only log detailed information if they are configured to do so (and you can’t travel into the past to change the log level to start collecting details you need because you now need them) and the same for clients, usually they don’t maintain transfer logs although they can be configured to do (but not AFTER the fact) – Bob Sep 20 '20 at 20:51
  • No. No. No, whatever transfer protocol is used, I just told FTP as an example. i want to know if the file transferred through ftp. is it possible to check that particular file name in any of the log files in the server? Not in the client software used. – TechyBibi Sep 21 '20 at 4:37
0

That depends if you used a commandline client or a gui client.

The commandline client is easy, the standard way is to provide a -v|--verbose flag to enable showing filenames when copied, or read the man page for said cli client. You can save this output to stdout by piping the command ftp -v folder remote.com:21 > log.txt notice the > log.txt at the end.

If it's a gui it's up to you to find the checkbox to enable logging, or read the manual where/if it describes logging.

Btw, you never mentioned what client, this is essential to give you the answer.

1
  • No. No. No, whatever transfer protocol is used, I just told FTP as an example. i want to know if the file transferred through ftp. is it possible to check that particular file name in any of the log files in the server? Not in the client software used. – TechyBibi Sep 21 '20 at 4:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.