hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Rename filename during FTP

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> FTP & SFTP
View previous topic :: View next topic  
Author Message
melvin
Site Admin


Joined: 25 May 2006
Posts: 635
Location: Santa Barbara, california

PostPosted: Tue Oct 15, 2013 8:01 pm    Post subject: Rename filename during FTP Reply with quote

User support request:

I am trying to setup an FTP that needs to change the file name. I am not able to get it to work with the filename that I need it to be.

The original file is named TEST13101501.TXT. The numbers in the file will change on every file. I need to change the filename to TEST01.TEST9.MM00000.MMDDYYYY.HHMM. I cannot seem to get the MMDDYYYY.HHMM to work. Is this possible? If so could you assist in the creation of this command.


Last edited by melvin on Thu Oct 17, 2013 10:05 am; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail
melvin
Site Admin


Joined: 25 May 2006
Posts: 635
Location: Santa Barbara, california

PostPosted: Tue Oct 15, 2013 8:02 pm    Post subject: Reply with quote

Try the following:
filename field:
REGEXF=TEST[0-9]{1,}.TXT
note that .TXT is case sensitive. so if it is .txt, use .txt in the filename field.

Rename field:
TEST01.TEST9.MM00000.$%DATE::ppddYY.hhmm%$

Append to filename field:
Do not append.
Back to top
View user's profile Send private message Send e-mail
melvin
Site Admin


Joined: 25 May 2006
Posts: 635
Location: Santa Barbara, california

PostPosted: Thu Oct 17, 2013 10:05 am    Post subject: Is this a bug? Reply with quote

User reply:

It still does not change the name and it ends with an exit code -100
Back to top
View user's profile Send private message Send e-mail
melvin
Site Admin


Joined: 25 May 2006
Posts: 635
Location: Santa Barbara, california

PostPosted: Thu Oct 17, 2013 10:06 am    Post subject: It is bug to be fixed in 10.07 Reply with quote

We had originally tested with the Copy task and it worked. We just tested with FTP-J put and have the same issue as you. Seems like a bug in the FTP-J put + rename . The FTP-J get + rename with same settings works.

We will fix this bug in the next patch update 10.07 due early next week.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> FTP & SFTP All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group