I know you can use os.chdir(dir) in python to revert back and forth but is there a simpler option(in the libraries or ftplib) to temporarily change the directory until the ftp transfer is over in python.
I basically want to temporarily change the current directory during the ftp transfer only.