So as shown above our installer downloaded to the %TEMP%\Low folder automatically gains the "Low Mandatory Level" option and when user tries to start the installer the NSIS Error message appears saying "Error writing temporary file. Make sure your temp folder is valid."
error writing temporary file in windows 7
The problem has also been reported to SAP for over a week now.. sigh.. not getting anywhere fast - hence my appeal to the community for some other ideas.\",\"author\":\"username\":\"former.member\",\"displayName\":\"Former Member\",\"groupIcons\":[],\"suspended\":true,\"isCurrentUser\":false,\"parentAuthor\":\"username\":\"sandra.rossi\",\"displayName\":\"Sandra Rossi\",\"groupIcons\":[],\"suspended\":false,\"isCurrentUser\":false,\"id\":12600522,\"creationDate\":1474277628000,\"activeRevisionId\":12863994,\"lastActivity\":1474277653000,\"parentId\":12600036,\"originalParentId\":12599777,\"likeCount\":0,\"visibility\":\"full\",\"depth\":0,\"attachments\":[],\"canVoteUpOrCancel\":false,\"relations\":\"canReport\":false,\"visibility\":\"full\",\"canEdit\":false,\"canUseDelete\":false,\"isLiked\":false,\"type\":\"comment\",\"canVoteUpOrCancel\":false,\"canConvertToAnswer\":false,\"canBeModerated\":false,\"canViewRevisions\":false,\"showInReply\":false,\"reported\":false,\"canCancelReport\":false,\"canDelete\":false,\"canVoteDownOrCancel\":false,\"canComment\":false,\"canViewReports\":false,\"isCurrentUserAuthor\":false,\"liked\":false,\"moderatorComment\":false}]},\"12600306\":\"rootParentId\":12600306,\"commentsCount\":3,\"comments\":[\"body\":\"\\\"save ... some diagnostic effort\\\" for the SAP support also ;-) (you should send them the URL to this thread BTW)\",\"author\":\"username\":\"sandra.rossi\",\"displayName\":\"Sandra Rossi\",\"groupIcons\":[],\"suspended\":false,\"isCurrentUser\":false,\"parentAuthor\":\"username\":\"former.member\",\"displayName\":\"Former Member\",\"groupIcons\":[],\"suspended\":true,\"isCurrentUser\":false,\"id\":12610052,\"creationDate\":1474804128000,\"activeRevisionId\":12871897,\"lastActivity\":1474804133000,\"parentId\":12609976,\"originalParentId\":12599777,\"likeCount\":0,\"visibility\":\"full\",\"depth\":0,\"attachments\":[],\"canVoteUpOrCancel\":false,\"relations\":\"canReport\":false,\"visibility\":\"full\",\"canEdit\":false,\"canUseDelete\":false,\"isLiked\":false,\"type\":\"comment\",\"canVoteUpOrCancel\":false,\"canConvertToAnswer\":false,\"canBeModerated\":false,\"canViewRevisions\":false,\"showInReply\":false,\"reported\":false,\"canCancelReport\":false,\"canDelete\":false,\"canVoteDownOrCancel\":false,\"canComment\":false,\"canViewReports\":false,\"isCurrentUserAuthor\":false,\"liked\":false,\"moderatorComment\":false]}"); const simplifiedQuestionView = JSON.parse("true"); (function() window.pageContext = mergeDeep(pageContext, question: id: 12599777, plug: "sapftpa-error-writing-temporary-file", votes: 0, questionTitle: "SAPFTPA Error writing temporary file", isClosed: false, isLocked: false, isRedirected: false, redirectedFromTitle: "", redirectedFromId: "", closedStatusData: JSON.parse(""), userVoted: false, relations: JSON.parse("\"canClose\":false,\"canUnredirect\":false,\"canReport\":false,\"visibility\":\"full\",\"canEdit\":false,\"canUseDelete\":false,\"canReopen\":false,\"type\":\"question\",\"canVoteUpOrCancel\":false,\"canViewRevisions\":true,\"canUnlock\":false,\"reported\":false,\"canVoteDownOrCancel\":false,\"canLock\":false,\"canCancelReport\":false,\"canComment\":true,\"isCurrentUserAuthor\":false,\"canViewReports\":false"), isQuestionAccepted: true , childToViewInfo: id: "" , comments: JSON.parse("\"12600036\":\"rootParentId\":12600036,\"commentsCount\":1,\"comments\":[\"body\":\"The problem has also been reported to SAP for over a week now.. sigh.. not getting anywhere fast - hence my appeal to the community for some other ideas.\",\"author\":\"username\":\"former.member\",\"displayName\":\"Former Member\",\"groupIcons\":[],\"suspended\":true,\"isCurrentUser\":false,\"parentAuthor\":\"username\":\"sandra.rossi\",\"displayName\":\"Sandra Rossi\",\"groupIcons\":[],\"suspended\":false,\"isCurrentUser\":false,\"id\":12600522,\"creationDate\":1474277628000,\"activeRevisionId\":12863994,\"lastActivity\":1474277653000,\"parentId\":12600036,\"originalParentId\":12599777,\"likeCount\":0,\"visibility\":\"full\",\"depth\":0,\"attachments\":[],\"canVoteUpOrCancel\":false,\"relations\":\"canReport\":false,\"visibility\":\"full\",\"canEdit\":false,\"canUseDelete\":false,\"isLiked\":false,\"type\":\"comment\",\"canVoteUpOrCancel\":false,\"canConvertToAnswer\":false,\"canBeModerated\":false,\"canViewRevisions\":false,\"showInReply\":false,\"reported\":false,\"canCancelReport\":false,\"canDelete\":false,\"canVoteDownOrCancel\":false,\"canComment\":false,\"canViewReports\":false,\"isCurrentUserAuthor\":false,\"liked\":false,\"moderatorComment\":false],\"12600306\":\"rootParentId\":12600306,\"commentsCount\":3,\"comments\":[\"body\":\"\\\"save ... some diagnostic effort\\\" for the SAP support also ;-) (you should send them the URL to this thread BTW)\",\"author\":\"username\":\"sandra.rossi\",\"displayName\":\"Sandra Rossi\",\"groupIcons\":[],\"suspended\":false,\"isCurrentUser\":false,\"parentAuthor\":\"username\":\"former.member\",\"displayName\":\"Former Member\",\"groupIcons\":[],\"suspended\":true,\"isCurrentUser\":false,\"id\":12610052,\"creationDate\":1474804128000,\"activeRevisionId\":12871897,\"lastActivity\":1474804133000,\"parentId\":12609976,\"originalParentId\":12599777,\"likeCount\":0,\"visibility\":\"full\",\"depth\":0,\"attachments\":[],\"canVoteUpOrCancel\":false,\"relations\":\"canReport\":false,\"visibility\":\"full\",\"canEdit\":false,\"canUseDelete\":false,\"isLiked\":false,\"type\":\"comment\",\"canVoteUpOrCancel\":false,\"canConvertToAnswer\":false,\"canBeModerated\":false,\"canViewRevisions\":false,\"showInReply\":false,\"reported\":false,\"canCancelReport\":false,\"canDelete\":false,\"canVoteDownOrCancel\":false,\"canComment\":false,\"canViewReports\":false,\"isCurrentUserAuthor\":false,\"liked\":false,\"moderatorComment\":false]"), answerPager: answersCount: 2, page: 1, pageSize: 10, pageCount: 1, sort: "votes" , answers: JSON.parse("[\"body\":\"Hi Gary,sapftp is spawned as a child-process by the gateway process so should run under the same user as the gateway, which is usually the sapadm user of the R/3 system. This user should have write permission for the D:\\\\usr\\\\sap\\\\PRD directory, but the following looks strange to me: sapftp is trying to create a file with the name \\\"2\\\" in the directory \\\"D:\\\\usr\\\\sap\\\\PRD\\\\tmp \\\\\\\". (Note the three spaces at the end of \\\"tmp \\\"!) Obviously the subdirectory \\\"tmp \\\" does not exist inside D:\\\\usr\\\\sap\\\\PRD and therefore the operating system aborts the fopen command with standard Windows error message \\\"No such file or directory\\\".So where does this strange directory name come from? I checked ftpmain.c in the lines preceding 1608, and it is using the standard Windows function _tempnam(NULL, NUL) to create a unique temporary filename. The documentation of that function says, that _tempnam creates a filename in the directory given by the environment variable TMP, or -- if TMP is empty or invalid -- in the current working directory of the process.So the first thing I would check is the value of the environment variable TMP on the host where PRD is running (and also compare it with the value of that variable on the DEV and QA hosts). Perhaps there are three invisible spaces at the end of that value, which are causing the problem?! As a test you could also temporarily set the variable to \\\"C:\\\\Temp\\\" or some definitely existing directory. But I think you will need to restart at least the gateway process so that it picks up the changed environment.If that doesn't help, you could check the current working directory in which the sapftp process is started. It should be the same in which the gateway process (gwrd.exe) is running, so perhaps the gateway is started in some strange way?! It should usually run with a working directory as given by DIR_HOME (see AL11).Best Regards, Ulrich\",\"author\":\"username\":\"ulrich.schmidt\",\"displayName\":\"Ulrich Schmidt\",\"groupIcons\":[\"name\":\"topic-expert\",\"title\":\"This user is a Topic Expert\",\"priority\":19,\"name\":\"employee\",\"title\":\"This user is an SAP Employee\",\"priority\":21],\"suspended\":false,\"isCurrentUser\":false,\"id\":12600306,\"posted\":1474274695000,\"votes\":5,\"isAccepted\":true,\"isLocked\":false,\"userVoted\":\"\",\"relations\":\"score\":5,\"canCancelAccept\":false,\"canUnlock\":false,\"canUseDelete\":false,\"accepted\":true,\"canVoteDownOrCancel\":false,\"canLock\":false,\"canAccept\":false,\"type\":\"answer\",\"canVoteUpOrCancel\":false,\"isCurrentUserAuthor\":false,\"attachments\":[],\"body\":\"You should better report this problem to the SAP support.\",\"author\":\"username\":\"sandra.rossi\",\"displayName\":\"Sandra Rossi\",\"groupIcons\":[],\"suspended\":false,\"isCurrentUser\":false,\"id\":12600036,\"posted\":1474268064000,\"votes\":0,\"isAccepted\":false,\"isLocked\":false,\"userVoted\":\"\",\"relations\":\"canCancelAccept\":false,\"canUnlock\":false,\"canUseDelete\":false,\"canVoteDownOrCancel\":false,\"canLock\":false,\"canAccept\":false,\"type\":\"answer\",\"canVoteUpOrCancel\":false,\"isCurrentUserAuthor\":false,\"attachments\":[]]"), answerForm: formAction: "/answers/12599777/post.json", textareaName: "body", textareaErrors: "", isAttachmentsEnabled: true, answerEditorialGuideline: title: "Before answering", content: "You should only submit an answer when you are proposing a solution to the poster\'s problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that your answer complies with our Rules of Engagement.", links: [ title: "Rules of Engagement", href: " -of-engagement.html", ] , answerMinBodyLength: '10', answerMaxBodyLength: '20000' , currentUser: sapInternalId: '', permissions: canVoteUpOrCancel: false, canVoteDownOrCancel: false, canModerate: false, , isVotedUp: false, isVotedDown: false , alerts: alertModeratorMinLength : "It should be given a proper explanation about why the content is inappropriate.", alertModeratorMinLengthValue : "10", alreadyReportedMessage : "You already have an active moderator alert for this content." , url: profileApiBaseUrl: ' -api.services.sap.com', followUnfollowQuestion: '/sap/nodeSubscription.json', isFollowingQuestion: '/sap/isFollowingNode.json', vote: voteUp: '/commands/0/voteup.json', voteDown: '/commands/0/votedown.json', cancelVote: '/commands/0/cancelvote.json' , rss: answers: '/feed/12599777/answers.rss', answersAndComments: '/feed/12599777/comments-and-answers.rss' , authorizeUploadContext: type: 'answer' , atMention: userSearchServiceUrl: ' ', currentUserName: '', useNewUSSCORS: true, atMentionDelayMs: 100, showMentionInRedactor: true , attachmentSettings: commentMaxAttachments: '2', answerMaxAttachments: '10', commentMaxAttachmentSizeBytes: '1048576', answerMaxAttachmentSizeBytes: '1048576', commentAttachmentsSizeBytesTotal: '2097152', answerAttachmentsSizeBytesTotal: '10485760' , editor: editorClipboardUploadEnabled: true ) )(); Home
Community
Ask a Question
Write a Blog Post
Login / Sign-up Search Questions and Answers 0 Former Member Sep 19, 2016 at 03:26 AM SAPFTPA Error writing temporary file 966 Views Follow RSS Feed Dear Community, 2ff7e9595c
Comments