Thursday, June 26, 2008

FTP in AS400

File Transfer Protocol can be used to transfer files from server to your PC and vice versa. Steps are shown for easy and basic operations

1. Goto RUN in Windows Desktop.
2. Type Cmd and enter.
3. Then type
1. ftp ipaddress
2. user name
3. password


If you want to transfer the file from the server. Then

1. Goto proper location by (CD directoryname in server).
2. Type LCD(local directory) folder name.
3. Get filename (to copy one file from the remote machine to the local machine )

If you wannt to get multiple file's from server. Then
In step 3, there is a slight change.

3. mget * (copies all the files in the current remote directory to your current local directory, using the same filenames. Notice the use of the wild card character, *.)

(to copy multiple files from the remote machine to the local machine;
you are prompted for a y/n answer before transferring each file );

If you wannt to transfer file from your local PC to Server then

3.mput *( to copy multiple files from the local machine to the remote machine;
you are prompted for a y/n answer before transferring each file );

3.put (to copy one file from the local machine to the remote machine );

Some important commands in FTP are also as follows.

open to open a connection with another computer
put to copy one file from the local machine to the remote machine
pwd to find out the pathname of the current directory on remote machine
quit to exit the FTP environment (same as bye)
rmdir to remove (delete) a directory in the current remote directory
bye to exit the FTP environment (same as quit)
cd to change directory on the remote machine
close to terminate a connection with another computer
delete to delete (remove) a file in the current remote directory
? to request help or information about the FTP commands

1 comment:

Blogger said...

Water Hack Burns 2 lb of Fat OVERNIGHT

Over 160000 men and women are trying a simple and SECRET "water hack" to lose 2lbs each and every night in their sleep.

It's scientific and it works on everybody.

You can do it yourself by following these easy steps:

1) Go grab a clear glass and fill it up with water half glass

2) Proceed to follow this weight losing HACK

and you'll be 2lbs thinner in the morning!