View Single Post

   
  #3 (permalink)  
Old 01-04-2008, 11:39 PM
Mike
 
Posts: n/a
Default Re: How to pick up file from user's PC when user logon

In article <koe9b0d2efoj20slpae3pabljmeumfms14@4ax.com>, ashelley@inlandkwpp.com wrote:
> On Wed, 26 May 2004 23:05:44 +0800, Y.Wei <y_wei@email.com> wrote:
>
>>Hi,
>>Our users logon to our AIX server via telnet session. Would it be
>>possible that I can run a script automatically when the user log-on
>>and pick up an ascii file in the c:\ drive and send it to the AIX
>>server? Someone told me that this couldn't be done as the user's PC
>>has to run a ftp session. Is this true?
>>
>>Thanks.
>>Y.Wei

>
> You could write a batch file that uploaded the file before they telnet
> in.
>
> -Adam


Use smbclient to grab files from a user's machine. Put this request
into the users $HOME/.envfile (or $HOME/.kshrc, the name is site
dependent) and not in the user's $HOME/.profile.

Mike
Reply With Quote