FTP the files in Netsuite file cabinet to any Server? - netsuite

I'm trying to FTP the Netsuite file cabinet (contract pdf files assoc with Customer) files to a server using C#. I couldn't found any API in C# to search the records in Netsuite. Is any other way to get the files from file cabinet through C#. Please help me to achieve it..

NetSuite in itself does not support FTP Protocol.
However, you can consume wsdl in C# and use SuiteTalk saved search APIs to pull file from NetSuite.
You may otherwise, write a RESTlet in NetSuite to return the files using saved search and pull that file in C# using HTTPS request. Beware, that if file is non-text the content would be received in base64 format.

Related

Graph API & Upload file to Sharepoint Document library

I try to upload files to sharepoint document library using the Graph API.
The request is : https://graph.microsoft.com/v1.0/drives/{{driveid}}/root:/myfolder/mydoc.pdf:/content
The request goes with bearer token and the binary file in the body.
The response is "201 Created" and all seems to be good.
But in the document library I can see the folder but there is no file at all.
(If I look at files in the sharepoint with GET request I can see the file !).
Can you help me to find why files are not visible in the sharepoint web view ?
I finally found the solution to my problem.
For the file to be visible by all users, you have to checkin the uploaded file with a POST request from the Graph API.

“The validation of the PDF file failed.” When trying to send a generated PDF via email - DocuSign

We have some code which downloads a PDF file from Google Drive using the Drive API, after that we use the file to build a new envelope and send it to the customer.
Using the same file, some of these requests work, and some come back with an error "PDF_VALIDATION_FAILED".
I have the log(file) file which contains the base64 of the file and the request information, using an external tool to convert the base64 to PDF it seems to be valid and also I tried to open the file using Adobe acrobat and the document appears fine.
Is there any documentation on what makes a pdf invalid?
Thanks in Advance
If you can upload the file to a DocuSign envelope using the DocuSign web app, but it doesn't work when you use the API:
If the file type is not pdf then include the file extension in the name attribute. Eg contract.docx. The fileExtension attribute is somethimes not used by the platform.
You have a problem with your Base64 encoding method. Modify one of the DocuSign code examples to send your file and it will work.

What are the possible ways to transfer a file of more than 100MB generated via shell script, to any URL or server?

I have a shell script written, which generates an excel file of more than 100MB. Now, I want to transfer the file or say upload the file to one URL which is online storage server. This server will generate a URL containing the file after uploading.
The question is if we are able to upload the file using "cURL" to any given URL, then how to get the generated URL from that web page??
The URL generated after uploading the file is dynamic. (Dropbox kind of storage)
If it is not possible to get that URL then how to transfer such a big file.
Note: It is kind of automation, so please answer keeping automation in mind.
Thank you in advance.

Creating Excel file in OneDrive

I'm trying to integrate with Microsoft OneDrive service. I read API docs and went throw Authorization. Unfortunatelly, there's no info in docs about creating different File types.
I created a .txt file using HTTP Requests as it's written here https://dev.onedrive.com/items/upload_put.htm .
When I'm trying to create an Excel file this way, it does, but the document doesn't open. I think I need to send some special params (metadata?) also, but I don't know which ones.
I would be very pleased for any help :)

how to fetch xls using google search appliance

I have used google search appliance in my application to search files.
I am able to search all files .However, i am not able to fetch xls file.
Search url for for same is:
GoogleSearch.html?
advanced=true&filter=0&requiredfields=&as_q=content&lr=&as_epq=&country=&as_eq=&unit=&committee=&sort=&function=&num=10&contenttype=&as_occt=any&as_filetype=xls&site=&Submit.x=91&Submit.y=15
You can take a look at the "Index diagnostic" page on the GSA Admin Console to confirm that those .xls files are actually stored in the index.

Resources