Advertisement
Guest User

Untitled

a guest
Jun 1st, 2016
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. import pyfilemail
  2.  
  3. # Login to a Filemail account
  4. user = pyfilemail.User(username='simon.pipeline@gmail.com',
  5. password='pipeline2014')
  6.  
  7. #user = pyfilemail.User('anonymous')
  8.  
  9.  
  10. # Setup a transfer
  11. transfer = pyfilemail.Transfer(user,
  12. to='bjork.simon@gmail.com',
  13. subject='My BIG file no email can handle',
  14. message='You will not belive the speed of this download!',
  15. notify=True,
  16. confirmation=True,
  17. days=7,
  18. password='poop')
  19.  
  20.  
  21. transfer.add_files('F:/vfx305-class09.mp4')
  22.  
  23. transfer.send(auto_complete=True)
  24.  
  25. #user.logout()
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33. Traceback (most recent call last):
  34. File "G:\python\python_tmp.py", line 133, in <module>
  35. password='pipeline2014')
  36. File "D:/poop/Lib/site-packages\pyfilemail\users.py", line 42, in __init__
  37. self.login(password)
  38. File "D:/poop/Lib/site-packages\pyfilemail\users.py", line 148, in login
  39. hellraiser(res)
  40. File "D:/poop/Lib/site-packages\pyfilemail\errors.py", line 68, in hellraiser
  41. raise error
  42. pyfilemail.errors.WrongUsernamePassword: Wrong username and password: simon.pipeline@gmail.com / pipeline2014
  43. [Finished in 2.2s with exit code 1]
  44. [shell_cmd: python -u "G:\python\python_tmp.py"]
  45. [dir: G:\python]
  46. [path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\OpenVPN\bin;C:\Program Files (x86)\Xanya\Bin;C:\Python27;C:\Users\Simon\Dropbox\work\pipeline\software\ocio\OCIO_1.0.9\pyglue\python2.7\site-packages\pyOpenColorIO;C:\Users\Simon\Dropbox\work\pipeline\python\Scripts;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\Git\cmd;C:\Program Files (x86)\QuickTime\QTSystem\]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement