Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pyfilemail
- # Login to a Filemail account
- # user = pyfilemail.User(username='simon.pipeline@gmail.com',
- # password='pipeline2014')
- user = pyfilemail.User('anonymous')
- # Setup a transfer
- transfer = pyfilemail.Transfer(user,
- to='bjork.simon@gmail.com',
- subject='My BIG file no email can handle',
- message='You will not belive the speed of this download!',
- notify=True,
- confirmation=True,
- days=7,
- password='poop')
- transfer.add_files('F:/vfx305-class09.mp4')
- transfer.send(auto_complete=True)
- user.logout()
- Traceback (most recent call last):
- File "G:\python\python_tmp.py", line 146, in <module>
- password='poop')
- File "D:/poop/Lib/site-packages\pyfilemail\transfer.py", line 84, in __init__
- self._initialize()
- File "D:/poop/Lib/site-packages\pyfilemail\transfer.py", line 108, in _initialize
- hellraiser(res)
- File "D:/poop/Lib/site-packages\pyfilemail\errors.py", line 61, in hellraiser
- errormessage = response_dict['errormessage']
- KeyError: 'errormessage'
- [Finished in 4.2s with exit code 1]
- [shell_cmd: python -u "G:\python\python_tmp.py"]
- [dir: G:\python]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement