FTP filename changes
Hello,
In a FILE to FILE scenario we would like to change the name of the file.
let's say filename on the sender side is 'datafile' and we would like it to be 'infodatafile' on the receiver side.
So add the 'info' string to the filename.
Anybody knows if this is possible ?
Thanks
Hi,
I guess ur just doing File to File scenario without IR configuartion..in that case ID when u r creating communication channel for File receiver there itself in file name scheme u need to put "infodatafile"
and in sender file communication channel put file name scheme as "datafile"
so file with datafile is picked up and file with infodatafile is created.
Regards,
Manisha
Similar Messages
-
I am having issues with my web module on Lightroom 4 (Mac OS 10.9.5). "an unknown error occurred" while trying to upload to my FTP (no changes in my FTP). Bandaid fix was to export to local folder and upload via Filezilla. However, now that is no longer working and although upload completes, the URL takes you to a "Forbidden - do not have permission to read this file" page. Lightroom is changing the permissions of each file to 000 instead of 644 for index files and 755 for all others. How can I change the permissions settings in Lightroom?
I am having issues with my web module on Lightroom 4 (Mac OS 10.9.5). "an unknown error occurred" while trying to upload to my FTP (no changes in my FTP). Bandaid fix was to export to local folder and upload via Filezilla. However, now that is no longer working and although upload completes, the URL takes you to a "Forbidden - do not have permission to read this file" page. Lightroom is changing the permissions of each file to 000 instead of 644 for index files and 755 for all others. How can I change the permissions settings in Lightroom?
-
Filename change history available
Does OS X store a list of modifications done to the filename of a specific file ?
For example I created a file named "myfile.ext" (regardless by which application), then change the original name to "myfile2.ext", "differentname.ext" and so on.
Is there a way to track such filename changes in something like a history view or stored in an attribute (chmod file modes, ACL, whatever) ?Not that I know of.
Francine
Francine
Schwieder -
I don’t remember making any changes to my preferences so am at a loss as to why suddenly in recent weeks if I save a .jpg to my downloads folder or to my desktop when I upload it to another site the Saved As information shows up as:
/Users/myfullname/Desktop/the saved name.jpg
Not wanting to post anything on public sites that gives this sort of information I am here to ask whether it is possible change whatever so as to show only the filename I give to the image without the personal information.
Any advice will be appreciated.Thank you Kappy for your reply.
I followed your link and can see how to change my name using ACCOUNT via System Preferences but what confuses me is why, suddenly, I am seeing it in the uploaded file path for the first time in the six months I have owned my MacBook
I use Firefox 3.5 as my main browser to down load images, save them as ......jpg to either my user>library> download folder or, more usually to my desktop where they show up with only the name I have given them.
It is not until I upload it that my user>full name is added to the file name. I can see nothing within Firefox preferences that allows me to change the file name information that appears
But, and I realize I should have done this before I posted my question, if I use Safari only the name.jpg appears.
I guess I can avoid having to change my account name simply by using Safari, but would be interested to know if anyone can explain why Firefox adds my user>name to the file path not if I use Safari.
What you are seeing is the full path to where the file is located on your hard drive. You should never use your full name for your account username or short name. Perhaps you should consider changing it to something else. See Macworld | Changing the short username in Leopard.
When you view the file after you have uploaded it to another site is the full path included along with the filename? If so, then what application do you use to upload the file and have you checked if it's configured to include that information.
Mac Pro 2.66 Ghz; MBP Unibody; MBP C2D 2.33 Ghz; MBP 2.16 Ghz Mac OS X (10.5.7) iMac C2D 17"; MB 2.0 Ghz; 80GB iPod Video; iPod Touch; iPod Nano 2GB -
Mass filename changes using terminal? How?
Hello,
I recently put a Linksys NAS on my network. Unfortunately, the EXT3 format used on the disks does not like filenames with special characters such as "/" or "?". So I cannot copy files from my PowerBook to the NAS with these characters in their names.
A search of my hard drive shows 800+ files with these forbidden characters.
Is there a way to use terminal (or any aspect of OS X) to do a mass change of these characters to a more acceptable character (i.e. changing all instances of "/" to "-")?
Thanks for the help.
JimJim
tcsh: Invalid null commandAh, you're using tcsh. Bad news! I'm sure it could be made to work, but I've switched to bash because it is better for this sort of stuff. Gary will tell you to switch to zsh, but for now bash will do. I just tried the command as posted and tcsh complained loudly!
First point: often when you try to copy/paste from a browser window, you get an extra space appended to the line. It often doesn't matter, but it could here (may explain the "tcsh: Invalid null command" message). So copy the commands into a TextEdit document, which you have changed to Plain Text from the Format menu. Then be sure not to include any trailing space.
Second point, we'll scrap the use of sudo since it is only your Home directory that you are interested in.
Third point: as I said, we'll use bash. The prompt will change to a '$' instead of a '%'. When you've finished, you can return to tcsh with a plain exit command.
So, copy and paste the following into the Terminal window, one line at a time, with a return after each line:
<pre>bash
find -d ~/Documents \( -name "?" -o -name ":" \) -exec echo 'mv "{}" `echo "{}" |
sed -e "s^\?^_^g" -e "s^:^-^g" ` ' \; | sh</pre>This should work—it did for me!
Note:
it returned a > prompt with nothing else on the line.It will do this after the second line above—it is an invitation to complete the command -
Hi
I have a scenario in which I need to pull a file from a ftp location and move it to another ftp location. When I am doing this, I need to pass the file name to an rfc ( This is not synchronous..means the file name is passed to rfc and it will trigger a function to do some other process) . How I can achieve this? Your suggestions highly appreciated
Thanks
SkariaHi,
1. Set Adapter-Specific Message Attribute in the sender file adapter.
2. Use the following UDF to get the filename from the dynamic configuration and pass it to the RFC.
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String ourSourceFileName = conf.get(key);
return ourSourceFileName;
Thanks
SaNv... -
JFileChooser: filename changes when i change directories
Hi,
I'm having a problem with a file chooser : when changing directories (change from default directory to dir of my choice), the "Filename:" text gets changed too.
Here is what is actually happening :
- I use setSelectedFile(<default file>) on my file chooser before opening
- it opens with <default file> in the Filename field.
- I switch to a different directory by double clicking within the area which shows the directories and files.
-->> problem : my filename takes the name of the directory which i double clicked.
** surprisingly enough , when i select a directory from the drop down list of the filechooser the above problem doesnt happen .
Below is my code. cud someone tell what is missing/wrong. plz treat this as urgent , i got to ship the code after 4 hrs
Thanks in advance for any help, i will more than glad to offer duke dollars for this one.
KG
public class StepSaveFileDialog extends JFileChooser {
String fileExtension = null;
JFileChooser fileDialog = null;
String reportName = null;
public StepSaveFileDialog(String fileExtension,String reportName) {//used to get the fileextension and the reportName
this.fileExtension = fileExtension;
this.reportName = reportName.replaceAll(" ","_");
public String getSaveDialog() throws IOException {
String filePath = null;
fileDialog = new JFileChooser();
fileDialog.setDialogType(JFileChooser.SAVE_DIALOG);
fileDialog.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
fileDialog.setAcceptAllFileFilterUsed(true);
fileDialog.setFileFilter(new StepFileFilter(this.fileExtension));
String dfltFilePath = ReportEngine.getDefaultReportSavePath();
File selFile = null;
String date = new StepDate(System.currentTimeMillis()).toString();
date = date.replaceAll("/","");
reportName = reportName + "_" + date;
if (dfltFilePath != null) {
selFile = new File((new File(dfltFilePath)).getCanonicalPath() + "\\" + reportName);
}else{
selFile = new File(reportName);
fileDialog.setCurrentDirectory(selFile);
fileDialog.setSelectedFile(selFile);
int option = fileDialog.showSaveDialog(StepMainFrame.getInstance());
if (option == JFileChooser.APPROVE_OPTION) {
selFile = fileDialog.getSelectedFile();
File reportFile = new File(selFile.toString());
boolean success = reportFile.createNewFile();
if (!success) {
fileDialog.show();
fileDialog.setVisible(true);
int overwriteOption = JOptionPane.showConfirmDialog(
fileDialog, selFile.getAbsolutePath()
+ StepStatusMessage.PROMPT_FOR_OVERWRITE);
if (overwriteOption == JOptionPane.NO_OPTION) {
filePath = getSaveDialog();
return filePath;
filePath = reportFile.getAbsolutePath();
return filePath;
the ReportEngine.getDefaultReportSavePath() is like this
private String getDefaultReportSavePath() {
Properties prop = new Properties();
String dfltFilePath = null;
try {
File file = new File(CONFIG_FILE);
FileInputStream inputStream = new FileInputStream(file);
prop.load(inputStream);
inputStream.close();
dfltFilePath = (String) prop.get("step.reportFilePath");
} catch (IOException ioe) {
StepStatusBar.getInstance().writeErrorMessage(ioe.getMessage());
StepLogger.getLogger().fatal(ioe.getMessage(), ioe);
return dfltFilePath;
}the fileFilter is like this :
public class StepFileFilter extends javax.swing.filechooser.FileFilter {
String fileExtension = null;
public StepFileFilter(String fileExtension) {
this.fileExtension = fileExtension;
public boolean accept(File f) {
return f.isDirectory() || f.getName().toLowerCase().endsWith(this.fileExtension);
public String getDescription() {
return this.fileExtension;
}You will still be able to navigate through the area
where the files and directories are displayed with
FILES_ONLY. Clicking on a file will cause its name to
appear in the File Name field, while double-clicking
on a directory will navigate into it.
FILES_AND_DIRECTORIES causes the names of both files
and directories to appear in the File Name field when
they are clicked.
MikeHey Mike , thanks a lot .... it worked -
I tried everything. All I want to do is change my ftp
password in contribute.Is it possible to remove my url of my web
site then enter it again and start over with my new ftp settings?
And if so, would I have to do this each time to change ftp
password? My webmaster is no longer available to help with
this.When I try to edit, it states I need a connection key, which I
don't have and can't get Any advice would be a great help.
KenIt may be that if you were sent a connection key to start
with, you are not
allowed to edit the connection info.
Yes, you can add a new connection.
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/ -
Socket ftp and changing directories.
I am have trouble changing diretories when using the ftp command CWD when connected to an ftp through a Socket. Sometimes it changes forward and sometimes it doesnt, and it never goes back one directory.
I use "CWD /webStuff", then I try to go back using "CWD ftp.host.com/rootFolder and it gives an error. Any suggestions on the proper format using CWD to change up and down directories?
Do i need to type the full path (ex. ftp://ftp.host.com/)? I have no idea how this changing directories work, online they only talk about CD and the ftp I am using doesn't recognize CD. Only CWD. Can't find much about using CWD. Please help.well, I tried testing the ftp from the DOS prompt in
windows XP. I can connect, but CWD is not a command
in the windows command prompt. Sorry but that doesn't make any sense.
Either you are or are not running a ftp client. An ftp client would have a console window. That console window is not the same as the windows command prompt.
So i don' t know how
I would test it. If you are in fact running a ftp client and the CWD command does not work then it means the ftp server does not support that command. That command is optional in the FTP protocol. In that case you can't 'move' within the directory tree - you have to connect directly to each directory.
Also, I can connect to the ftp
using a Socket object. Then I can log in using USER
and PASS. The problem I have is changing
directories. CWD is really confusing. I found
something that using "CWD .." or "CWD ../" might
work. You can try 'CDUP' as well. (And I have no idea why that is the name but it does go up the tree.)
I have to try those. But what I'm really
looking for is the ability to go lets say I log into
ftp.host.com/Folder. And then I want to change to
ftp.host.com/Folder/NextFolder/FinalFolder. And
finally I want to change from that point to
ftp.host.com/Folder/AnotherFolder/YetAnotherFolder.
The command 'LIST' should return a list of directories. You would have to parse that list. Keep in mind that the result of this will vary by FTP server version. You can use the parsed list to
'NLST' returns files names.
Of course test both of the above to verify that not only that they work but what they actually return.
windows command prompt you can use "cd \anyfolder"
and it wil take you there. But am I limited to only
going "CWD nextFolder" and "CWD ../" or can i jump
to any Folder on the ftp somehow like I can in
windows?Again, this depends on the FTP server. Like I said you need to actually test it. And test each version that you need to connect to. -
FTP access changed?? .. for 8iR2
Has there been a change in FTP access to the technet downloads? I have always been able to download the Oracle software from technet via ftp.oracle.com, and am intending on downloading 8ir2 for linux, but now ....
Here is what I get:
open ftp.oracle.comConnecting to 209.246.14.42...
Hello, Welcome to ftp.oracle.com!
web54 FTP server (FileDrive-EX 2.1) ready.
220: Hello, Welcome to ftp.oracle.com!
web54 FTP server (FileDrive-EX 2.1) ready.
Connected to 209.246.14.42.
Cmd: USER anonymous
530: User ftp access denied.
User ftp access denied.
Cmd: QUIT
This is a different message compared to having the FTP server having too many logged in users.
Is everthing now forced via HTTP? ... but I prefer using ncftp.
John Saslvo
nullObviously Oracle is having some capacity problems. Its been this way for the last three months or so.
PCWeek even commented on Oracle's capacity problems. Check out:
http://www.zdnet.com/pcweek/stories/columns/0,4351,2553872,00.html -
Defined FTP filename but no working....
Hi, Experts,
I try to name the target filename but always no working....
Please kindly help to check anything wrong with my codes & setting,
many many thanks~
The format of intended file name is "A1111-" + ID + ".XML"
For Example: YC101-434729844234234.xml
(The content if ID is from a field of source RFC structure)
Therefore, I create a UDF with an argument "var1" with java code as below
Public String Calculate(String var1, Container container) throws StreamTransformationException{
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String MyFileName = "YC101-" + var1 + ".xml";
conf.put(key, MyFileName);
return MyFileName;
I also did the setting for File Receiver Adapter as below:
Under Target Tab
File Name Scheme: abc.xml
Under Processing Tab
File Construction Mode: Create
File Type: Binary
Under Advanced Tab
Adapter-Specific Message Attributes
Tick Use Adapter-Specific Message Attributes
Tick File Name
Anything insufficient with my works??
E.DHi, Experts,
When I set my file name from abc.xml to *,
I got an error message from runtime workbench as below:
File processing failed with com.sap.exception.standard.SAPIllegalArgumentException:
The parameter "argument" has the value "remote:///test/*", so it contains the character
"remote:///test/*" which is not allowed
Btw, The target directory (under Target tab) what I set is /test...
But for my case,
the argument "var1" I supposed should be the content of ID (A field of source RFC structure);
for example, the content of ID is 665329478934;
my intended target file name will be A1111-665329478934.xml (format: "A1111" + ID + ".xml")
Any more suggestions??
Thanks in advance~
E.D -
Re-publish site using 3rd party FTP Client-Changes are not visible
I uploaded my Iweb site to the server using FileZilla. When I make changes in I-web and republish, the changes are not visible. I even tested it out by deleting the site folder and re-uploading everything after I re-published the site in IWeb...but the change still isn't visible. Any suggestions as to why?
Apparently you publish to a folder.
iWeb's job is done!
What you do next with the files is your responsibility.
Try uploading the changed files to their respective folders on the server.
You can identify the changed files by the date/time.
Then in the browser, clear the cache and reload the page.
iWeb is not involved. -
a new problem tonight: I was importing the photoshop-edited version of some images back to the original iPhoto library (to have them all in one place for burning to CD), but the imported versions now all have different filenames.
Normally I can tell them apart (aside from obvious cropping and editing differences) by their filenames: the original looks like "DSC_1234.jpg" and the imported edited version looks like "DSC_1234" minus the .jpg.
Tonight, DSC_2956.jpg was opened and edited in photoshop, saved to a different folder as "DSC_2956.jpg", then imported back to iPhoto as "DSC_2958".
Anyone ever had this problem?BTW, I am using iPhoto 2.0.1.
-
Acrobat pdf export (printing) filename change
In exporting (printing) pdfs from my CAD programs (AutoCAD / Bricscad), how can I prevent acrobat from adding the layout name to the filename i.e. "Model"? If I am in a drawing with the filename 123456.dwg, printing thru acrobat results in 123456 Model.pdf- what I desire is 123456.pdf
I agree, particularly if you are using an "export" feature. If you use Acrobat then you would either use the PDF Maker option if available (typically called create PDF now) or would actually print to the Adobe PDF printer. I suspect you are using a feature of AutoCAD, but am not a user of that package to confirm this.
-
Can anyone recommend an application for making "smart" mass file name changes?
Example:
I want to find an application that will:
1. Search through file names for a year.
2. Put a particular word in front of the year (without wiping out the year).
I have Massreplaceit, but I do not think that it would do this.
Can anyone recommend a different app?
OS 10.8 imac
Thanks.
macHi, try this one...
http://www.publicspace.net/ABetterFinderRename/
Maybe you are looking for
-
How can I recover BFILE images from a table?
I`m a Spanish student, so excuse me for my poor english. I have used LOB objects to insert images into some tables of a DataBase. However, I have tried to recover the inserted images to put those into a Developer 6 Form, and I haven4t done it. ?Have
-
Second monitor stays in sleep mode even though it's detected.
Hello, So I just hooked up a second monitor through a second VGA port on my computer. For some reason that second monitor just stays in sleep mode and never wakes up, even if I restart the computer. I've set the settings to where it should detect by
-
Exchange 2010 RTM Analyzer giving domain prep error but version number is correct?
I have recently inherited an Exchange 2010 Standard server environment, which appears to be running RTM and unpatched. Version: 14.0 (Build 639.21) When I run Best Practice Analyzer, it gives an error message, claiming that an unrecognized Exchange s
-
Difficult: How to write a SplitInputStream?
Hi, I am trying to implement a SplitReader. The basic concept is "shared behavior, cloned data". Let me explain.. Given a parent InputStream, users can retrieved unlimited amounts of children-inputstreams. These children mirror parent behavior in eve
-
Each time I open Acrobat, the 30 day trial pop up opens and stops me from seeing the document
Every time I try to open a document, I get the Adobe Acrobat 30 day trial subscription on the screen. If I get rid of this, the screen remains blank and the document doesn't open