Re: passing passwords vi Putty possible ?
From: newexpectuser (anthonypieper_at_cs.com)
Date: 11/05/03
- Next message: Xanthalas: "Cannot connect to SSH from one location"
- Previous message: Per Hedeland: "Re: passing passwords vi Putty possible ?"
- In reply to: Vahid: "Re: passing passwords vi Putty possible ?"
- Next in thread: Nico Kadel-Garcia: "Re: passing passwords vi Putty possible ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 5 Nov 2003 04:29:47 -0800
sunman@ureach.com (Vahid) wrote in message news:<64b3dda3.0311041424.39d83fb5@posting.google.com>...
> Sorry, I misundrestood your question,I am not very clear on the
> question then.
> You want to ssh to a secure ftp server? Do you mean sftp to a secure
> server? You can not sftp/ftp to an ftp server and run a shell script.
"Yes, I want to script our dataserver to connect to our secure ftp
server".
> Also, do you know the names of the files you are downloading or have
> no idea what the names are and have to do mget *.*?
"I have no idea what the names are, I just want to get all the files
in a folder"
> If you don't know the name of the files, how do you want to delete
> them without using *.* ?
"After I transfer the files in this folder successfully, I want to
delete the contents of this folder", however there may be a window of
opportunity when a new file was put in this folder during my transfer
process, thus I don't want to just do a "rm *.*" on the folder and
delete a new file I did not get yet.
> You best bet is probably to install Cygwin and create an intelligent
> script to all that for you. I do this almost every day.
"I've looked at most Secure FTP clients, except Cygwin, I'll look into
it. It seems most of them cannot pass a password and/or delete a file
after successfuly transfer".
> Vahid.
>
> anthonypieper@cs.com (newexpectuser) wrote in message news:<f0bb0f39.0311040515.3352f828@posting.google.com>...
> > I don't think plink can delete a file automatically after it was
> > successfully transfered ?
> > sunman@ureach.com (Vahid) wrote in message news:<64b3dda3.0311032004.51088129@posting.google.com>...
> > > putty is a windows gui, you must use the command line version of it.
> > > It is called, plink.exe. You can find it everywhere, the current
> > > version is .53b.
> > > Vahid.
> > >
> > > anthonypieper@cs.com (newexpectuser) wrote in message news:<f0bb0f39.0311031237.bedb486@posting.google.com>...
> > > > I am trying to connect to an internal secure ftp server via ssh and
> > > > running a Unix script. I want to do the following:
> > > >
> > > > 1) I need to pass a userid and password (no keys)
> > > > 2) Make sure the connect was successful
> > > > 3) mget files in a directory on the secure ftp server
> > > > 4) delete those files I just did the mget on, however I cannot just do
> > > > a rm *.* as it is possible a file could be uploaded after I have
> > > > downloaded the files, thus using a rm *.*, I would delete the file(s)
> > > > that were just uploaded.
> > > >
> > > > I have putty 0.53b version running, but I've just used it to this
> > > > point to make a connection, I'm not sure how to even start scripting
> > > > this in Putty, do I need Plink or some other software ?
> > > >
> > > > Thanks
- Next message: Xanthalas: "Cannot connect to SSH from one location"
- Previous message: Per Hedeland: "Re: passing passwords vi Putty possible ?"
- In reply to: Vahid: "Re: passing passwords vi Putty possible ?"
- Next in thread: Nico Kadel-Garcia: "Re: passing passwords vi Putty possible ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|