Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Create file on Application server

Former Member
0 Likes
876

Hey All Gurus,

I am trying to create a file copy from presentation server to application server so that I can run my program in background mode.

When I go to TCode - cg3z and give the path of the presentation server file - a txt file and then the path in the application server file it says - cannot open file \folder\filename.txt.

Am I doing something wrong?

Please help!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
751

Are you sure the file exists...?

Save the file as .DAT and mention the transfer format for data as ASC.

Thanks,

Santosh

4 REPLIES 4
Read only

rahulkavuri
Active Contributor
0 Likes
751

hey may be accessing problem, close the text file before uploading it..

if not then check this, may be of some help

https://forums.sdn.sap.com/click.jspa?searchID=806861&messageID=2875852

http://www.sapdevelopment.co.uk/file/file_downloadsap.htm

Read only

Former Member
0 Likes
752

Are you sure the file exists...?

Save the file as .DAT and mention the transfer format for data as ASC.

Thanks,

Santosh

Read only

Former Member
0 Likes
751

Hi,

Try giving forward slash..

Example

/tmp/test.txt

Thanks,

Naren

Read only

Former Member
0 Likes
751

Check the following.

1.Please make sure you have write access to the files in the application server before trying to upload the file.

2. Give the foldernames/filenames correctly as it is case sensitive if it is Unix.A difference in even one character will create a problem.

3. Ensure that the file you are using to upload is not corrupted and doesn't have special characteres/ hidden characters.( Especially Encrypted files / files from Bank can have this issue).Try uploading the correct file from your desktop.

Hope this helps.

Reward if this helps..

Regards

Deepu

null