Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
ftp script
Name: Andy Date: June 17, 2003 at 09:37:22 Pacific OS: Unix CPU/Ram: ? 1 Gb
Comment:
Hello, could someone tell me please, how to implement in a script an kind of FTP batch file, which anonymously gives userid and psw and a put and bye command whitin this script. Thanks in advance
ftp somehost <<-ENDFTP ascii put somefile.dat bye ENDFTP
All commands between the "ftp" line and the final label (you can use any convenient label) are passed to the ftp session by the shell after variable expansion etc.
You must have a file named .netrc in your home directory containing entries specifying host/account/password along lines of:
machine somehost login u password p
The .netrc file must be owned by you and not readable by anyone else, i.e:
chmod u=rw,go= .netrc
0
Response Number 2
Name: ORIMON Date: July 15, 2003 at 10:15:22 Pacific
Reply:
how to put multiple files one per minute. I do not want ftp calls to be within for do ---done loop so that i do not have to reconnect each time for each file.
Summary: Hi. Although what u r trying to say is not very difficult by If I am at you position I will use this approach In place of - cd to the most recently created subdirectory under the one that I'm place...
Summary: I like the resources that you provided with FTP question. I need help with parsing a file on an IRMFTP server with a name like "FAU.PB1.budget". How do I write an FTP script to parse the filename "b...
Summary: hi all, This is regarding ksh script. I have a ftp script which does fine job in copying files to remote server. But i still have a small problem to solve. Directories are been created in the ser...