Home arrow Discussion Forum
psadmin.org
Welcome, Guest
Please Login or Register.    Lost Password?
Re:File Upload for Notes (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:File Upload for Notes
#73
Guest (Visitor)
Click here to see the profile of this user
Birthdate:
File Upload for Notes 2 Years, 3 Months ago  
I was trying to upload a Notes file for the order. The file size is very small. But still it fails with the error message addAttachment call failed after long time with the processing blinks.

Can you help me on how to fix it?
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
  Reply Quote
#84
PSADMIN (Admin)
Admin
Posts: 86
graph
User Online Now Click here to see the profile of this user
Re:File Upload for Notes 2 Years, 3 Months ago  
Check PeopleTools-->Utilities-->Administration-->URLs and select RO_NOTES_ATTACH url identifier and note down the url mentioned there.

Format is: ftp://userid:thepassword@ipaddress/path

Example: ftp://psdmo: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it /u01/ftp

If it is not in the format, then change it to this and try again. If it does not work, login to the server where you have application server installed and try to ftp a test file from the command line. If you are not able to do check the permission/ user id/password and ftp service running or not.
If you could do it and still you are not able to upload file, then enable trace and check the app server log or trace file, you will get the actual reason why it is not working.

Good luck.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
 
Last Edit: 2008/04/17 11:49 By PSADMIN.
  Reply Quote
#86
Guest (Visitor)
Click here to see the profile of this user
Birthdate:
Re:File Upload for Notes 2 Years, 3 Months ago  
Unfortunately I do not have access to the server. Is there a way I can test it before I ask the Admin to the server?
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
  Reply Quote
#87
PSADMIN (Admin)
Admin
Posts: 86
graph
User Online Now Click here to see the profile of this user
Re:File Upload for Notes 2 Years, 3 Months ago  
Yes you can. Navigate to

PeopleTools -> Utilities -> Debug -> People Tools Test Utility

and use the "File Attachment Test" to upload a test file and provide the user id password and ip and location with the format:
ftp://YourFTPUser:YourFTPPassword@YourComputerName/YourDirectoryPath

After the upload you should see the file there and it should allow you to delete also. Then it is fine, else contact the admin to fix.

Good Luck
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
 
Last Edit: 2008/04/15 09:22 By PSADMIN.
  Reply Quote
#88
Guest (Visitor)
Click here to see the profile of this user
Birthdate:
Re:File Upload for Notes 2 Years, 3 Months ago  
Thanks for the help. We found that there is some issue with the ftp port 21 and it was fixed by the admin.


Now I am able to upload the files and also test from People Tools Test Utility.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
  Reply Quote
#89
Surya (Visitor)
Click here to see the profile of this user
Birthdate:
Re:File Upload for Notes 2 Years, 3 Months ago  
Hi,

I also have the problem with file attachments. I set the URL and tested it from utilities. Works fine but the file does not upload to the folder mentioned. It is saved under a folder in web server and is a temp folder(deleted after a while).
Did anybody face this issue?
Thanks in advance.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
  Reply Quote
#90
PSADMIN (Admin)
Admin
Posts: 86
graph
User Online Now Click here to see the profile of this user
Re:File Upload for Notes 2 Years, 3 Months ago  
Are you having problem with the Notes attachment for Orders or any other place?

Did you check the RO_NOTES_ATTACH ftp configuration, if it is Notes attachment? For each type of attachment different confuguration.

Also does it give any error message when you attach the file from the utility and the actual page you are uploading?

If it just hangs and taking long time, then there might be some permission issue.

You can upload the error message in your response if you want to.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
 
Last Edit: 2008/04/17 08:26 By PSADMIN.
  Reply Quote
#91
Surya (Visitor)
Click here to see the profile of this user
Birthdate:
Re:File Upload for Notes 2 Years, 3 Months ago  
We are on 8.4 and trying to create a new page for uploads.
I do not get any error. I can attach it successfully and view it but the file is only in the webserver. It does not save in the directory in the URL. And after a while the file gets deleted from the webserver.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
  Reply Quote
#92
PSADMIN (Admin)
Admin
Posts: 86
graph
User Online Now Click here to see the profile of this user
Re:File Upload for Notes 2 Years, 3 Months ago  
Is the web server and the ftp server you have mentioned in the url setup the same?

If so, then tt looks like there is some process like cron running to clean up the folder. Check the crontab in your web server. Try to copy a file from other directories into the directory in concern with the cp command in the ftp server.

Unless the file is ftped to the ftp server, the page will not show you the file in the page, at least the delivered AddAttachment function in PeopleSoft.

You need to identify where the issue is:
1. It could be issue with the ftp server permissions
2. Or it could be with the custom page you are using. s the web server and the ftp server you have mentioned in the url setup the same?

If so, then tt looks like there is some process like cron running to clean up the folder. Check the crontab in your web server. Try to copy a file from other directories into the directory in concern with the cp command in the ftp server.

Unless the file is ftped to the ftp server, the page will not show you the file in the page, at least the delivered AddAttachment function in PeopleSoft.

You need to identify where the issue is:
1. It could be issue with the ftp server permissions
2. Or it could be with the custom page you are using. [Is the new page using the AddAttachment function?

Cheers
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
  Reply Quote
#93
Surya (Visitor)
Click here to see the profile of this user
Birthdate:
Re:File Upload for Notes 2 Years, 3 Months ago  
No the Webserver and FTP server are different. And I am not testing it on the new page. using peopletools->utilities to test if the setup is correct. How do I test the FTP permissions?
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
  Reply Quote
#95
PSADMIN (Admin)
Admin
Posts: 86
graph
User Online Now Click here to see the profile of this user
Re:File Upload for Notes 2 Years, 3 Months ago  
If you could see the file details in the utility page after upload as below then there is no issue with the ftp server or access.



If you do not see the details like this then the issue is with the ftp server. If you can see this and does not work in your page, then it is the issue with the page / code.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
 
Last Edit: 2008/04/17 18:38 By PSADMIN.
  Reply Quote
#98
Surya (Visitor)
Click here to see the profile of this user
Birthdate:
Re:File Upload for Notes 2 Years, 3 Months ago  
Thanks for helping me on this problem.

As I said it gets uploaded but I am not able to see the file in the folder where I mentioned. It is saved in the temp dir in web server and gets deleted after a while. As mentioned in the architecture it does the below part. but does continue from web server to app server and then to file server.

The general flow is as follows:

Browser <---> Web Server <---> Application Server <---> Data Storage System

The Browser <--> Web Server transfer is done using a standard HTML form construct. This can be done securely in an encrypted fashion if the web server uses SSL to communicate to the browser. After the file is received at the Web Server, it's stored in a temporary directory for transfer to either the browser (view operation) or the application server (attach operation). After the transfer is complete, the file is deleted.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
  Reply Quote
#99
PSADMIN (Admin)
Admin
Posts: 86
graph
User Online Now Click here to see the profile of this user
Re:File Upload for Notes 2 Years, 3 Months ago  
If you confirm that you could see the file name and three buttons like in the screenshot I enclosed, "testattach.txt" and buttons "View", "Delete" and "Detach", I can tell you where the issue is.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
  Reply Quote
#101
Surya (Visitor)
Click here to see the profile of this user
Birthdate:
Re:File Upload for Notes 2 Years, 3 Months ago  
Yes, I can see the file name and can view the file by clicking the view button. View and Delete button are visible. No Detach button I guess because we are on 8.4.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
  Reply Quote
#102
PSADMIN (Admin)
Admin
Posts: 86
graph
User Online Now Click here to see the profile of this user
Re:File Upload for Notes 2 Years, 3 Months ago  
It looks like it is doing as it is suppose to be. The file gets stored in web server / app server box temporarily before going to the ftp server.

When you DELETE the file with the DELETE button, the file in the ftp server should get deleted. It does not matter if it is in the temp directories.

But the file should have been stored in the final ftp directory you have mentioned in the FTP SITE for the utility. If the file is not able to reach the ftp server, then it would error out or it will not show you the file in the page.

Once you delete it you will not be able to see the file even if it is still there in the temp directory of web server or app server.

Which means that there is no issue with the FTP SERVER or permission with the user id / password. To prove this just give a wrong password for the FTP site intentionally and you will not see the file and other buttons in the page or you will get some error message.

Note the ftp server is the server you mention in the url setup. This can be different from the file server for the application in general.

Here there are a few PeopleSoft functions used:


    1. AddAttachment
    2. PutAttachment
    3. ViewAttachment
    4. GetAttachment
    5. DeleteAttachment


I recommend that you to go through the People Books about these functions on how they are used.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
 
Last Edit: 2008/04/18 15:53 By PSADMIN.
  Reply Quote
Go to top Post Reply
Powered by PsAdmin.orgget the latest posts directly to your desktop
© 2010 PSADMIN.org
PSAdmin.org is for & by the PeopleSoft Administrators to share their Experience.