FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 12th, 2006, 09:29 AM
NoamS NoamS is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 1 NoamS User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 9 sec
Reputation Power: 0
Question FTP termination by server in receive mode

Hi to who ever can help!!

I am busy writing a FTP engine for a PIC micro-controller using C. The MCU has to receive encrypted files via the Ethernet, save them on an external flash, decrypt them and so on… The application works very well… My only problem is that when the MCU recognizes that the file is not “meant” for it (by decrypting the first byte and comparing it to a saved value) it has to terminate the file transmission and not receive the whole 512KB file… How do I do it elegantly without getting the user terminal stuck? (I tried to give a command to close the port but then the user terminal just tries to resend the packets). Can I also send a message back saying, “The file is corrupted” or something similar?

Thanks, Noam.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > FTP termination by server in receive mode


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT