Fetching file with Transfer file

Avatar

Avatar

torspo

Avatar

torspo

torspo

04-10-2018

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.

BR

Mikko

Replies

Avatar

Avatar

Garima_Gakhar

Employee

Avatar

Garima_Gakhar

Employee

Garima_Gakhar
Employee

04-10-2018

Hi torspo55

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:

1587520_pastedImage_0.png

/ or . specifies root directory.

You do not need to specify the entire SFTP/FTP details agai, unless the 'Quick configuration' option is selected.

Avatar

Avatar

torspo

Avatar

torspo

torspo

05-10-2018

I am not using SFTP connection. Where are the files uploaded with "Extract file" activity stored?

ticket1.png

Avatar

Avatar

Adhiyan

Employee

Avatar

Adhiyan

Employee

Adhiyan
Employee

05-10-2018

Hello Mikko,

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>/

Adhiyan

Avatar

Avatar

torspo

Avatar

torspo

torspo

07-10-2018

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.

If i run the absolute path in a javascript activity, it works:

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?

Avatar

Avatar

pablo_rosero1

Avatar

pablo_rosero1

pablo_rosero1

29-10-2018

Avatar

Avatar

Jairo_Jara

Avatar

Jairo_Jara

Jairo_Jara

07-02-2019

Any solution for this?

How do I find my INSTANCENAME

Avatar

Avatar

pablo_rosero1

Avatar

pablo_rosero1

pablo_rosero1

19-02-2019

Hi Jairo,

Your instance name can be found in the settings or the beginning of the URL of your Adobe Campaign Standard.

All the best,

Pablo

Avatar

Avatar

torspo

Avatar

torspo

torspo

24-02-2019

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."

Avatar

Avatar

hansangy1377908

Avatar

hansangy1377908

hansangy1377908

02-04-2019

Hi torpso,

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

sftp_folder_location.PNG

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?