| Blogs | Classifieds | Downloads | FlashChat | Gallery | Googlemap | Invite Friends | Links | Projects | Reviews | Wiki |
| |||||||||
Welcome to the pSeries Tech Forums,
our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software. You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments. Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community. Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
| Our Sponsors | |
| | |
| Want to advertise? | |
![]() |
| | LinkBack | Thread Tools |
|
#1
| ||||
| ||||
| I need some help, I want to upload a file to IBM via a shell script. Here is the trick, it is using a web application to do a HTML Post operation How do I do this w/o having to use a web browser. And I need to save the result that would be streamed back to me. D |
|
#2
| ||||
| ||||
Hi I don't know so much about programming but i know in older programming languages you can open a session to the underlaying OS, then you can start any program and do some tasks like upload a file from a web site using the wget program .... Hope this helps
__________________ cd3lgad0p |
|
#3
| ||||
| ||||
It sounds to me like a job for curl. There is a version for aix out on the toolkit site. Curl lets you add post information to fill out forms and can even be pointed to a cookie file. The results will come to the screen or can be directed into an output file. ftp://service.software.ibm.com/aix/f...RPMS/ppc/curl/ |
|
#4
| ||||
| ||||
| I need to make this into a post statement to take a command line file and automagically upload it to IBM. Enter the name of the MDS survey file: <br> <form enctype="multipart/form-data" action="/webapp/set2/mds/mds" method="post" name="getfile"> <input type="file" name="mdsData" value="file.txt" size=30> <p> <input type="submit" name="sendfile" value="Upload file"> Anyone got any ideas? I not a coder ![]() |
|
#5
| ||||
| ||||
You might take a look at the wget program specially at the --post-file=file option. I have never used wget like that but from the man page it looks that it might do what you want. You'll find wget in the "AIX Toolbox for Linux Applications". IBM AIX Toolbox for Linux Applications - GNU and open source tools for AIX |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |