I have created a file testfile.csv into Campaign Standard server with "Extract file" activity. How should I set the path to file when trying to load it with "Transfer file" activity?
I use action "File download". What should be filled into field with label "File path in the storage space (wildcards are accepted, e.g. *.csv, export?)" in addition to testfile.csv?
Documentation tells me:
"The path must be relative to the storage space directory of the Adobe Campaign server. Files are located in the sftp<yourinstancename>/ directory. You also cannot browse the directories above the storage space. For example:user<yourinstancename>/my_recipients.csv is correct. ../hello/my_recipients.csv is incorrect.//myserver/hello/myrecipients.csv is incorrect."
but this is very unclear.
File Upload/Download Activities mention 'relative path' which pertains to the path within the External Account (SFTP/S3/FTP) selected as below:
Relative means from the root directory. So if the External Account is already configured mentioning the hostname, account, password and port details, you simply need to specify the path as below:
/ or . specifies root directory.
You do not need to specify the entire SFTP/FTP details agai, unless the 'Quick configuration' option is selected.
The files exported are stored in the var/<instance_name>/export folder on the server.
So here you should ideally use export/testfile.csv since you are already logged into the instance and already under the folder var/<instance_name>/
The "Transfer file" never finds any file with error "No file found (mask='export/testfile.csv')". I have tested with var/INSTANCENAME/export/testfile.csv and export/testfile.csv.
var testFile = loadFile('/home/neolane/nl7/var/INSTANCENAME/export/testfile.csv');
logInfo("File content: "+testFile);
The above will log me the content of the file. Why the "Transfer file" does not find the same file? How should the path be inserted?
Yes, that you can find but it still does not answer to the original question. Please state where and hgow can I put any file into campaign server so that it can be downloaded with option "File(s) present on the Adobe Campaign server."
Did you get a response to this? I am having the same issue and unable to check which folder my files have been uploaded into.
For example, I have loaded a test.csv file onto the 'incoming' folder of the SFTP, the documentation is not clear on how to access this file from the file transfer activity
I have tried the same configuration as per Campaign classic (see Which directory do files transferred to the sftp land? ) however this doesn't work either.
Can we get an official response?