I Can’t find my file on the AS400 after FTPing?

5 pts.
Tags:
AS/400 FTP
FTP
I transfer a text file to the AS/400 and I can see it from FTP but when I go to the AS/400 and the library where I put the text file the file does not show. Can anyone help me? ftp> open To 192.168.168.2 Connected to 192.168.168.2. 220-QTCP at 192.168.168.2. 220 Connection will close if idle more than 5 minutes. User (192.168.168.2:(none)): mikeh 331 Enter password. Password: 230 MIKEH logged on. ftp> cd MIKEH 250 "/MIKEH" is current directory. ftp> dir 200 PORT subcommand request successful. 125 List started. MIKEH 595351 03/09/09 11:42:02 *STMF skus 250 List completed. ftp: 57 bytes received in 0.02Seconds 3.56Kbytes/sec. ftp>

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi Mhutch
Perhaps it’s there but the object security prevents you from seeing it.
Phil

=======================

1. Login to FTP
2. Type: BINARY
3. Type: QUOTE SITE NAMEFMT 0
4. Try viewing the files in your directory.

Hi,

It seems that when you started your FTP session you somehow got into the IFS (you can switch between the IFS and the library structures using NAMEFMT 0 and NAMEFMT 1). Your file has therefore been put in an IFS directory instead of in a library. To work with the file that you have in the IFS you can use the command WRKLNK :-

<b>WRKLNK ‘/MIKEH/*’</b>

You can still get this file from the IFS to a library using the CPYFRMSTMF command :-

<b>CPYFRMSTMF FROMSTMF(‘/MIKEH/MIKEH’) TOMBR(‘/QSYS.LIB/MIKEH.LIB/MIKEH.FILE/MIKEH.MBR’)</b>

Regards,

Martin Gilbert.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

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

Forgot Password

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

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

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

Thanks! We'll email you when relevant content is added and updated.

Following