Did you add the file extension after?
Are you using the 'fan out' parameter?
Did you add the file extension after?
Are you using the 'fan out' parameter?
Hi Alex,
I had the file extension as part of the filename attribute, so it comes out as "file.pdf" but is seen as a folder.
As for the fanout, that's not enabled, no. Would they be the way to go?
Hi Alex,
I had the file extension as part of the filename attribute, so it comes out as "file.pdf" but is seen as a folder.
As for the fanout, that's not enabled, no. Would they be the way to go?
do you use "filecopy_source_dataset", "filecopy_dest_dataset", and "filecopy_dest_ filename" attributes when writing?
Hi Alex,
I had the file extension as part of the filename attribute, so it comes out as "file.pdf" but is seen as a folder.
As for the fanout, that's not enabled, no. Would they be the way to go?
Morning,
That I do - they are as follows. Mind the lame attempt at censorship, it's just due to my job.
filecopy_source_dataset = Path_Filename
filecopy_dest_dataset = Output
filecopy_dest_filename = Renamed
Thank you for your help. Ive managed to tweak it whereby it creates the folders I need, but it doesn't put the files into it, with the errors as follows -
2021-01-26 08:48:43| 13.3| 0.0|WARN |File Copy Writer: Ignoring the destination filename '50079212042 Site MPP.pdf' because the source dataset '20190226134825_124852.pdf' was not a file. Destination file names are only used when the source dataset is a file
2021-01-26 08:48:43| 13.3| 0.0|WARN |File Copy Writer: Feature contains an invalid source dataset '20190226134825_124852.pdf'. No file operations will be performed for this feature
Hi Alex,
I had the file extension as part of the filename attribute, so it comes out as "file.pdf" but is seen as a folder.
As for the fanout, that's not enabled, no. Would they be the way to go?
so you rename the attribute 'Path_Filename' to filecopy_source_dataset?
also, is the fullllllllll filepath used for filecopy_source_dataset--drive/server and all?
Hi Alex,
I had the file extension as part of the filename attribute, so it comes out as "file.pdf" but is seen as a folder.
As for the fanout, that's not enabled, no. Would they be the way to go?
this would be an example of how you would copy file from local drive to an external device and rename it.
Hi Alex,
I had the file extension as part of the filename attribute, so it comes out as "file.pdf" but is seen as a folder.
As for the fanout, that's not enabled, no. Would they be the way to go?
Hi Alex,
Cheers for that! I got it working in the end for the most part - however there are still a few that show up as folders with PDF at the end. Any idea what might cause this?
Hi Alex,
I had the file extension as part of the filename attribute, so it comes out as "file.pdf" but is seen as a folder.
As for the fanout, that's not enabled, no. Would they be the way to go?
Edit - Just realised as some have different folder structures, I'm now using the FilenamePartExtractor to move these to the output folder
You're still a star for getting me on the right track :)
Hi Alex,
I had the file extension as part of the filename attribute, so it comes out as "file.pdf" but is seen as a folder.
As for the fanout, that's not enabled, no. Would they be the way to go?
I assume this is FME Desktop?
Test by changing "Copy Subfolders:" to 'No' and "error on Non-Existent Source:" & "error on Invalid Destination" to 'Yes'.
In addition, check your log file...I get you're trying to conceal sensitive information, but this would be so much easier if I could see what you're seeing. No Biggie tho
Hi Alex,
I had the file extension as part of the filename attribute, so it comes out as "file.pdf" but is seen as a folder.
As for the fanout, that's not enabled, no. Would they be the way to go?
Yeah it's a bit of a pain. Needless to say though, I got there in the end - once I could put the attribute manager there and say "if the subdirectory contains this, then put that folder first, then the subfolder and the file"
Instead it was originally saying to "put the folder, then the other folder - as the PDF"
Paid off :)