Ftp an entire PC folder to the IFS
Create the directory on the IFS (under ROOT/Home)
Give everyone access (*RWX)
Find you folder on your PC to "upload"
I selected C:\Documents and Settings\jamie\Favorites
Then click on start
From the pop up select Run...
Then you get your Run window....
Type cmd (this is XP by the way)
Now you get your DOS comman window
type:
FTP 192.168.1.1
The window will return that you are connected to your Iseries
and prompt you for your userid.
Type it in hit <ENTER>
then enter your password (hit <ENTER>)
If you did a DIR now in the DOS window you would
get a listing of all the "stuff" in QGPL
but we want our home directory to be on the IFS.
To do this we must change our name format to 1
get message back saying using name format 1
Then change local directory (the PC directory where your upload data is stored)
then type (get message interactive mode off)
lastly put all the files in PC directory C:\Documents and Settings\jamie\Favorites
to IFS folder /home/upload
Thats it......
Create the directory on the IFS (under ROOT/Home)
Give everyone access (*RWX)
Code:
MD DIR('/home/upload') DTAAUT(*RWX) OBJAUT(*ALL)
I selected C:\Documents and Settings\jamie\Favorites
Then click on start
From the pop up select Run...
Then you get your Run window....
Type cmd (this is XP by the way)
Now you get your DOS comman window
type:
FTP 192.168.1.1
The window will return that you are connected to your Iseries
and prompt you for your userid.
Type it in hit <ENTER>
then enter your password (hit <ENTER>)
If you did a DIR now in the DOS window you would
get a listing of all the "stuff" in QGPL
but we want our home directory to be on the IFS.
To do this we must change our name format to 1
Code:
quote site namefmt 1
Code:
cd "/home/upload"
Code:
lcd C:\Documents and Settings\jamie\Favorites
Code:
prompt
to IFS folder /home/upload
Code:
mput *.*
Thats it......
Comment