Re: passing passwords vi Putty possible ?

From: newexpectuser (anthonypieper_at_cs.com)
Date: 11/05/03


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



Relevant Pages

  • Multipe file transfer using FTP
    ... I am trying to pick up trading partner files from multiple directories ... on our FTP server For example folder a, b, c. ... I'm thinking of a script file to connect and pick up the files. ...
    (microsoft.public.excel.programming)
  • www.CeBeans.com - new program listings - Jan 5 2009
    ... This program allows a student to use a folder on a secure remote FTP server ... You can view the files on the PocketPC ... points and next round when you knock him down and free man every round after ...
    (microsoft.public.pocketpc)
  • Re: EWF RAM, Compact Flash and log files
    ... >> What are all of the changes required to effectively run the EWF RAM ... Default Shared Documents Folder if standalone and not on a domain. ... change the default content location, not just the logfor IIS FTP Server, ... Can / should this be done without a HDD? ...
    (microsoft.public.windowsxp.embedded)
  • www.CeBeans.com - new program listings - Nov 3 2008
    ... interface for each day you have a folder on the FTP server. ... public or private folder of a secure remote FTP server. ... you knock it past him and 100 bonus and next round when you knock it past ...
    (microsoft.public.pocketpc)
  • Re: Receive Location FTP Adapter unable to delete source files
    ... Check the permissions for your user login on the Folder, ... > I had the same problem when connecting to an external FTP server. ... When they changet to use Windows Server 2000, ...
    (microsoft.public.biztalk.general)