There is a DOS cmd to rename files. You could use a batch file of DOS cmds, but I would think a script with some logic would be best. In VB script, look at the File System obj. And the argument parameter in the help file in WS FTP. You can pass the file name and location to your script and use this to rename it - current time would probably work, or you could even have a counter file to read and write too. If any one there has done any scripting at all (or even none) it should be pretty simple to figure out. Hope this helps.
CW -----Original Message----- From: [EMAIL PROTECTED] [mailto:mscallan@;cox.net] Sent: Monday, November 11, 2002 1:03 PM To: [EMAIL PROTECTED] Subject: Re: RE: [WS_FTP Forum] Unique file names Chris, That sounds like it would work. Is there a DOS command that will do that or is there another language that I should use? Sorry for the newbie question, but I'm in foreign territory when it comes to servers. Regards, Matt > > From: "Weeks, Chris" <[EMAIL PROTECTED]> > Date: 2002/11/11 Mon PM 02:02:38 EST > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: RE: [WS_FTP Forum] Unique file names > > What about using the Site Command option? Set File Received Cmd to call a > script that renames the files. > > CW > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:mscallan@;cox.net] > Sent: Monday, November 11, 2002 12:39 PM > To: [EMAIL PROTECTED] > Subject: [WS_FTP Forum] Unique file names > > > Hello, > > I'm trying to find a way to get WS FTP Server 3.31 to re-name files it > receives as unique names. > I know how to do this in FTP Pro, but I need to get the server to do it. > We get these files from a government agency in rapid succession, so there is > no hope of getting them to change. > Our tech support folks say they don't know how to do this, and I couldn't > find anything obvious in the on-line manual, so any help would be > appreciated. > > Thanks in advance, > > Matt Scallan > > > Please visit http://www.ipswitch.com/support/mailing-lists.html to be > removed from this list. > > Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. > Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list.
