MC Press Online Forum
Welcome, Guest
Please Login or Register.    Lost Password?
ftp an ifs folder... (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: ftp an ifs folder...
#75526
J.Wells (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
ftp an ifs folder... 3 Years, 1 Month ago Karma: 0  
Offhand, I do not know of a way to do this in one fell swoop (like with an mput). <p>Since you are doing this programmatically, I assume that it will be an onoing process. So, I would write a program to build an instruction set for batch ftp processing. If you are unfamiliar with batch ftp processing on the 400, you can search this site for some good examples. Also, I will be happy to answer any questions as they arise. <p>Joe
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#75527
vin@planetchan.com (User)
Junior Boarder
Posts: 38
graphgraph
User Offline Click here to see the profile of this user
ftp an ifs folder... 3 Years, 1 Month ago Karma: 0  
Zip all the folders/files into a single zip file. <BR>
ZIP on the AS400 likes to hide within a java tool called "jar". Java tools of course hide within the QSHELL. <p>Example: jar CFM myfile.zip /tmp/mystuff/mydoc.pdf <p>Merging the contents of the zip file with existing folders on the destination machine can be tricky. <p>-Vincent.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#75528
Guest.Visitor (Visitor)

Birthdate:
ftp an ifs folder... 3 Years, 1 Month ago  
Thanks for the replies. Actually the process will have OUTQ's attached to a DTAQ which moves it to the proper folder. For the ftp portion, I was going to use a PF that contains the ftp commands which will build the script.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#75529
Guest.Visitor (Visitor)

Birthdate:
ftp an ifs folder... 3 Years, 1 Month ago  
Joe Wells wrote:<BR>
> Offhand, I do not know of a way to do this in one fell swoop (like<BR>
> with an mput).<BR>
<P>
So, why wouldn't he use MPut?<BR>
<P>
Bill<BR>
<P>
<P>
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#75525
Guest.Visitor (Visitor)

Birthdate:
ftp an ifs folder... 3 Years, 1 Month ago  
have a folder in the ifs that contains subfolders and each of the subfolders contain pdf documents. I want to ftp the Main folder that will contain the subfolders to the ifs on another iseries (eventually it will go to a crystal server but I dont have the address yet and this is for testing since I'm doing it programmatically) Can I ftp whole folders and thier contents? What would I put in the command? e.g. PUT ??????/???? <BR>
Thanks for any replies... Larry
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#75530
vin@planetchan.com (User)
Junior Boarder
Posts: 38
graphgraph
User Offline Click here to see the profile of this user
ftp an ifs folder... 3 Years, 1 Month ago Karma: 0  
Why not use MPUT? <BR>
Because he says he wants to FTP "whole folders and thier contents". <BR>
Vincent.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
   MC-STORE.COM