Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Bug Reports
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Bug Reports Post about errors or bugs encountered.


FTP library - won't getfile on PDA more than once


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-29-2007, 01:06 AM
Junior Member
 
Join Date: Apr 2007
Posts: 42
Send a message via Yahoo to mwaite
Default FTP library - won't getfile on PDA more than once

I have a program that every x minutes retreives a text file from my FTP server. On the PDA, the program will log in to the FTP server and download the file, save it to disk, and display it. However any subsequent requests to download the file are ignored. That is, I can see on the FTP server the program is logging in, then logging out without retreiving the file. Strange thing is that the program will actually have the text from the initial download. It seems the FTP library is caching the data and instead of downloading it again, it just presents the initial text file's data. I close the FTP connection after each login and download, and have even tried leaving it open. I have made sure the contents of the file, including the date/time, on the server has changed, it case it's just being thrifty (only downloading if data has changed), but that's not the case. Also, the same exact program running on the PC instead of the PDA will download the text file every time! I'm stumped!
Anyone ever see this?
Reply With Quote
  #2 (permalink)  
Old 04-29-2007, 01:11 AM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,343
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Since the file explorer works a litle diferent in the pda, have you tryed to delete the previous file on the pda before a new download?
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #3 (permalink)  
Old 04-29-2007, 06:37 AM
Junior Member
 
Join Date: Apr 2007
Posts: 42
Send a message via Yahoo to mwaite
Default

Yeah I did, even tried emptying the Recycle Bin (Resco Explorer), no luck. Thanks for the suggestion anyway. This is baffeling me and I really suspect it's a bug!
Reply With Quote
  #4 (permalink)  
Old 04-29-2007, 01:32 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,185
Default

I've updated the FTP library and it should work properly now.
The problem was (as you wrote) that it looked in the cache instead of reloading the file.
You can download it here: www.basic4ppc.com/Downloads.html
Reply With Quote
  #5 (permalink)  
Old 04-30-2007, 03:37 AM
Junior Member
 
Join Date: Apr 2007
Posts: 42
Send a message via Yahoo to mwaite
Default Thanks for the quick response!

The new FTP library fixed it! Thanks a bunch for helping me get this working right away!

Regards,
Mike
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
PhoneticAlgorithms Library (ex-StringComparison Library) moster67 Additional Libraries 10 11-11-2008 08:46 PM
GetFile to save to other DIR tcgoh Questions & Help Needed 9 08-09-2008 06:17 AM
Door library (Beta) - Special library Erel Official Updates 48 07-18-2008 03:33 PM
Merging Outlook library and Phone library Erel Official Updates 2 07-14-2008 04:38 PM


All times are GMT. The time now is 03:32 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0