import putfilegetfilegui class ftpputfileform(getfilegui ftpform)title 'ftpputfileguimode 'uploaddef do_transfer(selffilenameservernameremotediruserinfo)putfile putfile(filenameservernameremotediruserinfoverbose=falseif __name__ ='__main__'ftpputfileform(mainloop(running this script looks much like running the download guibecause it' almost entirely the same code at work let' upload some files from the client machine to the serverfigure - shows the state of the gui while starting one figure - ftp putfile input form and here is the console window output we get when uploading two files in serial fashionhere againuploads run in parallel threadsso if we start new upload before one in progress is finishedthey overlap in timec:\pp \internet\ftp\test\putfilegui py server name =ftp rmi net user name=lutz local dir =file name =sousa au password=xxxxxxxx remote dir =upload of "sousa ausuccessful server name user namelocal dir file name ====ftp rmi net lutz about-pp html client-side scripting