Using PowerShell to upload large files fails...?

DrewW
Mega Sage
Mega Sage

We have a custom app that people use to handle a process that involves PDF's coming in VIA fax.  On rare occasions those PDF's are over 500mb in size.  The way we get the files into the system is with a PowerShell script that basically runs every 20 minutes looking to see if there are any files in a folder on a remote system and if there are it uses the attachment API to push them into the system.

 

The issue we are running into is that for some reason any file over 500mb fails to upload.  If you attach it manually it works fine.  So I know our file sizes and other attachment settings in the system are set in a way that should allow the PowerShell script to do this.  I have read that PowerShell has a 500mb limit on XML files and a few other things and so I'm wondering if anyone has run into this issue and if so if they managed to find a solution.

 

Any help would be appreciated.

 

0 REPLIES 0