| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | curl trick |
Hello All, If you noticed in the main script, I used cURL to upload the infopack to my website: === Cut === echo "user=username:password" | curl -K - -T ./mininfo.zip ftp://; === Cut === (That's all on one line, BTW.) What I'm doing there is telling cURL to ignore its normal configuration file and instead read the configuration from stdin. What this accomplishes is allowing the command to run while not exposing the username or password to anyone who is currently logged into the system that might run a "ps" (show processes) command, therefore ensuring better security of my webhost's FTP site that I upload to. --Sean ... Predestination was doomed from the start. --- GoldED+/LNX 1.1.5-b20130910* Origin: Outpost BBS * Johnson City, TN, USA (1:18/200) SEEN-BY: 18/200 19/33 34/999 90/1 116/18 120/331 123/500 128/187 140/1 218/700 SEEN-BY: 226/160 230/150 261/38 100 266/404 267/155 280/464 282/1031 1056 SEEN-BY: 292/907 908 320/119 340/400 393/68 396/45 633/267 640/384 712/848 SEEN-BY: 770/1 2320/105 @PATH: 18/200 261/38 712/848 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.