WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Rename file based on extensetion before ftp (Read 246 times)
Skot1
YaBB Newbies
*
Offline



Posts: 1
Rename file based on extensetion before ftp
May 19th, 2017 at 5:08pm
 
We have a system that will deliver  files with a date stamp.
e.g.   12mar17.csv, 13mar.csv etc
on ftp transfer we need to rename the file to the same name .  e.g.  output.csv
So our system produces different file names and out customer needs the same file name.  Can this be done? We already have the software
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2239
The Netherlands
Re: Rename file based on extensetion before ftp
Reply #1 - May 20th, 2017 at 6:49am
 
Yes.

On the FTP settings window enable the option "Dynamic Naming" and use something like this for the "FTP Base Directory":
/home/targetdir/output.csv

When you use "dynamic naming" you don't set a directory on the FTP server but the full name of the target file.
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Page Index Toggle Pages: 1