Ask the Expert

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 first published in April 2001

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: