Charles Samuels
2007-07-10 17:12:29 UTC
Hi, I am downloading data via ftp with :
NMFTP1->Host=hostname;
NMFTP1->Vendor = NMOS_AUTO;
NMFTP1->UserID = "anonymous";
NMFTP1->Password = "junk";
NMFTP1->Connect();
NMFTP1->ChangeDir(dirname);
NMFTP1->Download("alaska." + today, SaveFileName);
And everything works correctly, but I want to then go to another host and
obtain more data and when I try to disconnect from this host,
NMFTP1->Disconnect();
I get an Access Violation error.
Can anyone tell me what I am doing wrong?
Thanks Chuck
NMFTP1->Host=hostname;
NMFTP1->Vendor = NMOS_AUTO;
NMFTP1->UserID = "anonymous";
NMFTP1->Password = "junk";
NMFTP1->Connect();
NMFTP1->ChangeDir(dirname);
NMFTP1->Download("alaska." + today, SaveFileName);
And everything works correctly, but I want to then go to another host and
obtain more data and when I try to disconnect from this host,
NMFTP1->Disconnect();
I get an Access Violation error.
Can anyone tell me what I am doing wrong?
Thanks Chuck