Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
idFTP Problem
#1
I have a bizarre problem with FTP.  I have a small program that has been working for years.  It's purpose is to upload files from our office to our website to be used by a plugin on the site.  It no longer works from the office computer that it runs on.  It works perfectly from my development computer at home.  I can't even figure out how to debug the issue.  Here's the code which does report to me each day on success/failure.  I've tried inserting messages to let me run it
on the office computer remotly but haven't get a good response.  Where can I find a list of commands for the idFTP module?
dbFTP->Passive  = true;
dbFTP->Port    = 21;
dbFTP->Host     = "hostname;
dbFTP->Username = "usernamer";
dbFTP->Password = "password";
String resultstext = "database ftp unknown failure";      // email report text
dbFTP->Connect();
try {
     if (dbFTP->Connected())   {
        dbFTP->ChangeDir("/public_html/Map");
        GetRemoteFilenames();
        Delay(1);
        CopyDBtoFTPServer();       // copies files from aisla folder to ftp server
        GetRemoteFilenames();      // check on results
        resultstext = "Backed up: ";
     }
}
catch(...)  {
     resultstext = "database backup failed";
}
dbFTP->Disconnect();
Main->SendaneMail(resultstext);
Reply


Messages In This Thread
idFTP Problem - by OldBob1938 - 10-31-2022, 07:23 PM
RE: idFTP Problem - by rlebeau - 11-01-2022, 04:04 PM
RE: idFTP Problem - by OldBob1938 - 11-09-2022, 04:32 PM
RE: idFTP Problem - by rlebeau - 11-09-2022, 06:44 PM
RE: idFTP Problem - by OldBob1938 - 11-12-2022, 06:00 PM
RE: idFTP Problem - by rlebeau - 11-14-2022, 09:35 PM
RE: idFTP Problem - by OldBob1938 - 11-19-2022, 09:12 PM
RE: idFTP Problem - by rlebeau - 11-22-2022, 11:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)