Click here to Skip to main content
13,453,774 members (43,424 online)
Rate this:
Please Sign up or sign in to vote.
See more:

I want to move a file from a linux to FTP.
Problem is the filename.
let us consider filename is abc.txt .. After processing it will become as xxxxx_abc.txt-2012-05-30-1625

The thing is i want to pick the processed file with help of its orginal filename and to put it in FTP using FTP->put.

Help me to select the processed file name by using its orginal file name in a linux Directory.
EX: using abc.txt i want to find the processed filename xxxxx_abc.txt-2012-05-30-1625
Posted 31-May-12 11:58am
Updated 31-May-12 11:59am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

ftp> mput abc.txt-2012*
ftp> mput ?????_abc.txt-*

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04-2016 | 2.8.180318.3 | Last Updated 22 Aug 2014
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100