For Programmers: Free Programming Magazines  


Home > Archive > PowerBuilder > March 2004 > PB FTP Problem - Out of date directory list









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author PB FTP Problem - Out of date directory list
Ellen Hoffmann

2004-03-29, 3:39 pm

Hello,
I am having a problem with my ftp process. I am pulling down a list
of files in a specified directory in order to search for a particular
file. If this file exists, then it is processed and renamed to an
entirely different name. The function that I am using to pull each
filename is InternetFindNextFileA. When the entire process is
finished the window closes, thus destroying all objects that are used
in this process. The ftp object used for this session is
also destroyed. When I open the window to start the process all over
again (a new session is opened), the file list is wrong. It does not
list the new renamed file. It lists the old file which no longer
exists on the server, therefore, I receive the ftp error, "No such
file or directory". This problem occurs in both Powerbuilder 8 and 9.
Does anyone have any suggestions? Any help would be greatly
appreciated.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com