Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

ELS1

Sending Files

This topic is 6198 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am working on a SMTP anonymous email program...but i am stuck. how in the hell do i send files? i mean...what command is there to send a file(using telnet)? thanks

Share this post


Link to post
Share on other sites
Advertisement
SMTP does not allow the transfer of binary information, only text. You need to encode any binary information so that it is just text.
You would need to make your message a multipart one. One would be the actual message body. Another would be an encodeded part. You could encode with UUEncoding (I think another was base64).
Now, if you''ve already built up a text file that contains all of the SMTP commands and parameters and just want to "send" that, try a copy/paste from notepad.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!