Problem solve Get help with specific problems with your technologies, process and projects.

Translation for files over 1Gb that get translated to Mb

When using DIR from an FTP prompt, for files over 1Gb the file size is translated to Mb. Is there anywhere that...

this translation is indicated? We are trying to FTP data from the AS/400 to an NT box and we want to use the file size in a progress bar and the above makes the figure inaccurate for files over 1Gb.

You have to get the list in Unix format. This can be done:

1. Using the chgftpa in the server side (will set default listing to Unix format for all incoming clients).

2. Using site command:

From AS/400 FTP client -- site listfmt 1 from other ftp clients -- quote site listfmt 1.

The Unix format displays size above 1 GB correctly.

This was last published in April 2001

Dig Deeper on FTP

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.