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 issue
Name: hoogcg Date: January 20, 2005 at 07:32:22 Pacific OS: HP-UX CPU/Ram: Not relevent
Comment:
Here's my scenario: Through ftp, I need to log into a remote machine and do the following: - cd to the most recently created subdirectory under the one that I'm placed in when I log in to the machine. - get all the files in that subdirectory only
It's figuring out how to cd to the correct subdirectory that is the real problem. Any insights are appreciated.
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 placed in when I log in to the machine. what I will do I will create an script which will do the following task through the cron job Create the soft link of the most recently created subdirectory in the default FTP logging directory.
Then use the ftp with ftp script to get the files placed in this directory.
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...
Summary: I need a ftp script to delete old text files on a remote server based on the file retention rules such as 2 weeks, 1 month, etc. It can be written as a Korn script or Perl. Thanks for your help. ...