Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Communications > FtpGetFile Extd Err

Thread Tools Display Modes
Old 04-03-2003, 12:36 AM
xiaohay xiaohay is offline
Join Date: Apr 2003
Location: Los Angeles, CA
Posts: 1
Default FtpGetFile Extd Err

I use a very typical sample VB program downloaded from website using FTP WinInet APIs (but not Microsoft Inet control, for Inet control can not transfer the Ascii text file by executing "GET" command, only the binary) transfer files from/to remote mainframe server.

And I am stuck with this function: FtpGetFile for the following error messages: (this function always return false)

rcd Extd Err: 0 550 CWD cmd failed: EDC5129I No such file or directory.

FtpGetFile Err: 0 200 Representation type is Ascii NonPrint
227 Entering Passive Mode(159,83,73,4,7,223)
501 command aborted --FTP server not configured for SIZE
550 Name length error for pathname 01 1 15 VB 255 6233 PS SYSTC.MYTEST.DATA

I am wondering if I need to figure out the configuration in our FTP server for the file SIZE particularly, for each listed file in the remote server, I don't see the size being specified, except the file name, file type, date modified, size column always show blank, is this cause the problem?

Thank you for any input!
Reply With Quote

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FtpGetFile - PROBLEM shannon Communications 4 07-30-2002 10:47 PM
FTPGetFile problem ebanford Communications 1 05-24-2002 04:38 AM


Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..