title: python test sending files over ftp
body: <p>I have very little knowledge in testing and I wish to seek guidance in the following scenario - I have a piece of code where it takes in some arguments (filename, path etc) and uploads the file specified to a remote ftp server. So, the goal of the testing would be to check if the file is uploaded to the correct directory in the ftp server.</p>
  
  <p>Now, I don't suppose I should involve the remote server in my test script, so should I setup a ftp server locally and mimick the file structure, or is there a mock ftp tool available in python to facilitate these scenarios?</p>
  
  <p>Also, is this unit testing or functional testing?</p>