Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

FTP from AS400 to PC - data files are zero bytes - HELP!

Posted on 2004-04-05
2
Medium Priority
?
472 Views
Last Modified: 2013-11-29
Howdy,
I'm not an AS400 person and don't need to become one!  However, I do need to get some data off of an AS400 and onto a Windows PC for the purpose of writing a program that will parse the data files retrieved and "convert" them to something else (sql server, in this case).

Background:
I was able to successfully FTP from the AS400 to my FTP server.  I could browse contents and  navigate the dir structure of the ftp server from the 400 after being logged in.  

I could "PUT" a data file to the ftp server and a file with an identical name would appear there.  However it would always contain zero bytes.  

If I transferred a program file (as identified by the AS400 technicians there), it would be greater than zero bytes.

I tried toggling the transfer "mode" from active to passive (and vice-versa).  I tried transferring in Binary mode, ASCII mode, Image (same as binary) mode.  I did these in all possible combinations of each.  No dice...still zero bytes on data files, more than zero bytes on program files.

QUESTIONS:
1)   How can I transfer data files in a batch (for instance, get the entire library's contents) so that the data within the file actually transfers also

2) Is FTP'ing files from the AS400 the best (or even acceptable) way to get data out of the 400 for conversion for use in Windows (SQL server or MS Access, for instance)?

0
Comment
Question by:colepc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
enkrypter earned 1000 total points
ID: 10762245
Try scripting your transfers form the AS400 to a windows FTP server.  Try a different FTP client.  Check network hardware.  Possibly a firewall or proxy server might have a hand in this.  I have seen 3com switches go bad and not pass traffic that was a certain size.  A bad switch can do some very odd things.  I doubt that is your issue, but it's worth checking out at the last minute...
0
 

Author Comment

by:colepc
ID: 11986874
just to close this question.  for the record, no acceptable answer was given.  Merry Christmas, enkrypter!!!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This program is used to assist in finding and resolving common problems with wireless connections.
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question