[AccessD] FTP Problem

Jim Dettman jimdettman at verizon.net
Thu Sep 6 07:42:18 CDT 2007


Mark,

  Use the standard Windows FTP client to attempt a transfer.  Your ISP can't
argue with that if it doesn't work.

  The first thing that would come to mind is that the transfer type is set
incorrectly.

  Drop to a command line prompt, then type "FTP".

  The type "OPEN <site address>"

  Provide username/pswd

  Use "dir" or "ls" to see the files available.  "CD" to change directories
if need be.

  Use "lcd" to change directory on your PC.

  Depending on the file type, either do "SET ASCII" or "SET BINARY"

  Do a "GET <file name>" to get the file.

  Then "QUIT"

  
   Now look at the file.  Is it correct?  If it is, then it's something
being done in the code.  If not, well then you've got some ammo to go back
to the ISP with.

Jim

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte
Sent: Tuesday, September 04, 2007 12:35 PM
To: accessd at databaseadvisors.com
Subject: [AccessD] FTP Problem

Hello All,

I finally found where I got my ftp code...

http://www.databaseadvisors.com/newsletters/newsletter200503/0503howtocreate
anftpclientwithinaccess/howtocreateanftpclientwithinaccess.asp

"By William Hindman,Darren Dick, and Jim Lawrence "

This code has been running 24/7 for the last few years...no problem.  Last 
week something changed with my ISP...and of course they are telling me the 
problem is with whatever program I am using to FTP(after I explain what FTP 
is)...anyway...here is the problem:

I can use IE to navigate to the site...I can see the files...I can download 
them...the problem is when I do it via code.  I can connect and open the FTP

directory.  When the code brings back the first file found...it is mostly 
"empty rectangles" with some of the file name mixed in...and it can't parse 
out the name.  I'm pretty sure it has something to do with them changing 
servers.

Anyone have any ideas as why the file name would be returned 'garbled'...or 
what I need to find out from them?

Thanks,

Mark A. Matte

_________________________________________________________________
Kick back and relax with hot games and cool activities at the Messenger 
Cafi. http://www.cafemessenger.com?ocid=TXT_TAGHM_SeptHMtagline1





More information about the AccessD mailing list